1if (!isA<zeroGradientFvPatchScalarField>(k_.boundaryField()[patchi]))
4 << k_.boundaryField()[patchi].type()
5 <<
" is the wrong k patchField type for wall-functions on patch "
6 << curPatch.name() << nl
7 <<
" should be zeroGradient"
11if (!isA<zeroGradientFvPatchScalarField>(epsilon_.boundaryField()[patchi]))
14 << epsilon_.boundaryField()[patchi].type()
15 <<
" is the wrong epsilon patchField type for wall-functions on patch "
16 << curPatch.name() <<
nl
17 <<
" should be zeroGradient"
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)