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

Variables

str torder = 'TVDRK2'
 
str sorder = 'secondOrder'
 
float cfl = 0.9
 
float gamma = 1.4
 
float limiter_alpha_coefficient = 0.0
 
bool use_limiter = True
 
float density_min = 0.01
 
float pressure_min = 0.01
 
warpy mesh
 
warpy fluid
 
warpy shock_tube_function
 
warpy shock_tube_function_va
 
list applicators = []
 
list solver_apps = []
 
list boundary_condition_apps = []
 
float rhoin = gamma
 
float pxin = 3.0*rhoin
 
float pyin = 0.0
 
float pzin = 0.0
 
float pressurein = 1.0
 
float energyin = pressurein/(gamma-1) + 1.0/2.0*(pxin**2 + pyin**2 + pzin**2)/rhoin
 
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.fixed_dt(init_dt=0.00134634557913)
 
warpy sim
 
datetime now = datetime.datetime.now()
 
 gen_xdmf
 
 True
 
 detect_nonscalar
 

Variable Documentation

◆ applicators

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

◆ boundary_condition_apps

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

◆ cfl

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

◆ density_min

float examples.dg.5-moment.forward_facing_step.density_min = 0.01

◆ detect_nonscalar

examples.dg.5-moment.forward_facing_step.detect_nonscalar

◆ dt

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

◆ dt_controller

warpy examples.dg.5-moment.forward_facing_step.dt_controller = warpy.dt_calc.fixed_dt(init_dt=0.00134634557913)

◆ energyin

float examples.dg.5-moment.forward_facing_step.energyin = pressurein/(gamma-1) + 1.0/2.0*(pxin**2 + pyin**2 + pzin**2)/rhoin

◆ fluid

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

◆ gen_xdmf

examples.dg.5-moment.forward_facing_step.gen_xdmf

◆ limiter_alpha_coefficient

float examples.dg.5-moment.forward_facing_step.limiter_alpha_coefficient = 0.0

◆ limiter_apps

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

◆ mesh

warpy examples.dg.5-moment.forward_facing_step.mesh
Initial value:
2 # MeshFile = "fstepA001.neu",
3 # MeshFile = "FS_949.neu",
4 # MeshFile = "forward3A00004.neu",
5 # MeshFile = "iman_step.inp",
6 MeshFile = "iman_step_coarse.inp",
7 NumLayers = 1,
8 # PeriodicBoundaries=['Wall', 'Inflow', 'Outflow'],
9 basis_array_set =sorder
10 )
general unstructured mesh
Definition: mesh.py:56

◆ nout

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

◆ now

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

◆ pressure_min

float examples.dg.5-moment.forward_facing_step.pressure_min = 0.01

◆ pressurein

float examples.dg.5-moment.forward_facing_step.pressurein = 1.0

◆ pxin

float examples.dg.5-moment.forward_facing_step.pxin = 3.0*rhoin

◆ pyin

float examples.dg.5-moment.forward_facing_step.pyin = 0.0

◆ pzin

float examples.dg.5-moment.forward_facing_step.pzin = 0.0

◆ rhoin

float examples.dg.5-moment.forward_facing_step.rhoin = gamma

◆ shock_tube_function

warpy examples.dg.5-moment.forward_facing_step.shock_tube_function
Initial value:
2 gamma=gamma,
3 fluid=fluid)
Function which sets 5-moment fluid forward facing step problem as defined in: "Hesthaven pg 233.
Definition: five_moment.py:86

◆ shock_tube_function_va

warpy examples.dg.5-moment.forward_facing_step.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.forward_facing_step.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,4.0],
8 # time=[0,0.25],
9 dt_controller = dt_controller,
10 flexible_writeout=True,
11 write_steps=nout,
12 verbosity='debug',
13 enable_fpe=True,
14 num_partitions=1)
Discontinuous finite element RK simulation.
Definition: dg_sim.py:11

◆ solver_apps

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

◆ sorder

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

◆ spatial_solver

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

◆ torder

str examples.dg.5-moment.forward_facing_step.torder = 'TVDRK2'

◆ True

examples.dg.5-moment.forward_facing_step.True

◆ use_limiter

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

◆ variable_adjusters

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

◆ writer

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