WVNonlinearFluxForced
3D forced nonlinear flux for Boussinesq flow
Declaration
WVNonlinearFluxForced < WVNonlinearFluxOverview
The unforced model basically looks likes like this,
\[\frac{\partial}{\partial t} A^{klj} = F_\textrm{inertial}^{klj} + F_\textrm{damp}^{klj}\]for each of the three components. The forcing adds a new term,
\[\frac{\partial}{\partial t} A^{klj} = \underbrace{M_{A}^{klj} \left(\bar{A}^{klj} - A^{klj} \right)/ \tau}_{F_\textrm{force}} + F_\textrm{inertial}^{klj} + F_\textrm{damp}^{klj}\]which forces those select modes to relax to their \(\bar{A}^{klj}\) state with time scale \(\tau\). If the time scale is set to 0, then the mean amplitudes remain fixed for all time. In that limit, the equations can be written as,
\[\frac{\partial}{\partial t} A^{klj} = \neg M_{A}^{klj} \left( F_\textrm{inertial}^{klj} + F_\textrm{damp}^{klj} \right)\]This is most often used when initializing a model, e.g.,
model = WVModel(wvt,nonlinearFlux=WVNonlinearFluxForced(wvt,uv_damp=wvt.uvMax));
Topics
- Initialization
WVNonlinearFluxForcedinitialize WVNonlinearFluxForcednonlinearFluxFromFileinitialize a nonlinear flux operation from NetCDF filenonlinearFluxWithResolutionOfTransformcreate a new nonlinear flux operation with double the resolution
- Computation
computethe promised variable
- Equality
isequalcheck for equality with another nonlinear flux operation
- Set forcing
setGeostrophicForcingCoefficientsset forcing values for the geostrophic part of the flowsetWaveForcingCoefficientsset forcing values for the wave part of the flow
- Write to file
writeToFilewrite information about the nonlinear flux operation to file
- Other
A0barA0 ‘mean’ value to relax toAmbarAm ‘mean’ value to relax toApbarAp ‘mean’ value to relax toMA0Forcing mask, A0. 1s at the forced modes, 0s at the unforced modesMAmForcing mask, Am. 1s at the forced modes, 0s at the unforced modesMApForcing mask, Ap. 1s at the forced modes, 0s at the unforced modesaddVariableOfTypetau0A0 relaxation timetauMAm relaxation timetauPAp relaxation time