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

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.advection
 
namespace  examples.dg.advection.advection_heaviside
 

Variables

str examples.dg.advection.advection_heaviside.torder = 'Dormand45'
 
str examples.dg.advection.advection_heaviside.sorder = 'secondOrder'
 
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]
 
bool examples.dg.advection.advection_heaviside.periodic_boundary_conditions = False
 
bool examples.dg.advection.advection_heaviside.use_limiters = False
 
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)
 
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])
 
list examples.dg.advection.advection_heaviside.applicators = []
 
list examples.dg.advection.advection_heaviside.apps = []
 
list examples.dg.advection.advection_heaviside.bc_apps = []
 
warpy examples.dg.advection.advection_heaviside.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid1,fluid2])
 
warpy examples.dg.advection.advection_heaviside.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps,on_subdomains=['all'])
 
list examples.dg.advection.advection_heaviside.variable_adjusters = []
 
warpy examples.dg.advection.advection_heaviside.temporal_solver = warpy.host_actions.erk(name='rk', scheme=torder,spatial_solvers=[spatial_solver],variable_adjusters=variable_adjusters)
 
int examples.dg.advection.advection_heaviside.dt = 1e-3
 
warpy examples.dg.advection.advection_heaviside.dt_controller = warpy.dt_calc.stability_dt(dt)
 
int examples.dg.advection.advection_heaviside.write_steps = 1000
 
warpy examples.dg.advection.advection_heaviside.sim
 
 examples.dg.advection.advection_heaviside.gen_xdmf
 
 examples.dg.advection.advection_heaviside.True
 
 examples.dg.advection.advection_heaviside.detect_nonscalar