WARPXM v1.10.0
Loading...
Searching...
No Matches
shock_tube.py File Reference

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.13-moment
 
namespace  examples.dg.13-moment.shock_tube
 

Variables

str examples.dg.13-moment.shock_tube.torder = 'SSPRK3'
 
str examples.dg.13-moment.shock_tube.sorder = 'secondOrder'
 
float examples.dg.13-moment.shock_tube.mass = 1.0
 
float examples.dg.13-moment.shock_tube.charge = 1.0
 
int examples.dg.13-moment.shock_tube.nu_p_tau = 1.e4
 
float examples.dg.13-moment.shock_tube.P = 1.0
 
float examples.dg.13-moment.shock_tube.n = 1.0
 
float examples.dg.13-moment.shock_tube.jump = 0.9
 
warpy examples.dg.13-moment.shock_tube.mesh = warpy.mesh.block(Bounds=[-0.5, 0.5],NumCells=[128],NodeSets=['Left', 'Right'],NumLayers=2,basis_array_set=sorder)
 
warpy examples.dg.13-moment.shock_tube.fluid = warpy.variable(name='fluid', components=['rho', 'px', 'py', 'pz', 'exx', 'exy', 'exz', 'eyy', 'eyz', 'ezz', 'Hx', 'Hy', 'Hz'],basis_array_set=sorder)
 
warpy examples.dg.13-moment.shock_tube.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 examples.dg.13-moment.shock_tube.shock_tube_function = warpy.functions.shock_tube_13moment(name='shock_tube', transition_width=0.1)
 
list examples.dg.13-moment.shock_tube.applicators = []
 
list examples.dg.13-moment.shock_tube.apps = []
 
warpy examples.dg.13-moment.shock_tube.writer = warpy.host_actions.writer(name='writer', ReadVars=[fluid, fluid_gradient])
 
warpy examples.dg.13-moment.shock_tube.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps)
 
warpy examples.dg.13-moment.shock_tube.temporal_solver = warpy.temporal_solvers.rk(name="rk", scheme=torder)
 
list examples.dg.13-moment.shock_tube.variable_adjusters = []
 
warpy examples.dg.13-moment.shock_tube.time_integrator = warpy.host_actions.time_integrator(name="ti", temporal_solver=temporal_solver, spatial_solver=spatial_solver, variable_adjusters=variable_adjusters)
 
warpy examples.dg.13-moment.shock_tube.sim = warpy.dg_sim(name='shock_tube',meshes=[mesh],initial_conditions=applicators,time_integrators=[time_integrator],writers=[writer],time=[0,0.12],dt = 1.e-5,fixed_dt=True,write_steps=100,verbosity='info')
 
 examples.dg.13-moment.shock_tube.gen_xdmf
 
 examples.dg.13-moment.shock_tube.True
 
 examples.dg.13-moment.shock_tube.detect_nonscalar