WARPXM v1.10.0
|
Variables | |
str | torder = 'RK1' |
str | sorder = 'firstOrder' |
list | velocity = [1.0,0.0,0.0] |
bool | periodic_boundary_conditions = True |
bool | use_limiters = False |
int | number_velocity_components = 10 |
int | skin_depth = 1 |
int | charge_to_mass = 1 |
str | numerical_flux_type = "upwind" |
float | cfl = 0.8 |
str | perturbation = "sinusoidal" |
warpy | mesh |
Generate a mesh. | |
np | component_names = np.zeros(number_velocity_components) |
Create a variable for the fluid and one for the array Make components array. | |
warpy | fluid |
warpy | field |
warpy | 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 | applicators |
Initial condition applicator. | |
list | apps |
Applications (consists of equation sets and boundary conditions) | |
list | bc_apps = [] |
warpy | writer |
Variable writer. | |
warpy | spatial_solver |
Spatial solver. | |
list | variable_adjusters = [] |
Variable adjusters. | |
warpy | temporal_solver |
Temporal solver. | |
int | dt = 1e-3 |
Simulation (dg) | |
float | dt_final = 2.0 |
warpy | dt_controller = warpy.dt_calc.fixed_dt(dt) |
int | write_steps = 100 |
warpy | sim |
gen_xdmf | |
Run Simulation ... | |
detect_nonscalar | |
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 = [] |
float examples.dg.advection.advection_squares.cfl = 0.8 |
int examples.dg.advection.advection_squares.charge_to_mass = 1 |
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.
examples.dg.advection.advection_squares.detect_nonscalar |
int examples.dg.advection.advection_squares.dt = 1e-3 |
Simulation (dg)
warpy examples.dg.advection.advection_squares.dt_controller = warpy.dt_calc.fixed_dt(dt) |
float examples.dg.advection.advection_squares.dt_final = 2.0 |
warpy examples.dg.advection.advection_squares.field |
warpy examples.dg.advection.advection_squares.fluid |
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])
examples.dg.advection.advection_squares.gen_xdmf |
Run Simulation ...
warpy examples.dg.advection.advection_squares.mesh |
Generate a mesh.
int examples.dg.advection.advection_squares.number_velocity_components = 10 |
str examples.dg.advection.advection_squares.numerical_flux_type = "upwind" |
bool examples.dg.advection.advection_squares.periodic_boundary_conditions = True |
str examples.dg.advection.advection_squares.perturbation = "sinusoidal" |
warpy examples.dg.advection.advection_squares.sim |
int examples.dg.advection.advection_squares.skin_depth = 1 |
str examples.dg.advection.advection_squares.sorder = 'firstOrder' |
warpy examples.dg.advection.advection_squares.spatial_solver |
Spatial solver.
warpy examples.dg.advection.advection_squares.temporal_solver |
Temporal solver.
str examples.dg.advection.advection_squares.torder = 'RK1' |
bool examples.dg.advection.advection_squares.use_limiters = False |
list examples.dg.advection.advection_squares.variable_adjusters = [] |
Variable adjusters.
list examples.dg.advection.advection_squares.velocity = [1.0,0.0,0.0] |
int examples.dg.advection.advection_squares.write_steps = 100 |
warpy examples.dg.advection.advection_squares.writer |
Variable writer.