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. |
Detailed Description
Surface forcing for the boundary-forced-basin (BFB) configuration.
Type Documentation
- type bfb_surface_forcing/bfb_surface_forcing_cs
Control structure for BFB_surface_forcing.
- Type fields:
% use_temperature ::
logicalIf true, temperature and salinity are used as state variables.% restorebuoy ::
logicalIf true, use restoring surface buoyancy forcing.% rho0 ::
realThe density used in the Boussinesq approximation [R ~> kg m-3].% g_earth ::
realThe gravitational acceleration [L2 Z-1 T-2 ~> m s-2].% flux_const ::
realThe restoring rate at the surface [Z T-1 ~> m s-1].% rho_restore ::
realThe density that is used to convert piston velocities into salt or heat fluxes with salinity or temperature restoring [R ~> kg m-3].% sst_s ::
realSST at the southern edge of the linear forcing ramp [C ~> degC].% sst_n ::
realSST at the northern edge of the linear forcing ramp [C ~> degC].% s_ref ::
realReference salinity used throughout the domain [S ~> ppt].% lfrslat ::
realSouthern latitude where the linear forcing ramp begins [degrees_N] or [km].% lfrnlat ::
realNorthern latitude where the linear forcing ramp ends [degrees_N] or [km].% rho_t0_s0 ::
realThe density at T=0, S=0 [R ~> kg m-3].% drho_dt ::
realThe partial derivative of density with temperature [R C-1 ~> kg m-3 degC-1].% drho_ds ::
realThe 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 ::
type(diag_ctrl), pointerA structure that is used to regulate the timing of diagnostic output.
Function/Subroutine Documentation
- subroutine bfb_surface_forcing/bfb_buoyancy_forcing(sfc_state, fluxes, day, dt, G, US, CS)
Bouyancy forcing for the boundary-forced-basin (BFB) configuration.
- Parameters:
sfc_state ::
sfc_state[inout] A structure containing fields that describe the surface state of the ocean.fluxes ::
fluxes[inout] A structure containing pointers to any possible forcing fields. Unused fields have NULL ptrs.day ::
day[in] Time of the fluxes.dt ::
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.
- Call to:
- subroutine bfb_surface_forcing/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 ::
param_file[in] A structure to parse for run-time parametersdiag ::
diag[in] A structure that is used to regulate diagnostic output.cs :: A pointer to the control structure for this module
- Call to:
- Called from: