-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix parsing tagging input for box. * Couple of fixes for turbinflow for error introduced while re-arranging the level data. * Fix TurbInflow case to match changes in turbinflow velocity field handling. * Add a input file with refinement on loZ.
- Loading branch information
Showing
5 changed files
with
97 additions
and
21 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,78 @@ | ||
#----------------------DOMAIN DEFINITION------------------------ | ||
geometry.is_periodic = 1 1 0 # For each dir, 0: non-perio, 1: periodic | ||
geometry.coord_sys = 0 # 0 => cart, 1 => RZ | ||
geometry.prob_lo = 0.0 0.0 0.0 # x_lo y_lo (z_lo) | ||
geometry.prob_hi = 0.01 0.01 0.01 # x_hi y_hi (z_hi) | ||
|
||
# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< | ||
# Interior, Inflow, Outflow, Symmetry, | ||
# SlipWallAdiab, NoSlipWallAdiab, SlipWallIsotherm, NoSlipWallIsotherm | ||
peleLM.lo_bc = Interior Interior Inflow | ||
peleLM.hi_bc = Interior Interior Outflow | ||
|
||
|
||
#-------------------------AMR CONTROL---------------------------- | ||
amr.n_cell = 32 32 32 # Level 0 number of cells in each direction | ||
amr.v = 1 # AMR verbose | ||
amr.max_level = 1 # maximum level number allowed | ||
amr.ref_ratio = 2 2 2 2 # refinement ratio | ||
amr.regrid_int = 2 # how often to regrid | ||
amr.n_error_buf = 0 1 2 2 # number of buffer cells in error est | ||
amr.grid_eff = 0.7 # what constitutes an efficient grid | ||
amr.blocking_factor = 16 # block factor in grid generation (min box size) | ||
amr.max_grid_size = 64 # max box size | ||
|
||
|
||
#--------------------------- Problem ------------------------------- | ||
prob.T_mean = 298.0 | ||
prob.P_mean = 101325.0 | ||
prob.flowDir = 2 | ||
prob.flowMag = 5 | ||
|
||
prob.turb_file = TurbFileHIT/TurbTEST | ||
prob.turb_scale_loc = 633.151 | ||
prob.turb_scale_vel = 0.5 | ||
prob.turb_center = 0.005 0.005 | ||
prob.turb_conv_vel = 5. | ||
prob.turb_nplane = 32 | ||
|
||
#------------ INPUTS TO CONSTANT TRANSPORT ----------------- | ||
transport.const_viscosity = 0.0001 | ||
transport.const_bulk_viscosity = 0.0 | ||
transport.const_conductivity = 0.0 | ||
transport.const_diffusivity = 0.0001 | ||
|
||
#-------------------------PeleLM CONTROL---------------------------- | ||
peleLM.v = 1 | ||
peleLM.incompressible = 0 | ||
peleLM.rho = 1.17 | ||
peleLM.mu = 0.0 | ||
peleLM.sdc_iterMax = 1 | ||
peleLM.floor_species = 0 | ||
peleLM.num_divu_iter = 1 | ||
peleLM.num_init_iter = 3 | ||
|
||
peleLM.do_temporals = 1 | ||
peleLM.temporal_int = 2 | ||
peleLM.mass_balance = 1 | ||
|
||
amr.plot_int = 10 | ||
amr.max_step = 300 | ||
amr.dt_shrink = 0.1 | ||
amr.stop_time = 0.02 | ||
amr.cfl = 0.5 | ||
amr.derive_plot_vars = avg_pressure mag_vort mass_fractions | ||
|
||
#--------------------REFINEMENT CONTROL------------------------ | ||
amr.refinement_indicators = loBoxZ | ||
#amr.O2.max_level = 1 | ||
#amr.O2.value_greater = 0.4 | ||
#amr.O2.field_name = Y(O2) | ||
|
||
amr.loBoxZ.in_box_lo = 0.0 0.0 0.0 | ||
amr.loBoxZ.in_box_hi = 0.01 0.01 0.005 | ||
|
||
fabarray.mfiter_tile_size = 1024 1024 1024 | ||
#amrex.fpe_trap_invalid = 1 | ||
#amrex.fpe_trap_zero = 1 | ||
#amrex.fpe_trap_overflow = 1 |
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