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

Variables

str torder = 'RK4'
 
str sorder = 'secondOrder'
 
float cfl = 0.9
 
float gamma = 1.4
 
float epsilon = 0.2
 
float limiter_alpha_coefficient = 5.0
 
bool use_limiter = True
 
warpy mesh
 
warpy fluid
 
warpy shock_tube_function
 
warpy ic_va
 
warpy ic_ha
 
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

◆ boundary_condition_apps

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

◆ cfl

float examples.dg.5-moment.shock_entropy_problem.cfl = 0.9

◆ detect_nonscalar

examples.dg.5-moment.shock_entropy_problem.detect_nonscalar

◆ dt

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

◆ dt_controller

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

◆ epsilon

float examples.dg.5-moment.shock_entropy_problem.epsilon = 0.2

◆ fluid

warpy examples.dg.5-moment.shock_entropy_problem.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.shock_entropy_problem.gamma = 1.4

◆ gen_xdmf

examples.dg.5-moment.shock_entropy_problem.gen_xdmf

◆ ic_ha

warpy examples.dg.5-moment.shock_entropy_problem.ic_ha
Initial value:
1= warpy.host_actions.va_runner(name = 'ic_ha',
2 variable_adjusters=[ic_va])
Runs a list of host actions.
Definition: va_runner.py:5

◆ ic_va

warpy examples.dg.5-moment.shock_entropy_problem.ic_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

◆ limiter_alpha_coefficient

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

◆ limiter_apps

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

◆ mesh

warpy examples.dg.5-moment.shock_entropy_problem.mesh
Initial value:
1= warpy.mesh.block(Bounds=[-5, 5],
2 NumCells=[200],
3 NodeSets=['Left', 'Right'],
4 NumLayers=1,
5 basis_array_set=sorder)
block mesh generator
Definition: mesh.py:87

◆ nout

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

◆ now

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

◆ shock_tube_function

warpy examples.dg.5-moment.shock_entropy_problem.shock_tube_function
Initial value:
2 gamma=gamma,
3 fluid=fluid,
4 epsilon=epsilon)
Function which sets 5-moment fluid to shock tube conditions for shock entropy problem as described by...
Definition: five_moment.py:65

◆ sim

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

◆ solver_apps

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

◆ sorder

str examples.dg.5-moment.shock_entropy_problem.sorder = 'secondOrder'

◆ spatial_solver

warpy examples.dg.5-moment.shock_entropy_problem.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.shock_entropy_problem.time_integrator = warpy.host_actions.erk(name="ti", scheme=torder, spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters)

◆ torder

str examples.dg.5-moment.shock_entropy_problem.torder = 'RK4'

◆ True

examples.dg.5-moment.shock_entropy_problem.True

◆ use_limiter

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

◆ variable_adjusters

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

◆ writer

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