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

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.advection
 
namespace  examples.dg.advection.advection2d
 

Variables

str examples.dg.advection.advection2d.torder = 'SSPRK3'
 
str examples.dg.advection.advection2d.sorder = 'thirdOrder'
 
list examples.dg.advection.advection2d.velocity = [-1.0,-0.65,0.0]
 
bool examples.dg.advection.advection2d.periodic_boundary_conditions = True
 
bool examples.dg.advection.advection2d.use_limiters = False
 
warpy examples.dg.advection.advection2d.mesh = warpy.mesh.block(Bounds=[0.0, 1.0, 0.0, 1.0],NumCells=[40,40],NodeSets=['Left', 'Right', 'Bottom', 'Top'],NumLayers=1,PeriodicBoundaries=['Left','Right', 'Bottom', 'Top'] if periodic_boundary_conditions else None,basis_array_set=sorder)
 
warpy examples.dg.advection.advection2d.fluid = warpy.variable(name='fluid',components=['rho'],basis_array_set=sorder)
 
warpy examples.dg.advection.advection2d.fluid_ic = warpy.functions.bandpass(name='fluid_ic',center=[0.5,0.5],width=[0.25,0.25],inside_value=1,outside_value=0)
 
list examples.dg.advection.advection2d.applicators = [warpy.applicator(spatial_order=sorder,fun=fluid_ic,var=fluid,spatial_scheme='Nodal')]
 
list examples.dg.advection.advection2d.apps = [warpy.apps.advection(name='advection', variable=fluid,velocity=velocity)]
 
list examples.dg.advection.advection2d.bc_apps = []
 
warpy examples.dg.advection.advection2d.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid])
 
warpy examples.dg.advection.advection2d.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps,on_subdomains=['all'])
 
list examples.dg.advection.advection2d.variable_adjusters = []
 
warpy examples.dg.advection.advection2d.temporal_solver = warpy.host_actions.erk(name='rk', scheme=torder,spatial_solvers=[spatial_solver],variable_adjusters=variable_adjusters)
 
int examples.dg.advection.advection2d.dt = 1e-3
 
int examples.dg.advection.advection2d.write_steps = 100
 
warpy examples.dg.advection.advection2d.dt_controller = warpy.dt_calc.stability_dt(dt)
 
warpy examples.dg.advection.advection2d.sim
 
 examples.dg.advection.advection2d.gen_xdmf
 
 examples.dg.advection.advection2d.True
 
 examples.dg.advection.advection2d.detect_nonscalar