WVPseudoTopographicWaveGeneration
Generate internal waves from prescribed barotropic flow over topography.
Declaration
classdef WVPseudoTopographicWaveGeneration < WVForcingOverview
WVPseudoTopographicWaveGeneration prescribes a horizontally uniform
barotropic velocity
where \(t_s\) is startTime, \(\omega\) is frequency, and \(R\) is
either unity or a half-cosine startup ramp. For upward-positive
topographic height \(h(x,y)\), the linearized bottom kinematic
boundary condition is
with Fourier representation
\[\widehat{g}_b=U_{\mathrm{bt},x}(ik\widehat h) +U_{\mathrm{bt},y}(i\ell\widehat h).\]Let \(\pi_\pm(z_b)\) denote the kinematic bottom pressure of a unit
current-time wave coefficient and let \(E_\pm\) denote its
Apm_TE_factor. The projected current-time tendencies are
The implementation precomputes the pressure-gradient response and
converts these tendencies to the stored reference-time coefficients
with conjPhase for Ap and phase for Am. This normalization
makes modal energy input equal the bottom pressure work.
Generation is limited to the valid Ap and Am wave masks, the
requested horizontal-wavenumber and vertical-mode bounds, and, by
default, the exact zero-damping support of active
WVAdaptiveDamping objects. The incoming A0 tendency is unchanged.
Select a standard constituent with darwinSymbol, or supply a custom
angular frequency.
forcing = WVPseudoTopographicWaveGeneration(wvt,topographicHeight=h,barotropicVelocityAmplitude=[0.05; 0],darwinSymbol="M2");
wvt.removeAllForcing();
wvt.addForcing(forcing);
Topics
- Create the forcing
WVPseudoTopographicWaveGenerationCreate a prescribed bottom wave-generation forcing.
- Inspect forcing configuration
topographicHeightUpward-positive topographic height \(h(x,y)\) in meters.barotropicVelocityAmplitudeComplex barotropic velocity amplitude in meters per second.frequencyBarotropic angular frequency \(\omega\) in radians per second.darwinSymbolDarwin symbol used to select the tidal frequency.rampDurationDuration of the half-cosine startup ramp in seconds.startTimeTime at which the prescribed barotropic forcing begins, in seconds.shouldAvoidAdaptiveDampingWhether generation avoids active adaptive damping.maximumForcedHorizontalWavenumberLargest radial horizontal wavenumber forced, in radians per meter.maximumForcedVerticalModeLargest vertical wave-mode index forced.
- Evaluate prescribed forcing
barotropicVelocityAtTimeEvaluate the prescribed horizontally uniform current.bottomVelocityAtTimeEvaluate the bottom kinematic velocity.spectralGenerationMaskReturn the spectral region eligible for bottom-wave generation.
- Generate forcing inputs
goffAbyssalHillTopographyGenerate periodic Goff abyssal-hill topography.
Developer Topics
These items document internal implementation details and are not part of the primary public API.
- Forcing persistence
classRequiredPropertyNamesReturn the forcing properties required for restart.
- Forcing internals
barotropicVelocityComponentCoordinate for the barotropic-velocity components.