WARPXM v1.10.0
Loading...
Searching...
No Matches
warpy.fvm_sim.fvm_sim Class Reference

Higher order FVM K-Exact reconstruction RK simulation. More...

Inheritance diagram for warpy.fvm_sim.fvm_sim:
warpy.simulation.simulation

Detailed Description

Higher order FVM K-Exact reconstruction RK simulation.

Public Member Functions

def __init__ (self, name, torder, sorder, meshes, initial_conditions, boundary_conditions, writers, subsolver_sets, time=[0., 1.], dt=1e-2, write_steps=1, cfl_max=1, fixed_dt=False, limiter=None, no_limiter=None, subdomains=['all'], verbosity='info', global_verbosity='info', smoothness_cutoff=0., flux_nonlinearity=None, source_nonlinearity=None, stencil_size=None)
 Generator for a finite volume simulation in WARPXM.
 
- Public Member Functions inherited from warpy.simulation.simulation
def __init__ (self, name, meshes, solver_sequence, dt_controller, time=[0., 1.], write_steps=1, cfl_max=1, flexible_writeout=False, global_verbosity='info', verbosity='info', variables=[], num_partitions=1, enable_fpe=True, copy_other_files=[])
 
def generate (self)
 
def __str__ (self)
 
def write (self, f=None)
 Writes this simulation input file to disk.
 
def run (self, category, local_path=None, site_path='warpy_config.py', wxm_args=[], gen_xdmf=True, detect_nonscalar=True, sim_param=None)
 runs this simulation.
 
def setup_sim (self, category, local_path=None, site_path='warpy_config.py', wxm_args=[], sim_param=None)
 Setups the simulation run directory.
 
def gen_xdmf (self, category, local_path=None, site_path='warpy_config.py', detect_nonscalar=True)
 

Public Attributes

 limiter
 
 subdomains
 
 subsolver_sets
 
 initial_conditions
 
 boundary_conditions
 
 writers
 
 torder
 
 sorder
 
 smoothness_cutoff
 
- Public Attributes inherited from warpy.simulation.simulation
 name
 
 meshes
 
 root
 
 cfl_max
 
 dt_controller
 
 solver_sequence
 
 seq_groups
 
 h_acts
 
 variables
 
 copy_other_files
 

Constructor & Destructor Documentation

◆ __init__()

def warpy.fvm_sim.fvm_sim.__init__ (   self,
  name,
  torder,
  sorder,
  meshes,
  initial_conditions,
  boundary_conditions,
  writers,
  subsolver_sets,
  time = [0., 1.],
  dt = 1e-2,
  write_steps = 1,
  cfl_max = 1,
  fixed_dt = False,
  limiter = None,
  no_limiter = None,
  subdomains = ['all'],
  verbosity = 'info',
  global_verbosity = 'info',
  smoothness_cutoff = 0.,
  flux_nonlinearity = None,
  source_nonlinearity = None,
  stencil_size = None 
)

Generator for a finite volume simulation in WARPXM.

Variables are detected from given

Parameters
namerun name
tordertemporal order
sorderspatial order
meshes
initial_conditions
boundary_conditions
writers
subsolver_sets
timestart/stop simulation time
write_stepstotal number of output file time steps to write
dtinitial time step
write_steps
cfl_max
fixed_dtTrue to use fixed time stepping
limiter
no_limiter
subdomains
global_verbosityinfo, debug
verbosityinfo, debug
SmoothnessCutoff

Reimplemented from warpy.simulation.simulation.

Member Data Documentation

◆ boundary_conditions

warpy.fvm_sim.fvm_sim.boundary_conditions

◆ initial_conditions

warpy.fvm_sim.fvm_sim.initial_conditions

◆ limiter

warpy.fvm_sim.fvm_sim.limiter

◆ smoothness_cutoff

warpy.fvm_sim.fvm_sim.smoothness_cutoff

◆ sorder

warpy.fvm_sim.fvm_sim.sorder

◆ subdomains

warpy.fvm_sim.fvm_sim.subdomains

◆ subsolver_sets

warpy.fvm_sim.fvm_sim.subsolver_sets

◆ torder

warpy.fvm_sim.fvm_sim.torder

◆ writers

warpy.fvm_sim.fvm_sim.writers

The documentation for this class was generated from the following file: