mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: noiseModel: Updated check for uniform time step size
This commit is contained in:
@ -53,7 +53,7 @@ Foam::scalar Foam::noiseModel::checkUniformTimeStep
|
||||
deltaT = dT;
|
||||
}
|
||||
|
||||
if (mag(deltaT - dT) > SMALL)
|
||||
if (mag(dT/deltaT - 1) > 1e-8)
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Unable to process data with a variable time step"
|
||||
|
||||
Reference in New Issue
Block a user