dyed_channel_initialization module reference¶
Initialization for the dyed_channel configuration.
Data Types¶
Control structure for dyed-channel open boundaries. |
Functions/Subroutines¶
Add dyed channel to OBC registry. |
|
Clean up the dyed_channel OBC from registry. |
|
This subroutine sets the dye and flow properties at open boundary conditions. |
|
This subroutine updates the long-channel flow. |
Detailed Description¶
Setting dyes, one for painting the inflow on each side.
Type Documentation¶
-
type
dyed_channel_initialization/
dyed_channel_obc_cs
¶ Control structure for dyed-channel open boundaries.
- Type fields:
%
zonal_flow
[real] :: Mean inflow [L T-1 ~> m s-1].%
tidal_amp
[real] :: Sloshing amplitude [L T-1 ~> m s-1].%
frequency
[real] :: Sloshing frequency [T-1 ~> s-1].
Function/Subroutine Documentation¶
-
function
dyed_channel_initialization/
register_dyed_channel_obc
(param_file, CS, US, OBC_Reg) [logical]¶ 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.
- Call to:
mom_error_handler::mom_error
mom_open_boundary::register_obc
-
subroutine
dyed_channel_initialization/
dyed_channel_obc_end
(CS)¶ Clean up the dyed_channel OBC from registry.
- Parameters:
cs :: Dyed channel control structure.
-
subroutine
dyed_channel_initialization/
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.
- Call to:
- Called from:
-
subroutine
dyed_channel_initialization/
dyed_channel_update_flow
(OBC, CS, G, GV, US, 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
time :: [in] model time.
- Call to: