MOM_geothermal module reference

Implemented geothermal heating at the ocean bottom.

Data Types

geothermal_CS

Control structure for geothermal heating

Functions/Subroutines

geothermal_entraining

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)?

geothermal_in_place

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)?

geothermal_init

Initialize parameters and allocate memory associated with the geothermal heating module.

geothermal_end

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
Callees of mom_geothermal::geothermal_entraining calls cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_geothermal MOM_geothermal mom_diag_mediator::interface::post_data post_data (interface) mom_eos::interface::calculate_density calculate_density (interface) mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) mom_error_handler::mom_error MOM_error mom_geothermal::geothermal_entraining geothermal_entraining 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
Text view
Callers call graph
Callers of mom_geothermal::geothermal_entraining calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_geothermal MOM_geothermal mom_diabatic_driver::layered_diabatic layered_diabatic [private/internal] mom_geothermal::geothermal_entraining geothermal_entraining mom_diabatic_driver::layered_diabatic->mom_geothermal::geothermal_entraining
Text view
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
Callees of mom_geothermal::geothermal_in_place calls cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_geothermal MOM_geothermal mom_diag_mediator::interface::post_data post_data (interface) mom_eos::eos_domain EOS_domain mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) mom_eos::interface::calculate_specific_vol_derivs calculate_specific_vol_derivs (interface) mom_error_handler::mom_error MOM_error mom_geothermal::geothermal_in_place geothermal_in_place mom_geothermal::geothermal_in_place->mom_diag_mediator::interface::post_data mom_geothermal::geothermal_in_place->mom_eos::eos_domain 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
Text view
Callers call graph
Callers of mom_geothermal::geothermal_in_place calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_geothermal MOM_geothermal mom_diabatic_driver::diabatic_ale diabatic_ALE [private/internal] mom_geothermal::geothermal_in_place geothermal_in_place mom_diabatic_driver::diabatic_ale->mom_geothermal::geothermal_in_place mom_diabatic_driver::diabatic_ale_legacy diabatic_ALE_legacy [private/internal] mom_diabatic_driver::diabatic_ale_legacy->mom_geothermal::geothermal_in_place
Text view
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
Callees of mom_geothermal::geothermal_init calls cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_geothermal MOM_geothermal cluster_mom_io MOM_io cluster_mom_safe_alloc MOM_safe_alloc cluster_mom_string_functions MOM_string_functions cluster_mom_verticalgrid MOM_verticalGrid mom_diag_mediator::interface::post_data post_data (interface) mom_diag_mediator::register_diag_field register_diag_field mom_diag_mediator::register_static_field register_static_field mom_domain_infra::interface::pass_var pass_var (interface) mom_error_handler::mom_error MOM_error mom_file_parser::interface::get_param get_param (interface) mom_file_parser::interface::log_param log_param (interface) mom_file_parser::interface::log_version log_version (interface) mom_geothermal::geothermal_init geothermal_init 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_io::interface::mom_read_data MOM_read_data (interface) mom_geothermal::geothermal_init->mom_io::interface::mom_read_data mom_safe_alloc::interface::safe_alloc_alloc safe_alloc_alloc (interface) mom_geothermal::geothermal_init->mom_safe_alloc::interface::safe_alloc_alloc mom_string_functions::slasher slasher mom_geothermal::geothermal_init->mom_string_functions::slasher mom_verticalgrid::get_thickness_units get_thickness_units mom_geothermal::geothermal_init->mom_verticalgrid::get_thickness_units
Text view
Callers call graph
Callers of mom_geothermal::geothermal_init calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_geothermal MOM_geothermal mom_diabatic_driver::diabatic_driver_init diabatic_driver_init mom_geothermal::geothermal_init geothermal_init mom_diabatic_driver::diabatic_driver_init->mom_geothermal::geothermal_init
Text view
subroutine geothermal_end(CS)

Clean up and deallocate memory associated with the geothermal heating module.

Parameters
  • CS [inout]

    Geothermal heating control struct

Callers call graph
Callers of mom_geothermal::geothermal_end calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_geothermal MOM_geothermal mom_diabatic_driver::diabatic_driver_end diabatic_driver_end mom_geothermal::geothermal_end geothermal_end mom_diabatic_driver::diabatic_driver_end->mom_geothermal::geothermal_end
Text view
API generated with Flint · Rendered from reStructuredText