WVVerticalDiffusivity

Vertical diffusivty


Declaration

WVVerticalDiffusivity < WVForcing

Overview

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



This site uses Just the Docs, a documentation theme for Jekyll.