-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input sounding initialization with moisture.
- Loading branch information
Aaron Lattanzi
committed
Dec 7, 2023
1 parent
c0a1c9f
commit 52c1489
Showing
5 changed files
with
118 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
1000. 300.0 1.0 | ||
0.0 300.0 1.0 0.0 0.0 | ||
10000.0 300.0 1.0 0.0 0.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# ------------------ INPUTS TO MAIN PROGRAM ------------------- | ||
max_step = 2000 | ||
stop_time = 3600.0 | ||
|
||
amrex.fpe_trap_invalid = 1 | ||
|
||
fabarray.mfiter_tile_size = 1024 1024 1024 | ||
|
||
# PROBLEM SIZE & GEOMETRY | ||
geometry.prob_extent = 20000.0 312.5 10000.0 | ||
amr.n_cell = 256 4 128 | ||
geometry.is_periodic = 1 1 0 | ||
zlo.type = "SlipWall" | ||
zhi.type = "SlipWall" | ||
|
||
# TIME STEP CONTROL | ||
erf.fixed_dt = 0.5 | ||
erf.fixed_mri_dt_ratio = 4 | ||
|
||
# DIAGNOSTICS & VERBOSITY | ||
erf.sum_interval = 1 # timesteps between computing mass | ||
erf.v = 1 # verbosity in ERF.cpp | ||
amr.v = 1 # verbosity in Amr.cpp | ||
|
||
# REFINEMENT / REGRIDDING | ||
amr.max_level = 0 # maximum level number allowed | ||
|
||
# CHECKPOINT FILES | ||
erf.check_file = chk # root name of checkpoint file | ||
erf.check_int = 100 # number of timesteps between checkpoints | ||
|
||
# PLOTFILES | ||
erf.plot_file_1 = plt # prefix of plotfile name | ||
erf.plot_int_1 = 100 # number of timesteps between plotfiles | ||
erf.plot_vars_1 = density rhotheta rhoQt rhoQp rhoadv_0 x_velocity y_velocity z_velocity pressure theta scalar temp pres_hse dens_hse pert_pres pert_dens qt qp qv qc qi | ||
|
||
# SOLVER CHOICES | ||
erf.use_gravity = true | ||
erf.use_coriolis = false | ||
erf.use_rayleigh_damping = false | ||
|
||
erf.buoyancy_type = 1 | ||
|
||
erf.dycore_horiz_adv_type = "Upwind_3rd" | ||
erf.dycore_vert_adv_type = "Upwind_3rd" | ||
erf.dryscal_horiz_adv_type = "Upwind_3rd" | ||
erf.dryscal_vert_adv_type = "Upwind_3rd" | ||
erf.moistscal_horiz_adv_type = "Upwind_3rd" | ||
erf.moistscal_vert_adv_type = "Upwind_3rd" | ||
|
||
# PHYSICS OPTIONS | ||
erf.les_type = "None" | ||
erf.pbl_type = "None" | ||
erf.moisture_model = "Kessler" | ||
erf.use_moist_background = true | ||
|
||
erf.molec_diff_type = "ConstantAlpha" | ||
erf.rho0_trans = 1.0 # [kg/m^3], used to convert input diffusivities | ||
erf.dynamicViscosity = 1.0 # [kg/(m-s)] ==> nu = 75.0 m^2/s | ||
erf.alpha_T = 1.0 # [m^2/s] | ||
erf.alpha_C = 1.0 | ||
|
||
# INITIAL CONDITIONS | ||
erf.init_type = "input_sounding" | ||
erf.init_sounding_ideal = true | ||
|
||
#erf.init_type = "" | ||
|
||
# PROBLEM PARAMETERS (optional) | ||
# warm bubble input | ||
prob.T_pert = 0.0 # theta pert magnitude | ||
prob.x_c = 10000.0 | ||
prob.z_c = 2000.0 | ||
prob.x_r = 2000.0 | ||
prob.z_r = 2000.0 | ||
prob.T_0 = 300.0 | ||
prob.Qt_0 = 0.0 | ||
prob.T_pert_is_airtemp = false # Perturb theta |
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