Section: TerrainDrag
These parameters are active when TerrainDrag is included in
incflo.physics.
TerrainDrag has two operation modes:
Terrain-file mode (default), where terrain and roughness are read from files.
Ocean-wave mode, activated automatically when
OceanWavesphysics is active and thevoffield is not present. In this mode, terrain blanking and drag markers are constructed from wave fields.
- TerrainDrag.terrain_file
type: String, optional, default =
terrain.amrwindInput file for terrain height data in terrain-file mode.
- TerrainDrag.roughness_file
type: String, optional, default =
terrain.roughnessInput file for roughness-length data in terrain-file mode.
If this file is missing or cannot be opened, the roughness is set from
TerrainDrag.uniform_roughness.
- TerrainDrag.uniform_roughness
type: Real, optional, default = 0.1
Uniform roughness length used when
TerrainDrag.roughness_fileis not available.If both
uniform_roughnessandroughness_fileare provided, values from the roughness file are used where available.
- TerrainDrag.damp_east_slope
type: Real, optional, default = 0.0
Width of the east (+x) damping ramp region.
- TerrainDrag.damp_east_full
type: Real, optional, default = 0.0
Width of the east (+x) full-strength damping region adjacent to the boundary.
- TerrainDrag.damp_west_slope
type: Real, optional, default = 0.0
Width of the west (-x) damping ramp region.
- TerrainDrag.damp_west_full
type: Real, optional, default = 0.0
Width of the west (-x) full-strength damping region adjacent to the boundary.
- TerrainDrag.damp_north_slope
type: Real, optional, default = 0.0
Width of the north (+y) damping ramp region.
- TerrainDrag.damp_north_full
type: Real, optional, default = 0.0
Width of the north (+y) full-strength damping region adjacent to the boundary.
- TerrainDrag.damp_south_slope
type: Real, optional, default = 0.0
Width of the south (-y) damping ramp region.
- TerrainDrag.damp_south_full
type: Real, optional, default = 0.0
Width of the south (-y) full-strength damping region adjacent to the boundary.
- TerrainDrag.horizontal_time_scale
type: Real, optional, default = 20.0
Time scale used to convert the assembled damping coefficient into
terrain_dampingforcing (larger values reduce damping strength).
- TerrainDrag.horizontal_abl_height
type: Real, optional, default = 1.0e15
Height at which horizontal damping begins to turn on.
- TerrainDrag.horizontal_slope_end
type: Real, optional, default = 1.0e30
Height where the horizontal damping vertical multiplier reaches full value.
- TerrainDrag.vertical_slope
type: Real, optional, default = 0.0
Height where additional full-domain vertical damping begins to ramp on.
- TerrainDrag.vertical_full
type: Real, optional, default = 1.0e30
Height where additional full-domain vertical damping reaches full strength.
Notes
The terrain drag marker field (
terrain_drag) is derived from transitions interrain_blankand is used by Section: Momentum Sources whenDragForcingis active.In ocean-wave mode, TerrainDrag derives
terrain_blankandterrain_heightfrom wave fields and sets a uniform low roughness (terrainz0 = 1.0e-4).In ocean-wave mode, terrain-file and roughness-file parameters are not used.