68 <<
"coefficient = " << k_
69 <<
" should be >= 0 and <= 1" 75 k_ =
max(k_/2.0, SMALL);
93 scalar gradf = (phiN - phiP)/magd;
100 gradcf = dHat & gradcP;
105 gradcf = dHat & gradcN;
112 scalar phict = 1 - 0.5*gradf/gradcf;
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
dimensionedScalar stabilise(const dimensionedScalar &x, const dimensionedScalar &y)
tmp< areaScalarField > limiter(const areaScalarField &phi)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Class with operator() which returns the weighting factors for the Gamma differencing scheme...
dimensioned< Type > lerp(const dimensioned< Type > &a, const dimensioned< Type > &b, const scalar t)
scalar weight(scalar cdWeight, scalar faceFlux, scalar phiP, scalar phiN, const vector &gradcP, const vector &gradcN, const vector &d) const
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
dimensionSet clamp(const dimensionSet &a, const dimensionSet &range)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...