WARPXM v1.10.0
Loading...
Searching...
No Matches
examples.dg.5-moment.rp1 Namespace Reference

Variables

str torder = 'SSPRK3'
 
str sorder = 'thirdOrder'
 
float cfl = 0.1
 
float gamma = 1.4
 
float limiter_alpha_coefficient = 5.0
 
bool use_limiter = True
 
warpy mesh
 
warpy fluid
 
warpy shock_tube_function
 
warpy shock_tube_function_va
 
list applicators = []
 
list solver_apps = []
 
list boundary_condition_apps = []
 
list limiter_apps = []
 
warpy writer = warpy.host_actions.writer(name='writer', ReadVars=[fluid])
 
warpy spatial_solver
 
list variable_adjusters = []
 
warpy time_integrator = warpy.host_actions.erk(name="ti", scheme=torder, spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters)
 
int dt = 1e-6
 
int nout = 100
 
warpy dt_controller = warpy.dt_calc.stability_dt(init_dt=dt)
 
warpy sim
 
datetime now = datetime.datetime.now()
 
 gen_xdmf
 
 True
 
 detect_nonscalar
 

Variable Documentation

◆ applicators

list examples.dg.5-moment.rp1.applicators = []

◆ boundary_condition_apps

list examples.dg.5-moment.rp1.boundary_condition_apps = []

◆ cfl

float examples.dg.5-moment.rp1.cfl = 0.1

◆ detect_nonscalar

examples.dg.5-moment.rp1.detect_nonscalar

◆ dt

int examples.dg.5-moment.rp1.dt = 1e-6

◆ dt_controller

warpy examples.dg.5-moment.rp1.dt_controller = warpy.dt_calc.stability_dt(init_dt=dt)

◆ fluid

warpy examples.dg.5-moment.rp1.fluid
Initial value:
1= warpy.variable(name='fluid',
2 components=['rho', 'px', 'py', 'pz', 'e'],
3 basis_array_set=sorder)
Definition: variable.py:4

◆ gamma

float examples.dg.5-moment.rp1.gamma = 1.4

◆ gen_xdmf

examples.dg.5-moment.rp1.gen_xdmf

◆ limiter_alpha_coefficient

float examples.dg.5-moment.rp1.limiter_alpha_coefficient = 5.0

◆ limiter_apps

list examples.dg.5-moment.rp1.limiter_apps = []

◆ mesh

warpy examples.dg.5-moment.rp1.mesh
Initial value:
1= warpy.mesh.block(Bounds=[-0.5, 0.5,-0.5,0.5],
2 NumCells=[400,400],
3 NodeSets=['Left', 'Right','Top','Bottom'],
4 block_type="symmetric",
5 NumLayers=1,
6 basis_array_set=sorder)
block mesh generator
Definition: mesh.py:87

◆ nout

int examples.dg.5-moment.rp1.nout = 100

◆ now

datetime examples.dg.5-moment.rp1.now = datetime.datetime.now()

◆ shock_tube_function

warpy examples.dg.5-moment.rp1.shock_tube_function
Initial value:
2 gamma=gamma,
3 fluid=fluid)
Function which sets 5-moment fluid RP1 problem as defined in: "A Simple and Effictive High-Order Shoc...
Definition: five_moment.py:107

◆ shock_tube_function_va

warpy examples.dg.5-moment.rp1.shock_tube_function_va
Initial value:
2 priority=0,
3 spatial_order=sorder,
4 on_subdomains=["all"],
5 applications=[shock_tube_function])
function evaluator
Definition: function_evaluation.py:4

◆ sim

warpy examples.dg.5-moment.rp1.sim
Initial value:
1= warpy.dg_sim(name='test',
2 meshes=[mesh],
3 initial_conditions=applicators,
4 temporal_solvers=[time_integrator],
5 writers=[writer],
6 # time=[0,dt*nout],
7 time=[0,1.0],
8 dt_controller = dt_controller,
9 flexible_writeout=True,
10 write_steps=nout,
11 verbosity='info')
Discontinuous finite element RK simulation.
Definition: dg_sim.py:11

◆ solver_apps

list examples.dg.5-moment.rp1.solver_apps = []

◆ sorder

str examples.dg.5-moment.rp1.sorder = 'thirdOrder'

◆ spatial_solver

warpy examples.dg.5-moment.rp1.spatial_solver
Initial value:
1= warpy.spatial_solvers.dg(name="dg",
2 spatial_order=sorder,
3 applications=solver_apps,
4 cfl = cfl)

◆ time_integrator

warpy examples.dg.5-moment.rp1.time_integrator = warpy.host_actions.erk(name="ti", scheme=torder, spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters)

◆ torder

str examples.dg.5-moment.rp1.torder = 'SSPRK3'

◆ True

examples.dg.5-moment.rp1.True

◆ use_limiter

bool examples.dg.5-moment.rp1.use_limiter = True

◆ variable_adjusters

list examples.dg.5-moment.rp1.variable_adjusters = []

◆ writer

warpy examples.dg.5-moment.rp1.writer = warpy.host_actions.writer(name='writer', ReadVars=[fluid])