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

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.mhd
 
namespace  examples.dg.mhd.gem_challenge_hall
 

Variables

str examples.dg.mhd.gem_challenge_hall.torder = 'RK4'
 
str examples.dg.mhd.gem_challenge_hall.sorder = 'secondOrder'
 
bool examples.dg.mhd.gem_challenge_hall.useLimiter = True
 
bool examples.dg.mhd.gem_challenge_hall.always_limit = True
 
float examples.dg.mhd.gem_challenge_hall.skin_depth_norm = 1.0
 
int examples.dg.mhd.gem_challenge_hall.gamma = 5./3.
 
int examples.dg.mhd.gem_challenge_hall.z_i = 1
 
int examples.dg.mhd.gem_challenge_hall.A_i = 1
 
int examples.dg.mhd.gem_challenge_hall.theta = 1
 
int examples.dg.mhd.gem_challenge_hall.di_L = 1.
 
int examples.dg.mhd.gem_challenge_hall.Lx = 8*math.pi*di_L
 
int examples.dg.mhd.gem_challenge_hall.Ly = 4*math.pi*di_L
 
float examples.dg.mhd.gem_challenge_hall.sheet_width = 0.5
 
float examples.dg.mhd.gem_challenge_hall.n0 = 1.0
 
float examples.dg.mhd.gem_challenge_hall.n_inf = 0.2
 
float examples.dg.mhd.gem_challenge_hall.B0 = 1.0
 
float examples.dg.mhd.gem_challenge_hall.Ti_Te = 1.0/theta
 
tuple examples.dg.mhd.gem_challenge_hall.Te = (di_L / skin_depth_norm * B0)**2 / (2 * (n0-n_inf) * (1 + Ti_Te))
 
list examples.dg.mhd.gem_challenge_hall.T = [Ti_Te * Te, Te]
 
int examples.dg.mhd.gem_challenge_hall.v = 2. * skin_depth_norm / (sheet_width * B0)
 
list examples.dg.mhd.gem_challenge_hall.V = T[0]*v
 
warpy examples.dg.mhd.gem_challenge_hall.mesh = warpy.mesh.block(Bounds=[-Lx/2.,Lx/2., -Ly/2.,Ly/2.],NumCells=[32,16],NodeSets=['Left','Right', 'Lower','Upper'],NumLayers=1,basis_array_set=sorder,PeriodicBoundaries=['Left','Right'])
 
list examples.dg.mhd.gem_challenge_hall.component_names = ['rho', 'px', 'py', 'pz', 'e', 'Bx', 'By', 'Bz']
 
warpy examples.dg.mhd.gem_challenge_hall.fluid = warpy.variable(name='fluid',components=component_names,basis_array_set=sorder)
 
list examples.dg.mhd.gem_challenge_hall.gradient_component_names = [prefix+"_"+suffix for prefix in component_names for suffix in ['x','y','z']]
 
warpy examples.dg.mhd.gem_challenge_hall.fluid_gradient = warpy.variable(name='fluid_gradient', components=gradient_component_names,basis_array_set=sorder)
 
warpy examples.dg.mhd.gem_challenge_hall.gem_ic = warpy.functions.gem_hallmhd(name='gem_ic',gamma=gamma,mass=A_i,temperature=T[0],velocity=V,sheet_width=sheet_width,number_density=n0,number_density_infinity=n_inf,Bx=B0,Lx=Lx,Ly=Ly)
 
list examples.dg.mhd.gem_challenge_hall.applicators = [warpy.applicator(spatial_order=sorder,fun=gem_ic,var=fluid,spatial_scheme='Nodal')]
 
list examples.dg.mhd.gem_challenge_hall.apps = []
 
list examples.dg.mhd.gem_challenge_hall.dirichlet_apps = []
 
list examples.dg.mhd.gem_challenge_hall.neumann_apps = []
 
warpy examples.dg.mhd.gem_challenge_hall.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid, fluid_gradient])
 
warpy examples.dg.mhd.gem_challenge_hall.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps, on_subdomains=['all'])
 
list examples.dg.mhd.gem_challenge_hall.variable_adjusters = []
 
warpy examples.dg.mhd.gem_challenge_hall.ti = warpy.host_actions.erk(name="rk", scheme=torder, spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters)
 
warpy examples.dg.mhd.gem_challenge_hall.dt_controller = warpy.dt_calc.stability_dt(init_dt=1e-5)
 
warpy examples.dg.mhd.gem_challenge_hall.sim
 
 examples.dg.mhd.gem_challenge_hall.gen_xdmf
 
 examples.dg.mhd.gem_challenge_hall.True
 
 examples.dg.mhd.gem_challenge_hall.detect_nonscalar