WVForcing
Computes a forcing
Declaration
classdef WVForcing < handleOverview
WVForcing is an abstract class that defines how forcing gets added to a WVTransform. You can use one the built-in forcing operations, or make your own.
Forcing is applied at two stages:
- in the spatial domain to
- non-hydrostatic flow d/dt(u,v,w,eta) = (Fu,Fv,Fw,Feta) or
- hydrostatic flow d/dt(u,v,eta) = (Fu,Fv,Feta) and
- in the spectral domain to d/dt(Ap,Am,A0) = (Fp,Fm,F0)
Each WVForcingFluxOperation must choose one of the two options and override either,
- [Fu, Fv, Fw, Feta] = addSpatialForcing(wvt, Fu, Fv, Fw, Feta) or,
- [Fp, Fm, F0] = addSpectralForcing( wvt, Fp, Fm, F0)
Regardless of which method is chosen, the energy flux from the forcing can always be deduced at each moment in time.
Topics
- Initialization
WVForcingcreate a new nonlinear flux operationforcingFromGroupinitialize a WVForcing instance from NetCDF fileforcingWithResolutionOfTransformcreate a new WVForcing with a new resolution
- Properties
forcingTypeArray of supported forcing typesisClosureboolean indicating that this forcing is a turbulence closurenameboolean indicating this class implements addHydrostaticSpatialForcing
- Other
addHydrostaticSpatialForcingaddNonhydrostaticSpatialForcingaddPotentialVorticitySpatialForcingaddPotentialVorticitySpectralForcingaddSpectralForcingdidGetRemovedFromTransformprioritydetermines the order in which the WVForcing will besetPotentialVorticitySpectralAmplitudesetPotentialVorticitySpectralForcingsetSpectralAmplitudesetSpectralForcingspatialFluxTypesspectralAmplitudeTypesspectralFluxTypeswvt