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

Namespaces

namespace  landau_damping
 

Variables

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