setWaveForcingCoefficients
set the amplitude to fix for the wave part of the flow
Declaration
setWaveForcingCoefficients(Apbar,Ambar,options)
Parameters
ApbarAp fixed amplitudeAmbarAm fixed amplitudeMAp(optional) forcing mask, Ap. 1s at the forced modes, 0s at the unforced modes. Default is MAp = abs(Apbar) > 1e-6*max(abs(Apbar(:)))MAm(optional) forcing mask, Am. 1s at the forced modes, 0s at the unforced modes. Default is MAm = abs(Ambar) > 1e-6*max(abs(Ambar(:)))
Discussion
This function will automatically remove modes set in the damping region of the WVAdapativeDamping forcing, if present.