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

Namespaces

namespace  examples
 
namespace  examples.dg
 
namespace  examples.dg.advection
 
namespace  examples.dg.advection.advection_squares
 

Variables

str examples.dg.advection.advection_squares.torder = 'RK1'
 
str examples.dg.advection.advection_squares.sorder = 'firstOrder'
 
list examples.dg.advection.advection_squares.velocity = [1.0,0.0,0.0]
 
bool examples.dg.advection.advection_squares.periodic_boundary_conditions = True
 
bool examples.dg.advection.advection_squares.use_limiters = False
 
int examples.dg.advection.advection_squares.number_velocity_components = 10
 
int examples.dg.advection.advection_squares.skin_depth = 1
 
int examples.dg.advection.advection_squares.charge_to_mass = 1
 
str examples.dg.advection.advection_squares.numerical_flux_type = "upwind"
 
float examples.dg.advection.advection_squares.cfl = 0.8
 
str examples.dg.advection.advection_squares.perturbation = "sinusoidal"
 
warpy examples.dg.advection.advection_squares.mesh
 Generate a mesh.
 
np examples.dg.advection.advection_squares.component_names = np.zeros(number_velocity_components)
 Create a variable for the fluid and one for the array Make components array.
 
warpy examples.dg.advection.advection_squares.fluid
 
warpy examples.dg.advection.advection_squares.field
 
warpy examples.dg.advection.advection_squares.fluid_ic
 Initial conditions function TODO: Make an initial condition function that creates phase space distributions Probable parameters: Number of components, thermal velocity, density, type of perturbation fluid_ic = warpy.functions.fourier(name='fluid_ic', sine_amplitudes=[1],sine_frequencies=[2*np.pi])
 
list examples.dg.advection.advection_squares.applicators
 Initial condition applicator.
 
list examples.dg.advection.advection_squares.apps
 Applications (consists of equation sets and boundary conditions)
 
list examples.dg.advection.advection_squares.bc_apps = []
 
warpy examples.dg.advection.advection_squares.writer
 Variable writer.
 
warpy examples.dg.advection.advection_squares.spatial_solver
 Spatial solver.
 
list examples.dg.advection.advection_squares.variable_adjusters = []
 Variable adjusters.
 
warpy examples.dg.advection.advection_squares.temporal_solver
 Temporal solver.
 
int examples.dg.advection.advection_squares.dt = 1e-3
 Simulation (dg)
 
float examples.dg.advection.advection_squares.dt_final = 2.0
 
warpy examples.dg.advection.advection_squares.dt_controller = warpy.dt_calc.fixed_dt(dt)
 
int examples.dg.advection.advection_squares.write_steps = 100
 
warpy examples.dg.advection.advection_squares.sim
 
 examples.dg.advection.advection_squares.gen_xdmf
 Run Simulation ...
 
 examples.dg.advection.advection_squares.detect_nonscalar