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

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.advection
 
namespace  examples.dg.advection.linear_acoustics
 

Variables

str examples.dg.advection.linear_acoustics.torder = 'SSPRK3'
 
str examples.dg.advection.linear_acoustics.sorder = 'secondOrder'
 
float examples.dg.advection.linear_acoustics.fluid_velocity = 0.0
 
float examples.dg.advection.linear_acoustics.fluid_density = 1.0
 
float examples.dg.advection.linear_acoustics.sound_speed = 1.0
 
bool examples.dg.advection.linear_acoustics.periodic_boundary_conditions = True
 
bool examples.dg.advection.linear_acoustics.use_limiters = True
 
warpy examples.dg.advection.linear_acoustics.mesh = warpy.mesh.block(Bounds=[-0.5, 0.5],NumCells=[512],NodeSets=['Left', 'Right'],NumLayers=1,PeriodicBoundaries=['Left','Right'] if periodic_boundary_conditions else None,basis_array_set=sorder)
 
warpy examples.dg.advection.linear_acoustics.fluid = warpy.variable(name='fluid',components=['p', 'u'],basis_array_set=sorder)
 
warpy examples.dg.advection.linear_acoustics.fluid_ic = warpy.functions.bandpass(name='fluid_ic', width=[0.25])
 
list examples.dg.advection.linear_acoustics.applicators = [warpy.applicator(spatial_order=sorder,fun=fluid_ic,var=fluid, components = ['p'],spatial_scheme='Nodal')]
 
list examples.dg.advection.linear_acoustics.apps = [warpy.apps.linear_acoustics(name='linear_acoustics', variable=fluid,fluid_velocity=fluid_velocity, fluid_density = fluid_density, sound_speed = sound_speed )]
 
list examples.dg.advection.linear_acoustics.bc_apps = []
 
warpy examples.dg.advection.linear_acoustics.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid])
 
warpy examples.dg.advection.linear_acoustics.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps, on_subdomains=['all'])
 
list examples.dg.advection.linear_acoustics.variable_adjusters = []
 
warpy examples.dg.advection.linear_acoustics.dt_controller = warpy.dt_calc.fixed_dt(1.e-4);
 
warpy examples.dg.advection.linear_acoustics.ti = warpy.host_actions.erk(name='rkdg',scheme=torder,spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters)
 
warpy examples.dg.advection.linear_acoustics.sim = warpy.dg_sim(name='linear_acoustics_alpha1000_rossmanith_third_order',meshes=[mesh],initial_conditions=applicators,temporal_solvers=[ti],writers=[writer],time=[0,1.0],dt_controller=dt_controller,write_steps=100,verbosity='info')
 
 examples.dg.advection.linear_acoustics.gen_xdmf
 
 examples.dg.advection.linear_acoustics.True
 
 examples.dg.advection.linear_acoustics.detect_nonscalar