MOM_geothermal module reference
Implemented geothermal heating at the ocean bottom.
Data Types
Control structure for geothermal heating |
Functions/Subroutines
Applies geothermal heating, including the movement of water between isopycnal layers to match the target densities. The heating is applied to the bottommost layers that occur within GEOTHERMAL_THICKNESS of the bottom. If the partial derivative of the coordinate density with temperature is positive or very small, the layers are simply heated in place. Any heat that can not be applied to the ocean is returned (WHERE)? |
|
Applies geothermal heating to the bottommost layers that occur within GEOTHERMAL_THICKNESS of the bottom, by simply heating the water in place. Any heat that can not be applied to the ocean is returned (WHERE)? |
|
Initialize parameters and allocate memory associated with the geothermal heating module. |
|
Clean up and deallocate memory associated with the geothermal heating module. |
Detailed Description
Geothermal heating can be added either in a layered isopycnal mode, in which the heating raises the density of the layer to the target density of the layer above, and then moves the water into that layer, or in a simple Eulerian mode, in which the bottommost GEOTHERMAL_THICKNESS are heated. Geothermal heating will also provide a buoyant source of bottom TKE that can be used to further mix the near-bottom water. In cold fresh water lakes where heating increases density, water should be moved into deeper layers, but this is not implemented yet.
Type Documentation
- type, public :: geothermal_CS
Control structure for geothermal heating
- Parameters
initialized
True if this control structure has been initialized.
dRcv_dT_inplace
The value of dRcv_dT above which (dRcv_dT is negative) the water is heated in place instead of moving upward between layers in non-ALE layered mode [R C-1 ~> kg m-3 degC-1]
geo_heat
The geothermal heat flux [Q R Z T-1 ~> W m-2]
geothermal_thick
The thickness over which geothermal heating is applied [H ~> m or kg m-2]
apply_geothermal
If true, geothermal heating will be applied. This is false if GEOTHERMAL_SCALE is 0 and there is no heat to apply.
Time
A pointer to the ocean model's clock
diag
A structure that is used to regulate the timing timing of diagnostic output
id_internal_heat_heat_tendency
ID for diagnostic of heat tendency
id_internal_heat_temp_tendency
ID for diagnostic of temperature tendency
id_internal_heat_h_tendency
ID for diagnostic of thickness tendency
id_geothermal_buoyancy_flux
ID for diagnostic of bottom buoyancy flux
Functions/Subroutine Documentation
- subroutine geothermal_entraining(h, tv, dt, ea, eb, G, GV, US, CS, halo)
Applies geothermal heating, including the movement of water between isopycnal layers to match the target densities. The heating is applied to the bottommost layers that occur within GEOTHERMAL_THICKNESS of the bottom. If the partial derivative of the coordinate density with temperature is positive or very small, the layers are simply heated in place. Any heat that can not be applied to the ocean is returned (WHERE)?
- Parameters
G [inout]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
h [inout]
Layer thicknesses [H ~> m or kg m-2]
tv [inout]
A structure containing pointers to any available thermodynamic fields.
dt [in]
Time increment [T ~> s].
ea [inout]
The amount of fluid moved downward into a layer; this should be increased due to mixed layer detrainment [H ~> m or kg m-2]
eb [inout]
The amount of fluid moved upward into a layer; this should be increased due to mixed layer entrainment [H ~> m or kg m-2].
US [in]
A dimensional unit scaling type
CS [in]
The control structure returned by a previous call to geothermal_init.
halo [in]
Halo width over which to work
Callees call graph
Text view
mom_geothermal::geothermal_entraining → mom_diag_mediator::interface::post_data
mom_geothermal::geothermal_entraining → mom_eos::interface::calculate_density
mom_geothermal::geothermal_entraining → mom_eos::interface::calculate_density_derivs
mom_geothermal::geothermal_entraining → mom_error_handler::mom_error
Callers call graph
- subroutine geothermal_in_place(h, tv, dt, G, GV, US, CS, BFlx_geothermal, halo)
Applies geothermal heating to the bottommost layers that occur within GEOTHERMAL_THICKNESS of the bottom, by simply heating the water in place. Any heat that can not be applied to the ocean is returned (WHERE)?
- Parameters
G [inout]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
h [in]
Layer thicknesses [H ~> m or kg m-2]
tv [inout]
A structure containing pointers to any available thermodynamic fields.
dt [in]
Time increment [T ~> s].
US [in]
A dimensional unit scaling type
CS [in]
Geothermal heating control struct
BFlx_geothermal [out]
Geothermal buoyancy flux in [Z2 T-3 ~> m2 s-3]
halo [in]
Halo width over which to work
Callees call graph
Text view
mom_geothermal::geothermal_in_place → mom_diag_mediator::interface::post_data
mom_geothermal::geothermal_in_place → mom_eos::interface::calculate_density_derivs
mom_geothermal::geothermal_in_place → mom_eos::interface::calculate_specific_vol_derivs
mom_geothermal::geothermal_in_place → mom_error_handler::mom_error
Callers call graph
- subroutine geothermal_init(Time, G, GV, US, param_file, diag, CS, useALEalgorithm)
Initialize parameters and allocate memory associated with the geothermal heating module.
- Parameters
Time [in]
Current model time.
G [inout]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
US [in]
A dimensional unit scaling type
param_file [in]
A structure to parse for run-time parameters.
diag [inout]
Structure used to regulate diagnostic output.
CS [inout]
Geothermal heating control struct
useALEalgorithm [in]
logical for whether to use ALE remapping
Callees call graph
Text view
mom_geothermal::geothermal_init → mom_diag_mediator::interface::post_data
mom_geothermal::geothermal_init → mom_diag_mediator::register_diag_field
mom_geothermal::geothermal_init → mom_diag_mediator::register_static_field
mom_geothermal::geothermal_init → mom_domain_infra::interface::pass_var
mom_geothermal::geothermal_init → mom_error_handler::mom_error
mom_geothermal::geothermal_init → mom_file_parser::interface::get_param
mom_geothermal::geothermal_init → mom_file_parser::interface::log_param
mom_geothermal::geothermal_init → mom_file_parser::interface::log_version
mom_geothermal::geothermal_init → mom_io::interface::mom_read_data
mom_geothermal::geothermal_init → mom_safe_alloc::interface::safe_alloc_alloc
mom_geothermal::geothermal_init → mom_string_functions::slasher
mom_geothermal::geothermal_init → mom_verticalgrid::get_thickness_units
Callers call graph
- subroutine geothermal_end(CS)
Clean up and deallocate memory associated with the geothermal heating module.
- Parameters
CS [inout]
Geothermal heating control struct