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