WARPXM v1.10.0
|
Variables | |
str | torder = 'SSPRK3' |
str | sorder = 'secondOrder' |
float | fluid_velocity = 0.0 |
float | fluid_density = 1.0 |
float | sound_speed = 1.0 |
bool | periodic_boundary_conditions = True |
bool | use_limiters = True |
warpy | 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 | fluid = warpy.variable(name='fluid',components=['p', 'u'],basis_array_set=sorder) |
warpy | fluid_ic = warpy.functions.bandpass(name='fluid_ic', width=[0.25]) |
list | applicators = [warpy.applicator(spatial_order=sorder,fun=fluid_ic,var=fluid, components = ['p'],spatial_scheme='Nodal')] |
list | apps = [warpy.apps.linear_acoustics(name='linear_acoustics', variable=fluid,fluid_velocity=fluid_velocity, fluid_density = fluid_density, sound_speed = sound_speed )] |
list | bc_apps = [] |
warpy | writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid]) |
warpy | spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps, on_subdomains=['all']) |
list | variable_adjusters = [] |
warpy | dt_controller = warpy.dt_calc.fixed_dt(1.e-4); |
warpy | ti = warpy.host_actions.erk(name='rkdg',scheme=torder,spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters) |
warpy | 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') |
gen_xdmf | |
True | |
detect_nonscalar | |
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 = [] |
examples.dg.advection.linear_acoustics.detect_nonscalar |
warpy examples.dg.advection.linear_acoustics.dt_controller = warpy.dt_calc.fixed_dt(1.e-4); |
warpy examples.dg.advection.linear_acoustics.fluid = warpy.variable(name='fluid',components=['p', 'u'],basis_array_set=sorder) |
float examples.dg.advection.linear_acoustics.fluid_density = 1.0 |
warpy examples.dg.advection.linear_acoustics.fluid_ic = warpy.functions.bandpass(name='fluid_ic', width=[0.25]) |
float examples.dg.advection.linear_acoustics.fluid_velocity = 0.0 |
examples.dg.advection.linear_acoustics.gen_xdmf |
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) |
bool examples.dg.advection.linear_acoustics.periodic_boundary_conditions = True |
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') |
str examples.dg.advection.linear_acoustics.sorder = 'secondOrder' |
float examples.dg.advection.linear_acoustics.sound_speed = 1.0 |
warpy examples.dg.advection.linear_acoustics.spatial_solver = warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps, on_subdomains=['all']) |
warpy examples.dg.advection.linear_acoustics.ti = warpy.host_actions.erk(name='rkdg',scheme=torder,spatial_solvers=[spatial_solver], variable_adjusters=variable_adjusters) |
str examples.dg.advection.linear_acoustics.torder = 'SSPRK3' |
examples.dg.advection.linear_acoustics.True |
bool examples.dg.advection.linear_acoustics.use_limiters = True |
list examples.dg.advection.linear_acoustics.variable_adjusters = [] |
warpy examples.dg.advection.linear_acoustics.writer = warpy.host_actions.writer(name='writer',ReadVars=[fluid]) |