WARPXM v1.10.0
|
Higher order FVM K-Exact reconstruction RK simulation. More...
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 | |
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
name | run name |
torder | temporal order |
sorder | spatial order |
meshes | |
initial_conditions | |
boundary_conditions | |
writers | |
subsolver_sets | |
time | start/stop simulation time |
write_steps | total number of output file time steps to write |
dt | initial time step |
write_steps | |
cfl_max | |
fixed_dt | True to use fixed time stepping |
limiter | |
no_limiter | |
subdomains | |
global_verbosity | info, debug |
verbosity | info, debug |
SmoothnessCutoff |
Reimplemented from warpy.simulation.simulation.
warpy.fvm_sim.fvm_sim.boundary_conditions |
warpy.fvm_sim.fvm_sim.initial_conditions |
warpy.fvm_sim.fvm_sim.limiter |
warpy.fvm_sim.fvm_sim.smoothness_cutoff |
warpy.fvm_sim.fvm_sim.sorder |
warpy.fvm_sim.fvm_sim.subdomains |
warpy.fvm_sim.fvm_sim.subsolver_sets |
warpy.fvm_sim.fvm_sim.torder |
warpy.fvm_sim.fvm_sim.writers |