shelfwave_initialization module reference
Configures the model for the idealized shelfwave test case.
Data Types
Control structure for shelfwave open boundaries. |
Functions/Subroutines
Add shelfwave to OBC registry. |
|
Clean up the shelfwave OBC from registry. |
|
Initialization of topography. |
|
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 ::
realAmplitude of the open boundary current inflows [L T-1 ~> m s-1].% kk ::
realCross-shore wavenumber [km-1] or [m-1].% ll ::
realLongshore wavenumber [km-1] or [m-1].% alpha ::
realExponential decay rate in the y-direction [km-1] or [m-1].% omega ::
realFrequency of the shelf wave [T-1 ~> s-1].% shelfwave_correct_amplitude ::
logicalIf true, SHELFWAVE_AMPLITUDE gives the actual inflow velocity, rather than giving an overall scaling factor for the flow.
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:
- subroutine shelfwave_initialization/shelfwave_obc_end(CS)
Clean up the shelfwave OBC from registry.
- Parameters:
cs :: shelfwave control structure.
- 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 structuremax_depth ::
max_depth[in] Maximum model depth [Z ~> m]us :: [in] A dimensional unit scaling type
- Call to:
mdl- Called from:
- 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_errormom_open_boundary::rotate_obc_segment_direction