BFB_surface_forcing module reference
Surface forcing for the boundary-forced-basin (BFB) configuration
Data Types
Control structure for BFB_surface_forcing |
Functions/Subroutines
Bouyancy forcing for the boundary-forced-basin (BFB) configuration |
|
Initialization for forcing the boundary-forced-basin (BFB) configuration |
Type Documentation
- type, public :: BFB_surface_forcing_CS
Control structure for BFB_surface_forcing
- Parameters
use_temperature
If true, temperature and salinity are used as state variables.
restorebuoy
If true, use restoring surface buoyancy forcing.
Rho0
The density used in the Boussinesq approximation [R ~> kg m-3].
G_Earth
The gravitational acceleration [L2 Z-1 T-2 ~> m s-2]
Flux_const
The restoring rate at the surface [Z T-1 ~> m s-1].
rho_restore
The density that is used to convert piston velocities into salt or heat fluxes with salinity or temperature restoring [R ~> kg m-3]
SST_s
SST at the southern edge of the linear forcing ramp [C ~> degC]
SST_n
SST at the northern edge of the linear forcing ramp [C ~> degC]
S_ref
Reference salinity used throughout the domain [S ~> ppt]
lfrslat
Southern latitude where the linear forcing ramp begins [degrees_N] or [km]
lfrnlat
Northern latitude where the linear forcing ramp ends [degrees_N] or [km]
Rho_T0_S0
The density at T=0, S=0 [R ~> kg m-3]
dRho_dT
The partial derivative of density with temperature [R C-1 ~> kg m-3 degC-1]
dRho_dS
The partial derivative of density with salinity [R S-1 ~> kg m-3 ppt-1] Note that temperature and salinity are being used as dummy variables here. All temperatures are converted into density.
diag
A structure that is used to regulate the timing of diagnostic output.
Functions/Subroutine Documentation
- subroutine BFB_buoyancy_forcing(sfc_state, fluxes, day, dt, G, US, CS)
Bouyancy forcing for the boundary-forced-basin (BFB) configuration
- Parameters
sfc_state [inout]
A structure containing fields that describe the surface state of the ocean.
fluxes [inout]
A structure containing pointers to any possible forcing fields. Unused fields have NULL ptrs.
day [in]
Time of the fluxes.
dt [in]
The amount of time over which the fluxes apply [T ~> s]
G [in]
The ocean's grid structure
US [in]
A dimensional unit scaling type
CS
A pointer to the control structure returned by a previous call to BFB_surface_forcing_init.
Callees call graph
Callers call graph
- subroutine BFB_surface_forcing_init(Time, G, US, param_file, diag, CS)
Initialization for forcing the boundary-forced-basin (BFB) configuration
- Parameters
Time [in]
The current model time.
G [in]
The ocean's grid structure
US [in]
A dimensional unit scaling type
param_file [in]
A structure to parse for run-time parameters
diag [in]
A structure that is used to regulate diagnostic output.
CS
A pointer to the control structure for this module