-
Notifications
You must be signed in to change notification settings - Fork 85
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
9 changed files
with
133 additions
and
16 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
100 changes: 100 additions & 0 deletions
100
test/test_files/abl_multiphase_laminar_input/abl_multiphase_laminar_input.inp
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,100 @@ | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# SIMULATION STOP # | ||
#.......................................# | ||
time.stop_time = 28800.0 # Max (simulated) time to evolve | ||
time.max_step = 10 # Max number of time steps | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# TIME STEP COMPUTATION # | ||
#.......................................# | ||
time.fixed_dt = 0.05 # Use this constant dt if > 0 | ||
time.cfl = 0.95 # CFL factor | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# INPUT AND OUTPUT # | ||
#.......................................# | ||
io.restart_file = "../abl_multiphase_laminar/chk00005" | ||
time.plot_interval = 10 # Steps between plot files | ||
time.checkpoint_interval = -1 # Steps between checkpoint files | ||
io.outputs = velocity_mueff temperature_mueff | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# PHYSICS # | ||
#.......................................# | ||
incflo.gravity = 0.0 0.0 -9.81 # Gravitational force (3D) | ||
incflo.use_godunov = 1 | ||
incflo.diffusion_type = 1 | ||
incflo.godunov_type = "weno_z" | ||
incflo.mflux_type = "minmod" | ||
transport.model = TwoPhaseTransport | ||
transport.viscosity_fluid1 = 1e-3 | ||
transport.viscosity_fluid2 = 1e-5 | ||
transport.laminar_prandtl_fluid1 = 7.2 | ||
transport.laminar_prandtl_fluid2 = 0.7 | ||
transport.turbulent_prandtl = 0.3333 | ||
turbulence.model = Laminar | ||
incflo.physics = MultiPhase ABL OceanWaves | ||
ICNS.source_terms = BoussinesqBuoyancy CoriolisForcing GeostrophicForcing GravityForcing | ||
ICNS.use_perturb_pressure = true | ||
MultiPhase.density_fluid1=1020. | ||
MultiPhase.density_fluid2=1.3223 | ||
BoussinesqBuoyancy.reference_temperature = 263.5 | ||
CoriolisForcing.east_vector = 1.0 0.0 0.0 | ||
CoriolisForcing.north_vector = 0.0 1.0 0.0 | ||
CoriolisForcing.latitude = 90.0 | ||
CoriolisForcing.rotational_time_period = 90405.5439881955 | ||
GeostrophicForcing.geostrophic_wind = 8.0 0.0 0.0 | ||
GeostrophicForcing.wind_forcing_off_height = 3.0 | ||
GeostrophicForcing.wind_forcing_ramp_height = 7.0 | ||
incflo.velocity = 8.0 0.0 0.0 | ||
ABL.reference_temperature = 263.5 | ||
ABL.temperature_heights = 0.0 100 400.0 | ||
ABL.temperature_values = 265.0 265.0 268.0 | ||
ABL.perturb_temperature = false | ||
ABL.cutoff_height = 50.0 | ||
ABL.perturb_velocity = true | ||
ABL.perturb_ref_height = 50.0 | ||
ABL.Uperiods = 4.0 | ||
ABL.Vperiods = 4.0 | ||
ABL.deltaU = 1e-5 | ||
ABL.deltaV = 1e-5 | ||
ABL.normal_direction = 2 | ||
# frequency is rapid for the sake of reg test | ||
ABL.stats_output_frequency = 5 | ||
OceanWaves.label = Wave1 | ||
OceanWaves.Wave1.type = LinearWaves | ||
OceanWaves.Wave1.wave_height=2.0 | ||
OceanWaves.Wave1.wave_length=40.0 | ||
OceanWaves.Wave1.water_depth=400 | ||
OceanWaves.Wave1.relax_zone_gen_length=40.0 | ||
OceanWaves.Wave1.relax_zone_out_length=40.0 | ||
|
||
ABL.bndry_file = "../abl_multiphase_laminar/bndry_files" | ||
ABL.bndry_io_mode = 1 | ||
ABL.bndry_planes = xlo | ||
ABL.bndry_output_start_time = 0.2 | ||
ABL.bndry_var_names = velocity temperature vof density | ||
ABL.bndry_output_format = native | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# ADAPTIVE MESH REFINEMENT # | ||
#.......................................# | ||
amr.n_cell = 48 48 96 # Grid cells at coarsest AMRlevel | ||
amr.max_level = 2 # Max AMR level in hierarchy | ||
tagging.labels = static | ||
tagging.static.type = CartBoxRefinement | ||
tagging.static.static_refinement_def = static_box.txt | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# GEOMETRY # | ||
#.......................................# | ||
geometry.prob_lo = 0. 0. -400. # Lo corner coordinates | ||
geometry.prob_hi = 400. 400. 400. # Hi corner coordinates | ||
geometry.is_periodic = 0 1 0 # Periodicity x y z (0/1) | ||
# Boundary conditions | ||
xlo.type = "mass_inflow" | ||
xlo.density = 1.0 | ||
xlo.vof = 0.0 | ||
xlo.temperature = 0.0 | ||
xhi.type = "pressure_outflow" | ||
zlo.type = "slip_wall" | ||
zhi.type = "slip_wall" | ||
zhi.temperature_type = "fixed_gradient" | ||
zhi.temperature = 0.01 | ||
incflo.verbose = 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,5 @@ | ||
2 | ||
1 | ||
0.0 0.0 -20. 400. 400. 20. | ||
1 | ||
0.0 0.0 -8. 400. 400. 8. |