Skip to content

Commit

Permalink
adding optimal inputs file for streamer verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Hariswaran Sitaraman committed Jan 12, 2025
1 parent 61d5c2f commit 3d703cd
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions test/verification/Streamer_Axisym/inputs2d_amr_opt
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
max_step = 20000000
stop_time = 1.6e-8

# PROBLEM SIZE & GEOMETRY
geometry.is_periodic = 0 0 1
geometry.coord_sys = 1 # 0 => cart, 1 => RZ (axisymmetric)
geometry.prob_lo = 0.0 0.0 0.0
geometry.prob_hi = 0.0125 0.0125 3.90625e-4
amr.n_cell = 256 256 4

# VERBOSITY
amr.v = 1 # verbosity in Amr

# RESTART
# amr.restart = chk00020

# REFINEMENT
amr.max_level = 4 # maximum level number allowed
amr.blocking_factor = 128 # block factor in grid generation
amr.max_grid_size = 2048

amr.regrid_int = 5 # how often to regrid

# TIME STEP CONTROL
vidyut.dt = 1e-12
vidyut.num_timestep_correctors = 2
vidyut.hyp_order = 5

# Voltage settings
vidyut.voltage_amp_lo=0.0 0.0 0.0
vidyut.voltage_amp_hi=0.0 18.75e3 0.0

vidyut.user_defined_potential = 1
vidyut.user_defined_species = 1
vidyut.user_defined_vel = 1

# Tagging
#vidyut.tagged_vars = Potential ReducedEF
vidyut.tagged_vars = Potential ReducedEF E
vidyut.Potential_refine = 1e20
vidyut.Potential_refinegrad = 400.0
vidyut.ReducedEF_refine = 1000.0
vidyut.ReducedEF_refinegrad = 5.0
vidyut.E_refine = 5e19
vidyut.E_refinegrad = 5e17

#0 - periodic
#1 - Dirichlet
#2 - Homogenous Neumann
#3 - Inhomogenous Neumann
#4 - Robin

vidyut.pot_bc_lo = 2 1 0
vidyut.pot_bc_hi = 2 1 0

vidyut.eden_bc_lo = 2 2 0
vidyut.eden_bc_hi = 2 2 0

vidyut.eenrg_bc_lo = 2 2 0
vidyut.eenrg_bc_hi = 2 2 0

vidyut.ion_bc_lo = 2 2 0
vidyut.ion_bc_hi = 2 2 0

vidyut.neutral_bc_lo = 2 2 0
vidyut.neutral_bc_hi = 2 2 0

# PLOTFILES
amr.plot_file = plt # root name of plot file
amr.plot_int = 1000 # number of timesteps between plot files

# CHECKPOINT
amr.chk_file = chk # root name of checkpoint file
amr.chk_int = 1000 # number of timesteps between checkpoint files

vidyut.bound_specden=1
vidyut.min_species_density=1e0
vidyut.linsolve_maxiter=1000
vidyut.bg_species_ids=1

prob.loc_x=0.0
prob.loc_y=1.0e-2
prob.loc_z=1.5625e-3
prob.rad=0.4e-3
prob.ampl=5e18
prob.bg=1e13
prob.twod=1
prob.nscale=1.0
prob.potscale=1.0

0 comments on commit 3d703cd

Please sign in to comment.