WVVerticalDiffusivity
Vertical diffusivty
Declaration
WVVerticalDiffusivity < WVForcingOverview
This forcing applies a vertical diffusivity with fixed \(\kappa_z\) to the thermodynamic equation.
The specific form of the forcing is given by
\[\begin{align} \mathcal{S}_u &= 0 \\ \mathcal{S}_v &= 0 \\ \mathcal{S}_w &= 0 \\ \mathcal{S}_\eta &= \kappa_z \frac{\partial^2 \eta}{\partial z^2} - \kappa_z \frac{\partial}{\partial z} \ln N^2 \end{align}\]Upon initialization you can set shouldForceMeanDensityAnomaly to
false and the \(\frac{\partial}{\partial z} \ln N^2\) term will be
neglected.
Usage
Assuming there is a WVTransform instance wvt, to add this forcing,
wvt.addForcing(WVVerticalDiffusivity(wvt, kappa_z=1e-6));
Notes
This is currently implemented in the spatial domain.
Topics
- Initialization
WVVerticalDiffusivityinitialize the WVVerticalDiffusivity
- Properties
dLnN2precomputed dLnN2 termkappa_zvertical diffusivity, \(m^2s^{-1}\)shouldForceMeanDensityAnomalywhether to include the \(\frac{\partial}{\partial z} \ln N^2\) term
- CAAnnotatedClass requirement
classRequiredPropertyNamesReturns the required property names for the class