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

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.advection
 
namespace  examples.dg.advection.advection_test
 

Variables

str examples.dg.advection.advection_test.torder = 'RK1'
 
str examples.dg.advection.advection_test.sorder = 'thirdOrder'
 
list examples.dg.advection.advection_test.velocity1 = [1.0,0.0,0.0]
 
list examples.dg.advection.advection_test.velocity2 = [-1.0,0.0,0.0]
 
bool examples.dg.advection.advection_test.periodic_boundary_conditions = True
 
bool examples.dg.advection.advection_test.use_limiters = True
 
warpy examples.dg.advection.advection_test.mesh = warpy.mesh.block(Bounds=[-0.5, 0.5],NumCells=[128],NodeSets=['Left', 'Right'],NumLayers=2,PeriodicBoundaries=['Left','Right'] if periodic_boundary_conditions else None,basis_array_set=sorder)
 
warpy examples.dg.advection.advection_test.fluid1 = warpy.variable(name='fluid1',components=['rho'],basis_array_set=sorder)
 
warpy examples.dg.advection.advection_test.fluid2 = warpy.variable(name='fluid2',components=['rho'],basis_array_set=sorder)
 
warpy examples.dg.advection.advection_test.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_test.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_test.applicators = []
 
list examples.dg.advection.advection_test.apps = []
 
list examples.dg.advection.advection_test.bc_apps = []
 
warpy examples.dg.advection.advection_test.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid1,fluid2])
 
warpy examples.dg.advection.advection_test.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps,on_subdomains=['all'])
 
list examples.dg.advection.advection_test.variable_adjusters = []
 
warpy examples.dg.advection.advection_test.temporal_solver = warpy.host_actions.erk(name='rk', scheme=torder,spatial_solvers=[spatial_solver],variable_adjusters=variable_adjusters)
 
int examples.dg.advection.advection_test.dt = 1e-2
 
warpy examples.dg.advection.advection_test.dt_controller = warpy.dt_calc.stability_dt(dt)
 
int examples.dg.advection.advection_test.write_steps = 250
 
warpy examples.dg.advection.advection_test.sim
 
 examples.dg.advection.advection_test.gen_xdmf
 
 examples.dg.advection.advection_test.True
 
 examples.dg.advection.advection_test.detect_nonscalar