WVNonlinearFluxQGForced
3D forced quasigeostrophic potential vorticity flux
Declaration
WVNonlinearFluxQGForced < WVNonlinearFluxQGOverview
The 3D quasigeostrophic potential vorticity flux will only use and modify the A0 coefficients.
\[\frac{\partial}{\partial t} A_0^{klj} = \underbrace{M_{A_0}^{klj} \left(\bar{A}_0^{klj} - A_0^{klj} \right)/ \tau_0}_{F_\textrm{force}} + F_0^{klj} + F_\textrm{damp}^{klj}\]To initialize the WVNonlinearFluxQGForced,
model = WVModel(wvt,nonlinearFlux=WVNonlinearFluxQGForced(wvt,shouldUseBeta=1,uv_damp=wvt.uvMax));
Topics
- Equality
isequalcheck for equality with another nonlinear flux operation
- Initialization
nonlinearFluxFromFileinitialize a nonlinear flux operation from NetCDF filenonlinearFluxWithResolutionOfTransformcreate a new nonlinear flux operation with double the resolution
- Computation
setGeostrophicForcingCoefficientsset forcing values for the geostrophic part of the flow
- Write to file
writeToFilewrite information about the nonlinear flux operation to file
- Other
A0barA0 ‘mean’ value to relax toMA0Forcing mask, A0. 1s at the forced modes, 0s at the unforced modesWVNonlinearFluxQGForcedinitialize 3D quasigeostrophic potential vorticity fluxaddVariableOfTypecomputethis is ever so slightly faster (for barotropic only), but why add the complication?forcingFluxsetNarrowBandForcingtau0relaxation time