mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: move error trap to within debug scope
This commit is contained in:
@ -71,11 +71,14 @@ void Foam::LESModels::cubeRootVolDelta::calcDelta()
|
|||||||
delta_.primitiveFieldRef() = deltaCoeff_*sqrt(mesh.V()/thickness);
|
delta_.primitiveFieldRef() = deltaCoeff_*sqrt(mesh.V()/thickness);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (debug)
|
||||||
{
|
{
|
||||||
FatalErrorInFunction
|
FatalErrorInFunction
|
||||||
<< "Case is not 3D or 2D, LES is not applicable"
|
<< "Case is not 3D or 2D, LES is not applicable"
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Handle coupled boundaries
|
// Handle coupled boundaries
|
||||||
delta_.correctBoundaryConditions();
|
delta_.correctBoundaryConditions();
|
||||||
|
|||||||
Reference in New Issue
Block a user