|
bool | examples.dg.plasma.pinch.z_pinch_5moment.use_phmaxwell = False |
|
bool | examples.dg.plasma.pinch.z_pinch_5moment.use_pcmaxwell = False |
|
None | examples.dg.plasma.pinch.z_pinch_5moment.nu_p_tau = None |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.cfl = 0.8 |
|
bool | examples.dg.plasma.pinch.z_pinch_5moment.use_limiters = True |
|
bool | examples.dg.plasma.pinch.z_pinch_5moment.use_interspecies_collisions = False |
|
str | examples.dg.plasma.pinch.z_pinch_5moment.torder = "TVDRK2" |
|
str | examples.dg.plasma.pinch.z_pinch_5moment.sorder = "secondOrder" |
|
argparse | examples.dg.plasma.pinch.z_pinch_5moment.parser = argparse.ArgumentParser(description='Gem Challenge') |
|
| examples.dg.plasma.pinch.z_pinch_5moment.type |
|
| examples.dg.plasma.pinch.z_pinch_5moment.str |
|
| examples.dg.plasma.pinch.z_pinch_5moment.nargs |
|
| examples.dg.plasma.pinch.z_pinch_5moment.help |
|
| examples.dg.plasma.pinch.z_pinch_5moment.default |
|
argparse | examples.dg.plasma.pinch.z_pinch_5moment.args = parser.parse_args() |
|
argparse | examples.dg.plasma.pinch.z_pinch_5moment.dimension = args.dimension |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.n0 = 1.0*1 |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.n_inf = 0.2 |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.B0 = 1.0*1 |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.perturbation = 0.1*1 |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.names = ["ions", "electrons"] |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.A = [1., 1.] |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.Z = [1., -1.] |
|
math | examples.dg.plasma.pinch.z_pinch_5moment.Ti_Te = math.sqrt(A[0]/A[1]) |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.skin_depth_norm = 1.0 |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.omega_p_tau = 20.0 |
|
int | examples.dg.plasma.pinch.z_pinch_5moment.di_L = 1. |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.sheet_width = 0.5 |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.Te = B0**2/2.0/n0/(Ti_Te + 1.0) |
|
math | examples.dg.plasma.pinch.z_pinch_5moment.Ti = Ti_Te * Te |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.T = [Ti, Te] |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.chi = 1.0 |
|
float | examples.dg.plasma.pinch.z_pinch_5moment.phchi = 2.0 |
|
int | examples.dg.plasma.pinch.z_pinch_5moment.gamma = 5./3. |
|
int | examples.dg.plasma.pinch.z_pinch_5moment.Lx = 8*math.pi*di_L |
|
int | examples.dg.plasma.pinch.z_pinch_5moment.Ly = 4*math.pi*di_L |
|
len | examples.dg.plasma.pinch.z_pinch_5moment.N = len(names) |
|
warpy | examples.dg.plasma.pinch.z_pinch_5moment.mesh = warpy.mesh.block(Bounds=[-Lx/2.,Lx/2., -Ly/2.,Ly/2.],NumCells=[16,8],NodeSets=['Left','Right', 'Lower','Upper'],NumLayers=1,basis_array_set=sorder,PeriodicBoundaries=['Left','Right'],block_type="symmetric") |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.component_names = ['rho', 'px', 'py', 'pz', 'e'] |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.field_component_names = ['Ex', 'Ey', 'Ez', 'Bx', 'By', 'Bz'] |
|
warpy | examples.dg.plasma.pinch.z_pinch_5moment.field = warpy.variable(name='field',components=field_component_names,basis_array_set=sorder) |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.fluids = [warpy.variable(name=name,components=component_names,basis_array_set=sorder) for name in names] |
|
warpy | examples.dg.plasma.pinch.z_pinch_5moment.field_gradient = warpy.variable(name='field_gradient',components=[prefix + "_" + suffix for prefix in field.components() for suffix in ['x','y','z']],basis_array_set=sorder) |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.fluid_gradients = [warpy.variable(name=name+'_gradient',components=[prefix + "_" + suffix for prefix in component_names for suffix in ['x','y','z']],basis_array_set=sorder) for name in names] |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.fluid_functions = [warpy.functions.gem_5moment_new(name='ic_'+names[i], gamma=gamma, skin_depth_norm=skin_depth_norm, mass=A[i], charge=Z[i], B0=B0, temperature=T[i], sheet_width=sheet_width, number_density=n0, number_density_infinity=n_inf) for i in range(N)] |
|
warpy | examples.dg.plasma.pinch.z_pinch_5moment.field_function = warpy.functions.gem_field(name='ic_field', Bx=B0, sheet_width=sheet_width, perturbation = perturbation) |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.applicators = [warpy.applicator(spatial_order=sorder,fun=fluid_functions[i],var=fluids[i],spatial_scheme='Nodal') for i in range(N)] |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.apps = [] |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.dirichlet_apps = [] |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.neumann_apps = [] |
|
| examples.dg.plasma.pinch.z_pinch_5moment.else : |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.write_vars = fluids + [field] |
|
tuple | examples.dg.plasma.pinch.z_pinch_5moment.has_gradients = (nu_p_tau != None) or use_pcmaxwell |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.gradient_input_variables = [] |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.gradient_output_variables = [] |
|
warpy | examples.dg.plasma.pinch.z_pinch_5moment.writer = warpy.host_actions.writer(name='writer',ReadVars=write_vars) |
|
warpy | examples.dg.plasma.pinch.z_pinch_5moment.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps, cfl=cfl) |
|
list | examples.dg.plasma.pinch.z_pinch_5moment.variable_adjusters = [] |
|
warpy | examples.dg.plasma.pinch.z_pinch_5moment.time_integrator = warpy.host_actions.erk(name="ti", scheme=torder, spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters) |
|
warpy | examples.dg.plasma.pinch.z_pinch_5moment.dt_controller = warpy.dt_calc.stability_dt(init_dt=0.025) |
|