forked from Exawind/amr-wind
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HDF5 plot file support (Exawind#606)
- Loading branch information
1 parent
d352ac6
commit d5d2a2b
Showing
6 changed files
with
139 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# 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.25 # Use this constant dt if > 0 | ||
time.cfl = 0.95 # CFL factor | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# INPUT AND OUTPUT # | ||
#.......................................# | ||
time.plot_interval = 10 # Steps between plot files | ||
time.checkpoint_interval = -1 # Steps between checkpoint files | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# PHYSICS # | ||
#.......................................# | ||
incflo.gravity = 0.0 0.0 -9.81 # Gravitational force (3D) | ||
incflo.density = 1.3223 # Reference density | ||
incflo.use_godunov = 1 | ||
incflo.godunov_type = "ppm_nolim" | ||
transport.viscosity = 0.0 | ||
transport.laminar_prandtl = 0.7 | ||
transport.turbulent_prandtl = 0.3333 | ||
turbulence.model = OneEqKsgsM84 | ||
incflo.physics = ABL | ||
ICNS.source_terms = BoussinesqBuoyancy CoriolisForcing GeostrophicForcing | ||
TKE.source_terms = KsgsM84Src | ||
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 | ||
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.kappa = .40 | ||
ABL.mo_gamma_m = 4.8 | ||
ABL.mo_gamma_h = 7.8 | ||
ABL.surface_roughness_z0 = 0.1 | ||
ABL.surface_temp_rate = -0.25 | ||
ABL.surface_temp_init = 265.0 | ||
ABL.normal_direction = 2 | ||
ABL.stats_output_frequency = 100 | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# ADAPTIVE MESH REFINEMENT # | ||
#.......................................# | ||
amr.n_cell = 48 48 48 # Grid cells at coarsest AMRlevel | ||
amr.max_level = 0 # Max AMR level in hierarchy | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# GEOMETRY # | ||
#.......................................# | ||
geometry.prob_lo = 0. 0. 0. # Lo corner coordinates | ||
geometry.prob_hi = 400. 400. 400. # Hi corner coordinates | ||
geometry.is_periodic = 1 1 0 # Periodicity x y z (0/1) | ||
# Boundary conditions | ||
zlo.type = "wall_model" | ||
zlo.temperature_type = "wall_model" | ||
zhi.type = "slip_wall" | ||
zhi.temperature_type = "fixed_gradient" | ||
zhi.temperature = 0.01 | ||
zlo.tke_type = "zero_gradient" | ||
#zhi.tke_type = "zero_gradient" | ||
incflo.verbose = 0 | ||
|
||
io.output_hdf5_plotfile = true |