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

Variables

str torder = 'RK1'
 
str sorder = 'firstOrder'
 
float cfl = 0.9
 
float gamma = 1.4
 
float limiter_alpha_coefficient = 0.0
 
bool use_limiter = False
 
float density_min = 0.01
 
float pressure_min = 0.01
 
warpy mesh
 
warpy fluid
 
tuple ic_function
 
list applicators = []
 
list solver_apps = []
 
list boundary_condition_apps = []
 
float rhoin = 1.0
 
float pxin = 5.0
 
float pyin = 0.0
 
float pzin = 0.0
 
float pressurein = 1.0
 
float energyin = pressurein/(gamma-1)
 
float inject_fac = 10.0
 
list limiter_apps = []
 
warpy writer = warpy.host_actions.writer(name='writer', ReadVars=[fluid])
 
warpy spatial_solver
 
list variable_adjusters = []
 
warpy time_integrator
 
int dt = 1e-4
 
int nout = 60
 
warpy dt_controller = warpy.dt_calc.fixed_dt(init_dt=dt)
 
warpy sim
 
 gen_xdmf
 
 True
 
 detect_nonscalar
 

Variable Documentation

◆ applicators

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

◆ boundary_condition_apps

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

◆ cfl

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

◆ density_min

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

◆ detect_nonscalar

examples.dg.5-moment.flow.detect_nonscalar

◆ dt

int examples.dg.5-moment.flow.dt = 1e-4

◆ dt_controller

warpy examples.dg.5-moment.flow.dt_controller = warpy.dt_calc.fixed_dt(init_dt=dt)

◆ energyin

float examples.dg.5-moment.flow.energyin = pressurein/(gamma-1)

◆ fluid

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

◆ gen_xdmf

examples.dg.5-moment.flow.gen_xdmf

◆ ic_function

tuple examples.dg.5-moment.flow.ic_function
Initial value:
1= (
2 warpy.functions.flow_5moment(name='ic_flow',gamma=gamma))

◆ inject_fac

float examples.dg.5-moment.flow.inject_fac = 10.0

◆ limiter_alpha_coefficient

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

◆ limiter_apps

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

◆ mesh

warpy examples.dg.5-moment.flow.mesh
Initial value:
1= warpy.mesh.block(Bounds=[0.0, 1.0, 0.0, 0.2],
2 # NumCells=[150,30],
3 NumCells=[250,50],
4 NodeSets=['leftWall','rightWall','bottomWall','topWall'],
5 NumLayers=1,
6 # PeriodicBoundaries = ['bottomWall', 'topWall'],
7 # PeriodicBoundaries = ['leftWall', 'rightWall'],
8 #PeriodicBoundaries =
9 #['leftWall','rightWall', 'bottomWall', 'topWall'],
10 basis_array_set=sorder,
11 block_type="symmetric")
block mesh generator
Definition: mesh.py:87

◆ nout

int examples.dg.5-moment.flow.nout = 60

◆ pressure_min

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

◆ pressurein

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

◆ pxin

float examples.dg.5-moment.flow.pxin = 5.0

◆ pyin

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

◆ pzin

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

◆ rhoin

float examples.dg.5-moment.flow.rhoin = 1.0

◆ sim

warpy examples.dg.5-moment.flow.sim
Initial value:
1= warpy.dg_sim(name='r02d',
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.8],
9 dt_controller = dt_controller,
10 flexible_writeout=True,
11 write_steps=nout,
12 verbosity='info',
13 enable_fpe=True,
14 num_partitions=2)
Discontinuous finite element RK simulation.
Definition: dg_sim.py:11

◆ solver_apps

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

◆ sorder

str examples.dg.5-moment.flow.sorder = 'firstOrder'

◆ spatial_solver

warpy examples.dg.5-moment.flow.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.flow.time_integrator
Initial value:
1= warpy.host_actions.erk(name="ti", scheme=torder,
2 spatial_solvers=[spatial_solver],
3 variable_adjusters=variable_adjusters)
Explicit Runge-Kutta temporal solver Note: Dormand45 currently will not work correctly with limiters ...
Definition: erk.py:5

◆ torder

str examples.dg.5-moment.flow.torder = 'RK1'

◆ True

examples.dg.5-moment.flow.True

◆ use_limiter

bool examples.dg.5-moment.flow.use_limiter = False

◆ variable_adjusters

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

◆ writer

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