Kelvin_initialization module reference

Configures the model for the Kelvin wave experiment.

Kelvin = coastally-trapped Kelvin waves from the ROMS examples. Initialize with level surfaces and drive the wave in at the west, radiate out at the east.

Data Types

Kelvin_OBC_CS

Control structure for Kelvin wave open boundaries.

Functions/Subroutines

register_Kelvin_OBC

Add Kelvin wave to OBC registry.

Kelvin_OBC_end

Clean up the Kelvin wave OBC from registry.

Kelvin_initialize_topography

This subroutine sets up the Kelvin topography and land mask

Kelvin_set_OBC_data

This subroutine sets the properties of flow at open boundary conditions.

Type Documentation

type, public :: Kelvin_OBC_CS

Control structure for Kelvin wave open boundaries.

Parameters
  • mode

    Vertical mode

  • coast_angle

    Angle of coastline [rad]

  • coast_offset1

    Longshore distance to coastal angle [L ~> m]

  • coast_offset2

    Offshore distance to coastal angle [L ~> m]

  • H0

    Bottom depth [Z ~> m]

  • F_0

    Coriolis parameter [T-1 ~> s-1]

  • rho_range

    Density range [R ~> kg m-3]

  • rho_0

    Mean density [R ~> kg m-3]

  • wave_period

    Period of the mode-0 waves [T ~> s]

  • ssh_amp

    Amplitude of the sea surface height forcing for mode-0 waves [Z ~> m]

  • inflow_amp

    Amplitude of the boundary velocity forcing for internal waves [L T-1 ~> m s-1]

  • OBC_nudging_time

    The timescale with which the inflowing open boundary velocities are nudged toward their intended values with the Kelvin wave test case [T ~> s], or a negative value to retain the value that is set when the OBC segments are initialized.

  • indexing_bugs

    If true, retain several horizontal indexing bugs that were in the original version of Kelvin_set_OBC_data.

Functions/Subroutine Documentation

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

Add Kelvin wave to OBC registry.

Parameters
  • param_file [in]

    parameter file.

  • CS

    Kelvin wave control structure.

  • US [in]

    A dimensional unit scaling type

  • OBC_Reg

    OBC registry.

  • mdl

    This subroutine's name.

  • casename

    This case's name.

Callees call graph
Callees of kelvin_initialization::register_kelvin_obc calls cluster_kelvin_initialization Kelvin_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_open_boundary MOM_open_boundary kelvin_initialization::register_kelvin_obc register_Kelvin_OBC mom_error_handler::mom_error MOM_error kelvin_initialization::register_kelvin_obc->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) kelvin_initialization::register_kelvin_obc->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) kelvin_initialization::register_kelvin_obc->mom_file_parser::interface::log_version mom_open_boundary::register_obc register_OBC kelvin_initialization::register_kelvin_obc->mom_open_boundary::register_obc
Text view
Callers call graph
Callers of kelvin_initialization::register_kelvin_obc calls cluster_kelvin_initialization Kelvin_initialization cluster_mom_boundary_update MOM_boundary_update kelvin_initialization::register_kelvin_obc register_Kelvin_OBC mom_boundary_update::call_obc_register call_OBC_register mom_boundary_update::call_obc_register->kelvin_initialization::register_kelvin_obc
Text view
subroutine Kelvin_OBC_end(CS)

Clean up the Kelvin wave OBC from registry.

Parameters
  • CS

    Kelvin wave control structure.

Callers call graph
Callers of kelvin_initialization::kelvin_obc_end calls cluster_kelvin_initialization Kelvin_initialization cluster_mom_boundary_update MOM_boundary_update kelvin_initialization::kelvin_obc_end Kelvin_OBC_end mom_boundary_update::obc_register_end OBC_register_end mom_boundary_update::obc_register_end->kelvin_initialization::kelvin_obc_end
Text view
subroutine Kelvin_initialize_topography(D, G, param_file, max_depth, US)

This subroutine sets up the Kelvin topography and land mask

Parameters
  • G [in]

    The dynamic horizontal grid type

  • D [out]

    Ocean bottom depth [Z ~> m]

  • param_file [in]

    Parameter file structure

  • max_depth [in]

    Maximum model depth [Z ~> m]

  • US [in]

    A dimensional unit scaling type

Callees call graph
Callees of kelvin_initialization::kelvin_initialize_topography calls cluster_kelvin_initialization Kelvin_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser kelvin_initialization::kelvin_initialize_topography Kelvin_initialize_topography mom_error_handler::mom_mesg MOM_mesg kelvin_initialization::kelvin_initialize_topography->mom_error_handler::mom_mesg mom_file_parser::interface::get_param get_param (interface) kelvin_initialization::kelvin_initialize_topography->mom_file_parser::interface::get_param
Text view
Callers call graph
Callers of kelvin_initialization::kelvin_initialize_topography calls cluster_kelvin_initialization Kelvin_initialization cluster_mom_fixed_initialization MOM_fixed_initialization kelvin_initialization::kelvin_initialize_topography Kelvin_initialize_topography mom_fixed_initialization::mom_initialize_topography MOM_initialize_topography mom_fixed_initialization::mom_initialize_topography->kelvin_initialization::kelvin_initialize_topography
Text view
subroutine Kelvin_set_OBC_data(OBC, CS, G, GV, US, h, Time)

This subroutine sets the properties of flow at open boundary conditions.

Parameters
  • OBC

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

  • CS

    Kelvin wave 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 kelvin_initialization::kelvin_set_obc_data calls cluster_kelvin_initialization Kelvin_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_open_boundary MOM_open_boundary cluster_mom_time_manager MOM_time_manager kelvin_initialization::kelvin_set_obc_data Kelvin_set_OBC_data mom_error_handler::mom_error MOM_error kelvin_initialization::kelvin_set_obc_data->mom_error_handler::mom_error mom_open_boundary::rotate_obc_segment_direction rotate_OBC_segment_direction kelvin_initialization::kelvin_set_obc_data->mom_open_boundary::rotate_obc_segment_direction mom_time_manager::time_to_real time_to_real kelvin_initialization::kelvin_set_obc_data->mom_time_manager::time_to_real
Text view
Callers call graph
Callers of kelvin_initialization::kelvin_set_obc_data calls cluster_kelvin_initialization Kelvin_initialization cluster_mom_boundary_update MOM_boundary_update kelvin_initialization::kelvin_set_obc_data Kelvin_set_OBC_data mom_boundary_update::update_obc_data update_OBC_data mom_boundary_update::update_obc_data->kelvin_initialization::kelvin_set_obc_data
Text view
API generated with Flint · Rendered from reStructuredText