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
[real] :: Amplitude of the open boundary current inflows [L T-1 ~> m s-1].%
lx
[real] :: Long-shore length scale of bathymetry [km] or [m].%
ly
[real] :: Cross-shore length scale [km] or [m].%
f0
[real] :: Coriolis parameter [T-1 ~> s-1].%
jj
[real] :: Cross-shore wave mode [nondim].%
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].
Function/Subroutine Documentation¶
-
function
shelfwave_initialization/
register_shelfwave_obc
(param_file, CS, G, US, OBC_Reg) [logical]¶ Add shelfwave to OBC registry.
- Parameters:
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 :: [in] Parameter file structure
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 :: [in] layer thickness [H ~> m or kg m-2]
time :: [in] model time.