-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
392 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# ------------------ INPUTS TO MAIN PROGRAM ------------------- | ||
max_step = 10000 | ||
stop_time = 1.959e-6 #final time is 0.2*L*sqrt(rhoL/pL) | ||
|
||
# PROBLEM SIZE & GEOMETRY | ||
geometry.is_periodic = 0 0 1 | ||
geometry.coord_sys = 0 # 0 => cart, 1 => RZ 2=>spherical | ||
geometry.prob_lo = 0.0 -0.13 0.0 | ||
geometry.prob_hi = 0.87 0.653 0.0435 | ||
amr.n_cell = 160 144 8 | ||
|
||
# >>>>>>>>>>>>> BC KEYWORDS <<<<<<<<<<<<<<<<<<<<<< | ||
# Interior, UserBC, Symmetry, SlipWall, NoSlipWall | ||
# >>>>>>>>>>>>> BC KEYWORDS <<<<<<<<<<<<<<<<<<<<<< | ||
pelec.lo_bc = "FOExtrap" "NoSlipWall" "Interior" | ||
pelec.hi_bc = "FOExtrap" "NoSlipWall" "Interior" | ||
|
||
# WHICH PHYSICS | ||
pelec.do_hydro = 1 | ||
pelec.do_mol = 1 | ||
pelec.diffuse_vel = 0 | ||
pelec.diffuse_temp = 0 | ||
pelec.diffuse_spec = 0 | ||
pelec.do_react = 0 | ||
pelec.diffuse_enth = 0 | ||
|
||
# TIME STEP CONTROL | ||
pelec.dt_cutoff = 5.e-20 # level 0 timestep below which we halt | ||
pelec.cfl = 0.2 # cfl number for hyperbolic system | ||
pelec.init_shrink = 0.8 # scale back initial timestep | ||
pelec.change_max = 1.05 # scale back initial timestep | ||
|
||
# DIAGNOSTICS & VERBOSITY | ||
pelec.sum_interval = 1 # timesteps between computing mass | ||
pelec.v = 1 # verbosity in PeleC.cpp | ||
amr.v = 1 # verbosity in Amr.cpp | ||
amr.data_log = datlog | ||
|
||
# REFINEMENT / REGRIDDING | ||
amr.max_level = 1 # maximum level number allowed | ||
amr.ref_ratio = 2 2 2 2 # refinement ratio | ||
amr.regrid_int = 2 2 2 2 # how often to regrid | ||
amr.n_error_buf = 0 0 0 0 # number of buffer cells in error est | ||
amr.blocking_factor = 8 # block factor in grid generation | ||
amr.max_grid_size = 64 | ||
amr.grid_eff = 0.99 | ||
|
||
# CHECKPOINT FILES | ||
amr.checkpoint_files_output = 0 | ||
amr.check_file = chk # root name of checkpoint file | ||
amr.check_int = -1 # number of timesteps between checkpoints | ||
|
||
# PLOTFILES | ||
amr.plot_files_output = 1 | ||
amr.plot_file = plt # root name of plotfile | ||
amr.plot_int = 100 # number of timesteps between plotfiles | ||
amr.derive_plot_vars = ALL | ||
|
||
# PROBLEM PARAMETERS | ||
prob.p_l = 1e7 | ||
prob.rho_l = 9.6e-4 | ||
prob.p_r = 1e6 | ||
prob.rho_r = 1.2e-4 | ||
prob.angle = 30.0 | ||
prob.left_gas = N2 | ||
prob.right_gas = HE | ||
|
||
# Problem setup | ||
pelec.eb_boundary_T = 300. | ||
pelec.eb_isothermal = 0 | ||
|
||
# TAGGING | ||
tagging.denerr = 1e20 | ||
tagging.dengrad = 4e-5 | ||
tagging.max_denerr_lev = 3 | ||
tagging.max_dengrad_lev = 3 | ||
tagging.tempgrad = 50.0 | ||
tagging.max_tempgrad_lev = 3 | ||
tagging.max_vfracerr_lev = 0 | ||
tagging.eb_refine_type = "adaptive" | ||
tagging.max_eb_refine_lev = 0 | ||
tagging.min_eb_refine_lev = 0 | ||
|
||
eb2.geom_type = "rotated_box" | ||
eb2.box_lo = -10.0 -0.172 -10.0 | ||
eb2.box_hi = 10.0 0.172 10.0 | ||
eb2.box_rotation = 30.0 | ||
eb2.box_rotation_axe = 2 | ||
eb2.box_has_fluid_inside = 1 | ||
ebd.boundary_grad_stencil_type = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.