shelfwave_initialization module reference

Configures the model for the idealized shelfwave test case.

More…

Data Types

shelfwave_obc_cs

Control structure for shelfwave open boundaries.

Functions/Subroutines

register_shelfwave_obc()

Add shelfwave to OBC registry.

shelfwave_obc_end()

Clean up the shelfwave OBC from registry.

shelfwave_initialize_topography()

Initialization of topography.

shelfwave_set_obc_data()

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

Detailed Description

Configures the model for the idealized shelfwave test case.

Type Documentation

type  shelfwave_initialization/shelfwave_obc_cs

Control structure for shelfwave open boundaries.

Type fields:
  • % my_amp :: real Amplitude of the open boundary current inflows [L T-1 ~> m s-1].

  • % kk :: real Cross-shore wavenumber [km-1] or [m-1].

  • % ll :: real Longshore wavenumber [km-1] or [m-1].

  • % alpha :: real Exponential decay rate in the y-direction [km-1] or [m-1].

  • % omega :: real Frequency of the shelf wave [T-1 ~> s-1].

  • % shelfwave_correct_amplitude :: logical If true, SHELFWAVE_AMPLITUDE gives the actual inflow velocity, rather than giving an overall scaling factor for the flow.

[source]

Function/Subroutine Documentation

function  shelfwave_initialization/register_shelfwave_obc(param_file, CS, G, US, OBC_Reg)

Add shelfwave to OBC registry.

Parameters:
  • param_file :: param_file [in] parameter file.

  • cs :: shelfwave control structure.

  • g :: [in] The ocean’s grid structure.

  • us :: [in] A dimensional unit scaling type

  • obc_reg :: Open boundary condition registry.

Call to:

mdl mom_error_handler::mom_error

[source]

subroutine shelfwave_initialization/shelfwave_obc_end(CS)

Clean up the shelfwave OBC from registry.

Parameters:

cs :: shelfwave control structure.

[source]

subroutine shelfwave_initialization/shelfwave_initialize_topography(D, G, param_file, max_depth, US)

Initialization of topography.

Parameters:
  • g :: [in] The dynamic horizontal grid type

  • d :: [out] Ocean bottom depth [Z ~> m]

  • param_file :: param_file [in] Parameter file structure

  • max_depth :: max_depth [in] Maximum model depth [Z ~> m]

  • us :: [in] A dimensional unit scaling type

Call to:

mdl

Called from:

mom_fixed_initialization::mom_initialize_topography

[source]

subroutine shelfwave_initialization/shelfwave_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 :: tidal bay 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 :: h [in] layer thickness [H ~> m or kg m-2]

  • time :: [in] model time.

Call to:

mom_error_handler::mom_error mom_open_boundary::rotate_obc_segment_direction

[source]

[source]