WARPXM v1.10.0
Loading...
Searching...
No Matches
examples.dg.mhd.resistive_mhd_pure_diffusion Namespace Reference

Variables

str torder = 'RK4'
 
str sorder = 'fourthOrder'
 
float skin_depth_norm = 1.0
 
float nu_p_norm = 1.0
 
float gamma = 2.0
 
float penalty_beta = -0.5
 
float penalty_eta = 1.0
 
str gradient_method = "ldg"
 
str imhd_numerical_flux_type = "Rusanov"
 
float cfl = 1.0
 
warpy mesh
 
list component_names = ['rho', 'px', 'py', 'pz', 'e', 'Bx', 'By', 'Bz']
 
warpy fluid = warpy.variable(name='fluid',components=component_names,basis_array_set=sorder)
 
list gradient_component_names = [prefix+"_"+suffix for prefix in component_names for suffix in ['x','y','z']]
 
warpy fluid_gradient = warpy.variable(name='fluid_gradient', components=gradient_component_names,basis_array_set=sorder,explodable=False)
 
warpy fluid_gradient2 = warpy.variable(name='fluid_gradient2', components=gradient_component_names,basis_array_set=sorder,explodable=False)
 
warpy pure_diffusion_ic = warpy.functions.custom_mhd(name='pure_diffusion_ic',skin_depth_norm=skin_depth_norm,gamma=gamma)
 
list ic_applicators
 
list apps = []
 
list dirichlet_apps = []
 
warpy writer
 
warpy spatial_solver
 
list variable_adjusters = []
 
list adjust_bc_apps = []
 
warpy ti
 
warpy dt_controller = warpy.dt_calc.fixed_dt(init_dt=1.0e-6)
 

Variable Documentation

◆ adjust_bc_apps

list examples.dg.mhd.resistive_mhd_pure_diffusion.adjust_bc_apps = []

◆ apps

list examples.dg.mhd.resistive_mhd_pure_diffusion.apps = []

◆ cfl

float examples.dg.mhd.resistive_mhd_pure_diffusion.cfl = 1.0

◆ component_names

list examples.dg.mhd.resistive_mhd_pure_diffusion.component_names = ['rho', 'px', 'py', 'pz', 'e', 'Bx', 'By', 'Bz']

◆ dirichlet_apps

list examples.dg.mhd.resistive_mhd_pure_diffusion.dirichlet_apps = []

◆ dt_controller

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.dt_controller = warpy.dt_calc.fixed_dt(init_dt=1.0e-6)

◆ fluid

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.fluid = warpy.variable(name='fluid',components=component_names,basis_array_set=sorder)

◆ fluid_gradient

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.fluid_gradient = warpy.variable(name='fluid_gradient', components=gradient_component_names,basis_array_set=sorder,explodable=False)

◆ fluid_gradient2

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.fluid_gradient2 = warpy.variable(name='fluid_gradient2', components=gradient_component_names,basis_array_set=sorder,explodable=False)

◆ gamma

float examples.dg.mhd.resistive_mhd_pure_diffusion.gamma = 2.0

◆ gradient_component_names

list examples.dg.mhd.resistive_mhd_pure_diffusion.gradient_component_names = [prefix+"_"+suffix for prefix in component_names for suffix in ['x','y','z']]

◆ gradient_method

str examples.dg.mhd.resistive_mhd_pure_diffusion.gradient_method = "ldg"

◆ ic_applicators

list examples.dg.mhd.resistive_mhd_pure_diffusion.ic_applicators
Initial value:
1= [warpy.applicator(spatial_order=sorder,
2 fun=pure_diffusion_ic,
3 var=fluid,components=None,
4 spatial_scheme='Nodal')]

◆ imhd_numerical_flux_type

str examples.dg.mhd.resistive_mhd_pure_diffusion.imhd_numerical_flux_type = "Rusanov"

◆ mesh

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.mesh
Initial value:
1= warpy.mesh.block(Bounds=[-.5, .5],
2 # NumCells=[64],
3 NumCells=[32],
4 NodeSets=['leftWall', 'rightWall'],
5 NumLayers=1,
6 # PeriodicBoundaries=['leftWall','rightWall'],
7 basis_array_set=sorder)
block mesh generator
Definition: mesh.py:87

◆ nu_p_norm

float examples.dg.mhd.resistive_mhd_pure_diffusion.nu_p_norm = 1.0

◆ penalty_beta

float examples.dg.mhd.resistive_mhd_pure_diffusion.penalty_beta = -0.5

◆ penalty_eta

float examples.dg.mhd.resistive_mhd_pure_diffusion.penalty_eta = 1.0

◆ pure_diffusion_ic

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.pure_diffusion_ic = warpy.functions.custom_mhd(name='pure_diffusion_ic',skin_depth_norm=skin_depth_norm,gamma=gamma)

◆ skin_depth_norm

float examples.dg.mhd.resistive_mhd_pure_diffusion.skin_depth_norm = 1.0

◆ sorder

str examples.dg.mhd.resistive_mhd_pure_diffusion.sorder = 'fourthOrder'

◆ spatial_solver

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.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,
6 cfl=cfl)

◆ ti

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.ti
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.mhd.resistive_mhd_pure_diffusion.torder = 'RK4'

◆ variable_adjusters

list examples.dg.mhd.resistive_mhd_pure_diffusion.variable_adjusters = []

◆ writer

warpy examples.dg.mhd.resistive_mhd_pure_diffusion.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