WARPXM v1.10.0
|
Variables | |
str | torder = 'Dormand45' |
str | sorder = 'secondOrder' |
list | velocity1 = [1.0,0.0,0.0] |
list | velocity2 = [-1.0,0.0,0.0] |
bool | periodic_boundary_conditions = False |
bool | use_limiters = False |
warpy | mesh = warpy.mesh.block(Bounds=[-0.5, 0.5],NumCells=[64],NodeSets=['Left', 'Right'],NumLayers=1,PeriodicBoundaries=['Left','Right'] if periodic_boundary_conditions else None,basis_array_set=sorder) |
warpy | fluid1 = warpy.variable(name='fluid1',components=['rho'],basis_array_set=sorder) |
warpy | fluid2 = warpy.variable(name='fluid2',components=['rho'],basis_array_set=sorder) |
warpy | fluid_ic1 = warpy.functions.heaviside(name='fluid_ic1',neg=0.5,pos=0,direction=[1,0,0],center=[0,0,0]) |
warpy | fluid_ic2 = warpy.functions.heaviside(name='fluid_ic2',neg=0,pos=0.5,direction=[1,0,0],center=[0,0,0]) |
list | applicators = [] |
list | apps = [] |
list | bc_apps = [] |
warpy | writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid1,fluid2]) |
warpy | spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps,on_subdomains=['all']) |
list | variable_adjusters = [] |
warpy | temporal_solver = warpy.host_actions.erk(name='rk', scheme=torder,spatial_solvers=[spatial_solver],variable_adjusters=variable_adjusters) |
int | dt = 1e-3 |
warpy | dt_controller = warpy.dt_calc.stability_dt(dt) |
int | write_steps = 1000 |
warpy | sim |
gen_xdmf | |
True | |
detect_nonscalar | |
list examples.dg.advection.advection_heaviside.applicators = [] |
list examples.dg.advection.advection_heaviside.apps = [] |
list examples.dg.advection.advection_heaviside.bc_apps = [] |
examples.dg.advection.advection_heaviside.detect_nonscalar |
int examples.dg.advection.advection_heaviside.dt = 1e-3 |
warpy examples.dg.advection.advection_heaviside.dt_controller = warpy.dt_calc.stability_dt(dt) |
warpy examples.dg.advection.advection_heaviside.fluid1 = warpy.variable(name='fluid1',components=['rho'],basis_array_set=sorder) |
warpy examples.dg.advection.advection_heaviside.fluid2 = warpy.variable(name='fluid2',components=['rho'],basis_array_set=sorder) |
warpy examples.dg.advection.advection_heaviside.fluid_ic1 = warpy.functions.heaviside(name='fluid_ic1',neg=0.5,pos=0,direction=[1,0,0],center=[0,0,0]) |
warpy examples.dg.advection.advection_heaviside.fluid_ic2 = warpy.functions.heaviside(name='fluid_ic2',neg=0,pos=0.5,direction=[1,0,0],center=[0,0,0]) |
examples.dg.advection.advection_heaviside.gen_xdmf |
warpy examples.dg.advection.advection_heaviside.mesh = warpy.mesh.block(Bounds=[-0.5, 0.5],NumCells=[64],NodeSets=['Left', 'Right'],NumLayers=1,PeriodicBoundaries=['Left','Right'] if periodic_boundary_conditions else None,basis_array_set=sorder) |
bool examples.dg.advection.advection_heaviside.periodic_boundary_conditions = False |
warpy examples.dg.advection.advection_heaviside.sim |
str examples.dg.advection.advection_heaviside.sorder = 'secondOrder' |
warpy examples.dg.advection.advection_heaviside.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps,on_subdomains=['all']) |
warpy examples.dg.advection.advection_heaviside.temporal_solver = warpy.host_actions.erk(name='rk', scheme=torder,spatial_solvers=[spatial_solver],variable_adjusters=variable_adjusters) |
str examples.dg.advection.advection_heaviside.torder = 'Dormand45' |
examples.dg.advection.advection_heaviside.True |
bool examples.dg.advection.advection_heaviside.use_limiters = False |
list examples.dg.advection.advection_heaviside.variable_adjusters = [] |
list examples.dg.advection.advection_heaviside.velocity1 = [1.0,0.0,0.0] |
list examples.dg.advection.advection_heaviside.velocity2 = [-1.0,0.0,0.0] |
int examples.dg.advection.advection_heaviside.write_steps = 1000 |
warpy examples.dg.advection.advection_heaviside.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid1,fluid2]) |