WARPXM v1.10.0
|
Variables | |
str | torder = 'RK4' |
str | sorder = 'thirdOrder' |
bool | periodic_boundary_conditions = True |
float | skin_depth_norm = 1.0 |
float | omega_p_norm = 1.0 |
int | charge = 1 |
int | mass = 1 |
int | charge_to_mass = charge/mass |
float | cfl = 0.235 |
str | pert_strength = "weak" |
float | perturbation = 0.01 |
else : | |
float | thermal_velocity = 1.0 |
float | density = 1.0 |
list | v_space_num_elements = [40] |
list | min_v = [-5.0] |
list | dv = [0.25] |
int | num_physical_elements = 40 |
int | L = 2 * np.pi |
float | k = 0.5 |
warpy | mesh |
Generate a mesh -> vlasov. | |
warpy | distribution |
warpy | field |
warpy | fluid |
warpy | distribution_ic |
Initial conditions-------------------------------— Step 1: define the function as an application: | |
warpy | maxwell_ic |
warpy | distribution_ic_va |
warpy | maxwell_ic_va |
warpy | ic_ha |
list | apps_kinetic |
Initial conditions-------------------------------—. | |
list | apps_physical |
list | applications_moments = [] |
list | variable_adjusters = [] |
Variable adjusters. | |
warpy | writer |
Variable writer. | |
warpy | spatial_solver_kinetic |
Spatial solver. | |
warpy | spatial_solver_physical |
warpy | temporal_solver |
Temporal solver. | |
int | dt = 1e-5 |
Simulation (dg) | |
int | t_final = 80 |
warpy | dt_controller = warpy.dt_calc.stability_dt(dt) |
int | write_steps = 1000 |
datetime | now = datetime.datetime.now().strftime("%Y_%m_%d") |
f | sim_name = f'landau_damping_{num_physical_elements}x{v_space_num_elements[0]}_{pert_strength}' |
warpy | config_args = warpy.load_configs() |
warpy | case_loc = config_args['test_rundir'](f'kinetics/landau_damping/{now}', '') |
list | max_vx = min_v[0] + dv[0] * v_space_num_elements[0] |
f | sim_param |
warpy | sim |
gen_xdmf | |
Run Simulation ... 1 now = datetime.datetime.now() | |
detect_nonscalar | |
list landau_damping.applications_moments = [] |
list landau_damping.apps_kinetic |
Initial conditions-------------------------------—.
Applications (consists of equation sets and boundary conditions)
list landau_damping.apps_physical |
warpy landau_damping.case_loc = config_args['test_rundir'](f'kinetics/landau_damping/{now}', '') |
float landau_damping.cfl = 0.235 |
int landau_damping.charge = 1 |
warpy landau_damping.config_args = warpy.load_configs() |
float landau_damping.density = 1.0 |
landau_damping.detect_nonscalar |
warpy landau_damping.distribution |
warpy landau_damping.distribution_ic |
Initial conditions-------------------------------— Step 1: define the function as an application:
warpy landau_damping.distribution_ic_va |
int landau_damping.dt = 1e-5 |
Simulation (dg)
warpy landau_damping.dt_controller = warpy.dt_calc.stability_dt(dt) |
list landau_damping.dv = [0.25] |
landau_damping.else : |
warpy landau_damping.field |
warpy landau_damping.fluid |
landau_damping.gen_xdmf |
Run Simulation ... 1 now = datetime.datetime.now()
warpy landau_damping.ic_ha |
float landau_damping.k = 0.5 |
int landau_damping.L = 2 * np.pi |
int landau_damping.mass = 1 |
list landau_damping.max_vx = min_v[0] + dv[0] * v_space_num_elements[0] |
warpy landau_damping.maxwell_ic |
warpy landau_damping.maxwell_ic_va |
warpy landau_damping.mesh |
Generate a mesh -> vlasov.
list landau_damping.min_v = [-5.0] |
datetime landau_damping.now = datetime.datetime.now().strftime("%Y_%m_%d") |
int landau_damping.num_physical_elements = 40 |
float landau_damping.omega_p_norm = 1.0 |
bool landau_damping.periodic_boundary_conditions = True |
str landau_damping.pert_strength = "weak" |
float landau_damping.perturbation = 0.01 |
warpy landau_damping.sim |
f landau_damping.sim_name = f'landau_damping_{num_physical_elements}x{v_space_num_elements[0]}_{pert_strength}' |
landau_damping.sim_param |
float landau_damping.skin_depth_norm = 1.0 |
str landau_damping.sorder = 'thirdOrder' |
warpy landau_damping.spatial_solver_kinetic |
Spatial solver.
warpy landau_damping.spatial_solver_physical |
int landau_damping.t_final = 80 |
warpy landau_damping.temporal_solver |
Temporal solver.
float landau_damping.thermal_velocity = 1.0 |
str landau_damping.torder = 'RK4' |
list landau_damping.v_space_num_elements = [40] |
list landau_damping.variable_adjusters = [] |
Variable adjusters.
int landau_damping.write_steps = 1000 |
warpy landau_damping.writer |
Variable writer.