dyed_channel_initialization module reference

Initialization for the dyed_channel configuration

Data Types

dyed_channel_OBC_CS

Control structure for dyed-channel open boundaries.

Functions/Subroutines

register_dyed_channel_OBC

Add dyed channel to OBC registry.

dyed_channel_OBC_end

Clean up the dyed_channel OBC from registry.

dyed_channel_set_OBC_tracer_data

This subroutine sets the dye and flow properties at open boundary conditions.

dyed_channel_update_flow

This subroutine updates the long-channel flow

Detailed Description

Setting dyes, one for painting the inflow on each side.

Type Documentation

type, public :: dyed_channel_OBC_CS

Control structure for dyed-channel open boundaries.

Parameters
  • zonal_flow

    Mean inflow [L T-1 ~> m s-1]

  • tidal_amp

    Sloshing amplitude [L T-1 ~> m s-1]

  • frequency

    Sloshing frequency [T-1 ~> s-1]

  • OBC_transport_bug

    If true and specified open boundary conditions are being used, use a 1 m (if Boussienesq) or 1 kg m-2 layer thickness instead of the actual thickness.

Functions/Subroutine Documentation

logical function register_dyed_channel_OBC(param_file, CS, US, OBC_Reg)

Add dyed channel to OBC registry.

Parameters
  • param_file [in]

    parameter file.

  • CS

    Dyed channel control structure.

  • US [in]

    A dimensional unit scaling type

  • OBC_Reg

    OBC registry.

Callees call graph
Callees of dyed_channel_initialization::register_dyed_channel_obc calls cluster_dyed_channel_initialization dyed_channel_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_open_boundary MOM_open_boundary dyed_channel_initialization::register_dyed_channel_obc register_dyed_channel_OBC mom_error_handler::mom_error MOM_error dyed_channel_initialization::register_dyed_channel_obc->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) dyed_channel_initialization::register_dyed_channel_obc->mom_file_parser::interface::get_param mom_open_boundary::register_obc register_OBC dyed_channel_initialization::register_dyed_channel_obc->mom_open_boundary::register_obc
Text view
Callers call graph
Callers of dyed_channel_initialization::register_dyed_channel_obc calls cluster_dyed_channel_initialization dyed_channel_initialization cluster_mom_boundary_update MOM_boundary_update dyed_channel_initialization::register_dyed_channel_obc register_dyed_channel_OBC mom_boundary_update::call_obc_register call_OBC_register mom_boundary_update::call_obc_register->dyed_channel_initialization::register_dyed_channel_obc
Text view
subroutine dyed_channel_OBC_end(CS)

Clean up the dyed_channel OBC from registry.

Parameters
  • CS

    Dyed channel control structure.

subroutine dyed_channel_set_OBC_tracer_data(OBC, G, GV, param_file, tr_Reg)

This subroutine sets the dye and flow properties at open boundary conditions.

Parameters
  • OBC

    This open boundary condition type specifies whether, where, and what open boundary conditions are used.

  • G [in]

    The ocean's grid structure.

  • GV [in]

    The ocean's vertical grid structure.

  • param_file [in]

    A structure indicating the open file to parse for model parameter values.

  • tr_Reg

    Tracer registry.

Callees call graph
Callees of dyed_channel_initialization::dyed_channel_set_obc_tracer_data calls cluster_dyed_channel_initialization dyed_channel_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_open_boundary MOM_open_boundary cluster_mom_tracer_registry MOM_tracer_registry dyed_channel_initialization::dyed_channel_set_obc_tracer_data dyed_channel_set_OBC_tracer_data mom_error_handler::mom_error MOM_error dyed_channel_initialization::dyed_channel_set_obc_tracer_data->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) dyed_channel_initialization::dyed_channel_set_obc_tracer_data->mom_file_parser::interface::get_param mom_open_boundary::register_segment_tracer register_segment_tracer dyed_channel_initialization::dyed_channel_set_obc_tracer_data->mom_open_boundary::register_segment_tracer mom_tracer_registry::tracer_name_lookup tracer_name_lookup dyed_channel_initialization::dyed_channel_set_obc_tracer_data->mom_tracer_registry::tracer_name_lookup
Text view
Callers call graph
Callers of dyed_channel_initialization::dyed_channel_set_obc_tracer_data calls cluster_dyed_channel_initialization dyed_channel_initialization cluster_mom_state_initialization MOM_state_initialization dyed_channel_initialization::dyed_channel_set_obc_tracer_data dyed_channel_set_OBC_tracer_data mom_state_initialization::mom_initialize_obcs MOM_initialize_OBCs mom_state_initialization::mom_initialize_obcs->dyed_channel_initialization::dyed_channel_set_obc_tracer_data
Text view
subroutine dyed_channel_update_flow(OBC, CS, G, GV, US, h, Time)

This subroutine updates the long-channel flow

Parameters
  • OBC

    This open boundary condition type specifies whether, where, and what open boundary conditions are used.

  • CS

    Dyed channel control structure.

  • G [in]

    The ocean's grid structure.

  • GV [in]

    The ocean's vertical grid structure.

  • US [in]

    A dimensional unit scaling type

  • h [in]

    layer thickness [H ~> m or kg m-2]

  • Time [in]

    model time.

Callees call graph
Callees of dyed_channel_initialization::dyed_channel_update_flow calls cluster_dyed_channel_initialization dyed_channel_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_time_manager MOM_time_manager dyed_channel_initialization::dyed_channel_update_flow dyed_channel_update_flow mom_error_handler::mom_error MOM_error dyed_channel_initialization::dyed_channel_update_flow->mom_error_handler::mom_error mom_time_manager::time_to_real time_to_real dyed_channel_initialization::dyed_channel_update_flow->mom_time_manager::time_to_real
Text view
Callers call graph
Callers of dyed_channel_initialization::dyed_channel_update_flow calls cluster_dyed_channel_initialization dyed_channel_initialization cluster_mom_boundary_update MOM_boundary_update dyed_channel_initialization::dyed_channel_update_flow dyed_channel_update_flow mom_boundary_update::update_obc_data update_OBC_data mom_boundary_update::update_obc_data->dyed_channel_initialization::dyed_channel_update_flow
Text view
API generated with Flint · Rendered from reStructuredText