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

Variables

str torder = 'TVDRK2'
 
str sorder = 'secondOrder'
 
float mass = 1.0
 
float charge = 1.0
 
float nu_p_tau = 10.0
 
int gamma = 5./3.
 
float wall_velocity = 0.001
 
list wall_velocity_vector_left = [0.0,-wall_velocity,0.0]
 
list wall_velocity_vector_right = [0.0,wall_velocity,0.0]
 
str gradient_method = "ip"
 
None penalty_beta = None
 
float penalty_eta = 1.0
 
warpy mesh
 
warpy fluid = warpy.variable(name='fluid', components=['rho', 'px', 'py', 'pz', 'e'],basis_array_set=sorder)
 
warpy fluid_gradient = warpy.variable(name='fluid_gradient', components=[prefix+"_"+suffix for prefix in fluid.components() for suffix in ['x','y','z']],basis_array_set=sorder)
 
warpy fluid_gradient2 = warpy.variable(name='fluid_gradient2', components=[prefix+"_"+suffix for prefix in fluid.components() for suffix in ['x','y','z']],basis_array_set=sorder)
 
warpy couette_function
 
list applicators = []
 
list apps = []
 
list dirichlet_apps = []
 
list neumann_apps = []
 
list variable_adjusters = []
 
warpy spatial_solver
 
warpy time_integrator
 
warpy dt_controller = warpy.dt_calc.fixed_dt(init_dt=1E-5)
 
warpy writer
 
 else :
 
warpy sim
 
 gen_xdmf
 
 True
 
 detect_nonscalar
 

Variable Documentation

◆ applicators

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

◆ apps

list examples.dg.5-moment.couette_flow.apps = []

◆ charge

float examples.dg.5-moment.couette_flow.charge = 1.0

◆ couette_function

warpy examples.dg.5-moment.couette_flow.couette_function
Initial value:
1= warpy.functions.couette_flow_5moment(name='couette_flow',
2 density = 1.0,
3 pressure=1.0,
4 transition_aspect=0.5,
5 width=1.0,
6 gamma=gamma,
7 wall_velocity=wall_velocity)
Initializes a 5 momment.
Definition: couette_flow.py:4

◆ detect_nonscalar

examples.dg.5-moment.couette_flow.detect_nonscalar

◆ dirichlet_apps

list examples.dg.5-moment.couette_flow.dirichlet_apps = []

◆ dt_controller

warpy examples.dg.5-moment.couette_flow.dt_controller = warpy.dt_calc.fixed_dt(init_dt=1E-5)

◆ else

examples.dg.5-moment.couette_flow.else :

◆ fluid

warpy examples.dg.5-moment.couette_flow.fluid = warpy.variable(name='fluid', components=['rho', 'px', 'py', 'pz', 'e'],basis_array_set=sorder)

◆ fluid_gradient

warpy examples.dg.5-moment.couette_flow.fluid_gradient = warpy.variable(name='fluid_gradient', components=[prefix+"_"+suffix for prefix in fluid.components() for suffix in ['x','y','z']],basis_array_set=sorder)

◆ fluid_gradient2

warpy examples.dg.5-moment.couette_flow.fluid_gradient2 = warpy.variable(name='fluid_gradient2', components=[prefix+"_"+suffix for prefix in fluid.components() for suffix in ['x','y','z']],basis_array_set=sorder)

◆ gamma

int examples.dg.5-moment.couette_flow.gamma = 5./3.

◆ gen_xdmf

examples.dg.5-moment.couette_flow.gen_xdmf

◆ gradient_method

str examples.dg.5-moment.couette_flow.gradient_method = "ip"

◆ mass

float examples.dg.5-moment.couette_flow.mass = 1.0

◆ mesh

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

◆ neumann_apps

list examples.dg.5-moment.couette_flow.neumann_apps = []

◆ nu_p_tau

float examples.dg.5-moment.couette_flow.nu_p_tau = 10.0

◆ penalty_beta

None examples.dg.5-moment.couette_flow.penalty_beta = None

◆ penalty_eta

float examples.dg.5-moment.couette_flow.penalty_eta = 1.0

◆ sim

warpy examples.dg.5-moment.couette_flow.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,1.e0],
7 dt_controller=dt_controller,
8 write_steps=100,
9 verbosity='info')
Discontinuous finite element RK simulation.
Definition: dg_sim.py:11

◆ sorder

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

◆ spatial_solver

warpy examples.dg.5-moment.couette_flow.spatial_solver
Initial value:
1= warpy.spatial_solvers.dg(name="dg",
2 spatial_order=sorder,
3 applications=apps,
4 penalty_beta=penalty_beta,
5 penalty_eta=penalty_eta)

◆ time_integrator

warpy examples.dg.5-moment.couette_flow.time_integrator
Initial value:
1= warpy.host_actions.erk(name="ti",
2 scheme=torder,
3 spatial_solvers=[spatial_solver],
4 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.couette_flow.torder = 'TVDRK2'

◆ True

examples.dg.5-moment.couette_flow.True

◆ variable_adjusters

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

◆ wall_velocity

float examples.dg.5-moment.couette_flow.wall_velocity = 0.001

◆ wall_velocity_vector_left

list examples.dg.5-moment.couette_flow.wall_velocity_vector_left = [0.0,-wall_velocity,0.0]

◆ wall_velocity_vector_right

list examples.dg.5-moment.couette_flow.wall_velocity_vector_right = [0.0,wall_velocity,0.0]

◆ writer

warpy examples.dg.5-moment.couette_flow.writer
Initial value:
1= warpy.host_actions.writer(name='writer',
2 ReadVars=[fluid,
3 fluid_gradient,
4 fluid_gradient2])
Writes out a list of variables.
Definition: writer.py:4