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

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.advection
 
namespace  examples.dg.advection.advection3d
 

Variables

str examples.dg.advection.advection3d.torder = 'SSPRK3'
 
str examples.dg.advection.advection3d.sorder = 'thirdOrder'
 
list examples.dg.advection.advection3d.velocity = [-1.0,-0.65,0.0]
 
bool examples.dg.advection.advection3d.periodic_boundary_conditions = True
 
bool examples.dg.advection.advection3d.use_limiters = False
 
warpy examples.dg.advection.advection3d.mesh = warpy.mesh.block(Bounds=[0.0, 1.0, 0.0, 1.0, 0.0, 1.0],NumCells=[20,20,20],NodeSets=['Left', 'Right', 'Bottom', 'Top','Front','Back'],NumLayers=1,PeriodicBoundaries=['Left','Right', 'Bottom', 'Top', 'Front', 'Back'] if periodic_boundary_conditions else None,basis_array_set=sorder)
 
warpy examples.dg.advection.advection3d.fluid = warpy.variable(name='fluid',components=['rho'],basis_array_set=sorder)
 
warpy examples.dg.advection.advection3d.fluid_ic = warpy.functions.bandpass(name='fluid_ic',center=[0.5,0.5,0.5],width=[0.25,0.25,0.25],inside_value=1,outside_value=0)
 
list examples.dg.advection.advection3d.applicators = [warpy.applicator(spatial_order=sorder,fun=fluid_ic,var=fluid,spatial_scheme='Nodal')]
 
list examples.dg.advection.advection3d.apps = [warpy.apps.advection(name='advection', variable=fluid,velocity=velocity)]
 
list examples.dg.advection.advection3d.bc_apps = []
 
warpy examples.dg.advection.advection3d.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid])
 
warpy examples.dg.advection.advection3d.spatial_solver
 
list examples.dg.advection.advection3d.variable_adjusters = []
 
warpy examples.dg.advection.advection3d.temporal_solver = warpy.host_actions.erk(name='rk', scheme=torder,spatial_solvers=[spatial_solver],variable_adjusters=variable_adjusters)
 
int examples.dg.advection.advection3d.dt = 5e-4
 
int examples.dg.advection.advection3d.t_tot = 1e-2
 
int examples.dg.advection.advection3d.nframe = 10
 
warpy examples.dg.advection.advection3d.dt_controller = warpy.dt_calc.fixed_dt(init_dt=dt)
 
warpy examples.dg.advection.advection3d.sim
 
 examples.dg.advection.advection3d.gen_xdmf
 
 examples.dg.advection.advection3d.True
 
 examples.dg.advection.advection3d.detect_nonscalar