-
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
30 changed files
with
296 additions
and
136 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
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,98 @@ | ||
# ------------------ INPUTS TO MAIN PROGRAM ------------------- | ||
max_step = 100000 | ||
stop_time = 0.2 | ||
|
||
# PROBLEM SIZE & GEOMETRY | ||
geometry.is_periodic = 0 0 0 | ||
geometry.coord_sys = 0 # 0 => cart, 1 => RZ 2=>spherical | ||
geometry.prob_lo = 0 0 0 | ||
geometry.prob_hi = 1.0 1.0 1.0 | ||
amr.n_cell = 32 32 32 | ||
|
||
# >>>>>>>>>>>>> BC KEYWORDS <<<<<<<<<<<<<<<<<<<<<< | ||
# Interior, UserBC, Symmetry, SlipWall, NoSlipWall | ||
# >>>>>>>>>>>>> BC KEYWORDS <<<<<<<<<<<<<<<<<<<<<< | ||
pelec.lo_bc = "SlipWall" "SlipWall" "SlipWall" | ||
pelec.hi_bc = "SlipWall" "SlipWall" "SlipWall" | ||
|
||
# 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 | ||
|
||
# TIME STEP CONTROL | ||
pelec.cfl = 0.3 # cfl number for hyperbolic system | ||
pelec.init_shrink = 0.1 # scale back initial timestep | ||
pelec.change_max = 1.05 # scale back initial timestep | ||
pelec.dt_cutoff = 5.e-20 # level 0 timestep below which we halt | ||
|
||
# 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.blocking_factor = 16 # block factor in grid generation | ||
amr.max_grid_size = 64 | ||
amr.n_error_buf = 0 0 0 0 # number of buffer cells in error est | ||
|
||
# CHECKPOINT FILES | ||
amr.checkpoint_files_output = 0 | ||
amr.check_file = chk # root name of checkpoint file | ||
amr.check_int = 100 # number of timesteps between checkpoints | ||
|
||
# PLOTFILES | ||
amr.plot_files_output = 1 | ||
amr.plot_file = plt # root name of plotfile | ||
amr.plot_int = 1 # number of timesteps between plotfiles | ||
amr.plot_vars = density Temp | ||
amr.derive_plot_vars = x_velocity y_velocity z_velocity magvel magvort pressure | ||
|
||
# PROBLEM PARAMETERS | ||
prob.p_l = 1.0 | ||
prob.u_l = 0.0 | ||
prob.rho_l = 1.0 | ||
prob.p_r = 0.1 | ||
prob.u_r = 0.0 | ||
prob.rho_r = 0.125 | ||
prob.idir = 1 | ||
prob.frac = 0.5 | ||
|
||
# TAGGING | ||
tagging.denerr = 3 | ||
tagging.dengrad = 0.01 | ||
tagging.max_denerr_lev = 0 | ||
tagging.max_dengrad_lev = 0 | ||
tagging.presserr = 3 | ||
tagging.pressgrad = 0.01 | ||
tagging.max_presserr_lev = 0 | ||
tagging.max_pressgrad_lev = 0 | ||
tagging.max_vfracerr_lev = 0 | ||
tagging.eb_refine_type = "adaptive" | ||
tagging.max_eb_refine_lev = 0 | ||
tagging.min_eb_refine_lev = 0 | ||
|
||
tagging.refinement_indicators = box | ||
tagging.box.in_box_lo = 0.55 0.5 0.3 | ||
tagging.box.in_box_hi = 0.85 0.65 0.7 | ||
|
||
# EB | ||
eb2.geom_type = sphere | ||
eb2.sphere_radius = 0.125 | ||
eb2.sphere_center = 0.7 0.5 0.5 | ||
eb2.sphere_has_fluid_inside = 0 | ||
pelec.eb_boundary_T = 300. | ||
pelec.eb_isothermal = 1 | ||
ebd.boundary_grad_stencil_type = 0 | ||
pelec.eb_srd_max_order = 2 | ||
|
||
amrex.fpe_trap_invalid = 1 | ||
amrex.fpe_trap_zero = 1 | ||
amrex.fpe_trap_overflow = 1 |
Oops, something went wrong.