case
Physical parameters and forcings.
This module comes down to Case class. This class can be obtained by the prefix
tunax.case. or directly by tunax..
- class Case(rho0=1024.0, grav=9.81, cp=3985.0, alpha=0.0002, beta=0.0008, t_rho_ref=0.0, s_rho_ref=35.0, vkarmn=0.384, fcor=0.0, ustr_sfc=0.0, ustr_btm=0.0, vstr_sfc=0.0, vstr_btm=0.0, tflx_sfc=0.0, tflx_btm=0.0, sflx_sfc=0.0, sflx_btm=0.0, rflx_sfc_max=0.0)[source]
Physical parameters and forcings.
This class contains all the physical constants, and the constant forcings that definine an experience for the model.
- Parameters:
rho0 (float, default=1024.) – cf. attribute.
grav (float, default=9.81) – cf. attribute.
cp (float, default=3985.) – cf. attribute.
alpha (float, default=2e-4) – cf. attribute.
beta (float, default=8e-4) – cf. attribute.
t_rho_ref (float, default=0.) – cf. attribute.
s_rho_ref (float, default=35.) – cf. attribute.
vkarmn (float, default=0.384) – cf. attribute.
fcor (float, default=0.) – cf. attribute.
ustr_sfc (float, default=0.) – cf. attribute.
ustr_btm (float, default=0.) – cf. attribute.
vstr_sfc (float, default=0.) – cf. attribute.
vstr_btm (float, default=0.) – cf. attribute.
tflx_sfc (float, default=0.) – cf. attribute.
tflx_btm (float, default=0.) – cf. attribute.
sflx_sfc (float, default=0.) – cf. attribute.
sflx_btm (float, default=0.) – cf. attribute.
rflx_sfc_max (float, default=0.) – cf. attribute.
- cp
Specific heat capacity of saltwater \([\text{J} \cdot \text{kg}^{-1} \cdot \text{K}^{-1}]\).
- Type:
float, default=3985.
- t_rho_ref
Reference temperature for the density computation \([° \text C]\).
- Type:
float, default=0.
- s_rho_ref
Reference salinity for the density computation \([\text{psu}]\).
- Type:
float, default=35.
- fcor
Coriolis frequency at the water column \([\text{rad} \cdot \text{s}^{-1}]\).
- Type:
float, default=0.
- ustr_btm
Zonal current stress at the bottom \([\text{m}^{2} \cdot \text{s}^{-2}]\).
- Type:
float, default=0.
- vstr_btm
Meridional current stress at the bottom \([\text{m}^{2} \cdot \text{s}^{-2}]\).
- Type:
float, default=0.
- tflx_sfc
Non-penetrative heat flux at the surface \([\text{K} \cdot \text{m} \cdot \text{s}^{-1}]\).
- Type:
float, default=0.
- tflx_btm
Non-penetrative heat flux at the bottom \([\text{K} \cdot \text{m} \cdot \text{s}^{-1}]\).
- Type:
float, default=0.
- sflx_sfc
Fresh water flux at the surface \([\text{psu} \cdot \text{m} \cdot \text{s}^{-1}]\).
- Type:
float, default=0.
- sflx_btm
Fresh water flux at the bottom \([\text{psu} \cdot \text{m} \cdot \text{s}^{-1}]\).
- Type:
float, default=0.
- rflx_sfc_max
Maximum solar radiation flux at the surface \([\text{K} \cdot \text{m} \cdot \text{s}^{-1}]\).
- Type:
float, default=0.
- set_rpw_sfc_max(rpw_sfc_max)[source]
Set the maximum solar radiation from the solar power
- Parameters:
rpw_sfc_max (float) – Maximum solar radiation power at the surface (penetrative) \([\text W \cdot \text m ^{-2}]\).
- Returns:
case – The
selfobject with the new value ofrflx_sfc_max.- Return type: