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

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.mhd
 
namespace  examples.dg.mhd.dai_woodward_shocktube
 

Variables

str examples.dg.mhd.dai_woodward_shocktube.torder = 'RK4'
 
str examples.dg.mhd.dai_woodward_shocktube.sorder = 'secondOrder'
 
float examples.dg.mhd.dai_woodward_shocktube.gamma = 5.0/3.0
 
bool examples.dg.mhd.dai_woodward_shocktube.useLimiter = True
 
bool examples.dg.mhd.dai_woodward_shocktube.always_limit = True
 
str examples.dg.mhd.dai_woodward_shocktube.numerical_flux_type = "Roe"
 
float examples.dg.mhd.dai_woodward_shocktube.cfl = 0.8
 
warpy examples.dg.mhd.dai_woodward_shocktube.mesh = warpy.mesh.block(Bounds=[-.5, .5],NumCells=[512],NodeSets=['leftWall', 'rightWall'],NumLayers=1,basis_array_set=sorder)
 
list examples.dg.mhd.dai_woodward_shocktube.component_names = ['rho', 'px', 'py', 'pz', 'e', 'Bx', 'By', 'Bz']
 
warpy examples.dg.mhd.dai_woodward_shocktube.fluid = warpy.variable(name='fluid',components=component_names,basis_array_set=sorder)
 
list examples.dg.mhd.dai_woodward_shocktube.gradient_component_names = [prefix+"_"+suffix for prefix in component_names for suffix in ['x','y','z']]
 
warpy examples.dg.mhd.dai_woodward_shocktube.fluid_gradient = warpy.variable(name='fluid_gradient', components=gradient_component_names,basis_array_set=sorder)
 
warpy examples.dg.mhd.dai_woodward_shocktube.daiwoodward_ic = warpy.functions.daiwoodward_mhd(name='daiwoodward_ic',gamma=gamma,transition_width=0.0)
 
list examples.dg.mhd.dai_woodward_shocktube.ic_applicators = [warpy.applicator(spatial_order=sorder,fun=daiwoodward_ic,var=fluid,components=None,spatial_scheme='Nodal')]
 
list examples.dg.mhd.dai_woodward_shocktube.apps = []
 
list examples.dg.mhd.dai_woodward_shocktube.bc_apps = []
 
list examples.dg.mhd.dai_woodward_shocktube.bc_apps_copyout = []
 
list examples.dg.mhd.dai_woodward_shocktube.bc_apps_dirichlet = []
 
list examples.dg.mhd.dai_woodward_shocktube.rho = [1.08,1.0]
 
list examples.dg.mhd.dai_woodward_shocktube.pressure = [0.95,1.0]
 
list examples.dg.mhd.dai_woodward_shocktube.vx = [1.2,0.0]
 
list examples.dg.mhd.dai_woodward_shocktube.vy = [0.01,0.0]
 
list examples.dg.mhd.dai_woodward_shocktube.vz = [0.5,0.0]
 
list examples.dg.mhd.dai_woodward_shocktube.Bx = [4.0/math.sqrt(4.0*math.pi),4.0/math.sqrt(4.0*math.pi)]
 
list examples.dg.mhd.dai_woodward_shocktube.By = [3.6/math.sqrt(4.0*math.pi),4.0/math.sqrt(4.0*math.pi)]
 
list examples.dg.mhd.dai_woodward_shocktube.Bz = [2.0/math.sqrt(4.0*math.pi),2.0/math.sqrt(4.0*math.pi)]
 
list examples.dg.mhd.dai_woodward_shocktube.px = [0,0]
 
list examples.dg.mhd.dai_woodward_shocktube.py = [0,0]
 
list examples.dg.mhd.dai_woodward_shocktube.pz = [0,0]
 
list examples.dg.mhd.dai_woodward_shocktube.e = [0,0]
 
warpy examples.dg.mhd.dai_woodward_shocktube.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid,fluid_gradient])
 
warpy examples.dg.mhd.dai_woodward_shocktube.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps, on_subdomains=['all'],cfl=cfl)
 
list examples.dg.mhd.dai_woodward_shocktube.variable_adjusters = []
 
warpy examples.dg.mhd.dai_woodward_shocktube.ti = warpy.host_actions.erk(name="rk", scheme=torder, spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters)
 
warpy examples.dg.mhd.dai_woodward_shocktube.dt_controller = warpy.dt_calc.stability_dt(init_dt=1e-5)
 
warpy examples.dg.mhd.dai_woodward_shocktube.sim
 
 examples.dg.mhd.dai_woodward_shocktube.gen_xdmf
 
 examples.dg.mhd.dai_woodward_shocktube.True
 
 examples.dg.mhd.dai_woodward_shocktube.detect_nonscalar