dyed_channel_initialization module reference
Initialization for the dyed_channel configuration
Detailed Description
Setting dyes, one for painting the inflow on each side.
Type Documentation
- type, public :: dyed_channel_OBC_CS
Control structure for dyed-channel open boundaries.
- Parameters
zonal_flow
Mean inflow [L T-1 ~> m s-1]
tidal_amp
Sloshing amplitude [L T-1 ~> m s-1]
frequency
Sloshing frequency [T-1 ~> s-1]
OBC_transport_bug
If true and specified open boundary conditions are being used, use a 1 m (if Boussienesq) or 1 kg m-2 layer thickness instead of the actual thickness.
Functions/Subroutine Documentation
- logical function register_dyed_channel_OBC(param_file, CS, US, OBC_Reg)
Add dyed channel to OBC registry.
- Parameters
-
Callees call graph
Text view
Callers call graph
Text view
- subroutine dyed_channel_OBC_end(CS)
Clean up the dyed_channel OBC from registry.
- Parameters
-
- subroutine 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.
Callees call graph
Text view
Callers call graph
Text view
- subroutine dyed_channel_update_flow(OBC, CS, G, GV, US, h, 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
h [in]
layer thickness [H ~> m or kg m-2]
Time [in]
model time.
Callees call graph
Text view
Callers call graph
Text view