mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: noiseModel - respect lower frequency bound in octave calculation. Fixes #2041
This commit is contained in:
@ -81,6 +81,10 @@ void Foam::noiseModel::setOctaveBands
|
|||||||
|
|
||||||
// Convert to lower band limit
|
// Convert to lower band limit
|
||||||
fTest /= fRatioL2C;
|
fTest /= fRatioL2C;
|
||||||
|
while (fTest < fLower)
|
||||||
|
{
|
||||||
|
fTest *= fRatio;
|
||||||
|
}
|
||||||
|
|
||||||
forAll(f, i)
|
forAll(f, i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user