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