FMS Coupler
2022.03
|
Functions/Subroutines | |
subroutine, public | atmos_ocean_fluxes_calc (gas_fields_atm, gas_fields_ice, gas_fluxes, seawater, tsurf, ustar, cd_m) |
Calculate the ocean gas fluxes. Units should be mol/m^2/s, upward flux is positive. More... | |
real function | calc_kw (tk, p, u10, h, vb, mw, sc_w, ustar, cd_m) |
Calculate . More... | |
real function | calc_ka (t, p, mw, vb, u10, ustar, cd_m) |
Calculate . More... | |
real function | calc_kl (t, v, sc) |
Calculate . More... | |
real function | schmidt_g (t, p, mw, vb) |
Schmidt number of the gas in air. More... | |
real function | d_air (t, p, mw, vb) |
From Fuller, Industrial & Engineering Chemistry (https://doi.org/10.1021/ie50677a007) More... | |
real function | p_air (t) |
kinematic viscosity in air More... | |
real function | v_air (t) |
Kinematic viscosity in air ( . More... | |
real function | n_air (t) |
dynamic viscosity in air More... | |
Variables | |
character(len= *), parameter | mod_name = "cdwfe" |
real, parameter | epsln =1.0e-30 |
subroutine, public atmos_ocean_fluxes_calc_mod::atmos_ocean_fluxes_calc | ( | type(fmscoupler1dbc_type), intent(in) | gas_fields_atm, |
type(fmscoupler1dbc_type), intent(in) | gas_fields_ice, | ||
type(fmscoupler1dbc_type), intent(inout) | gas_fluxes, | ||
real, dimension(:), intent(in) | seawater, | ||
real, dimension(:), intent(in) | tsurf, | ||
real, dimension(:), intent(in), optional | ustar, | ||
real, dimension(:), intent(in), optional | cd_m | ||
) |
Calculate the ocean gas fluxes. Units should be mol/m^2/s, upward flux is positive.
[in] | gas_fields_atm | Structure containing atmospheric surface variables that are used in the calculation of the atmosphere-ocean gas fluxes. |
[in] | gas_fields_ice | Structure containing ice-top and ocean surface variables that are used in the calculation of the atmosphere-ocean gas fluxes. |
[in,out] | gas_fluxes | Structure containing the gas fluxes between the atmosphere and the ocean and parameters related to the calculation of these fluxes. |
[in] | seawater | 1 for the open water category, 0 if ice or land. |
|
private |
Calculate .
See calc_kw
[in] | t | temperature at surface in C |
[in] | p | pressure at surface in pa |
[in] | mw | molecular weight (g/mol) |
[in] | vb | molar volume |
[in] | u10 | wind speed at 10m above the surface in m/s |
[in] | ustar | Friction velocity (m/s). If not provided, ustar = . |
[in] | cd_m | Drag coefficient ( ). Used only if ustar is provided. If ustar is not provided, cd_m = |
|
private |
Calculate .
See calc_kw, and Nightingale, Global Biogeochemical Cycles, 2000 (https://doi.org/10.1029/1999GB900091)
[in] | t | temperature at surface in C |
[in] | v | wind speed at surface in m/s |
|
private |
Calculate .
Taken from Johnson, Ocean Science, 2010. (http://doi.org/10.5194/os-6-913-2010)
Uses equations defined in Liss[1974],
where and are the bulk gas and liquid concentrations, is the Henry's law constant ( , where is the equilibrium concentration in gas phase ( of air) and is the equilibrium concentration of unionised dissolved gas in liquid phase ( of water)),
and
where and are the exchange constants for the gas and liquid phases, respectively.
[in] | tk | temperature at surface in kelvin |
[in] | p | pressure at surface in pa |
[in] | u10 | wind speed at 10m above the surface in m/s |
[in] | h | Henry's law constant ( ) (unitless) |
[in] | vb | Molar volume |
[in] | mw | molecular weight (g/mol) |
[in] | ustar | Friction velocity (m/s). If not provided, ustar = . |
[in] | cd_m | Drag coefficient ( ). Used only if ustar is provided. If ustar is not provided, cd_m = |
|
private |
From Fuller, Industrial & Engineering Chemistry (https://doi.org/10.1021/ie50677a007)
[in] | t | temperature in c |
[in] | p | pressure in pa |
[in] | mw | molecular weight (g/mol) |
[in] | vb | diffusion coefficient ( ) |
|
private |
dynamic viscosity in air
[in] | t | temperature in C |
|
private |
kinematic viscosity in air
|
private |
Schmidt number of the gas in air.
[in] | t | temperature at surface in C |
[in] | p | pressure at surface in pa |
[in] | mw | molecular weight (g/mol) |
[in] | vb | molar volume |
|
private |
Kinematic viscosity in air ( .
[in] | t | temperature in C |
|
private |
|
private |