diff --git a/src/thermophysicalModels/pdfs/fixedValue/fixedValue.C b/src/thermophysicalModels/pdfs/fixedValue/fixedValue.C index 98634af06f..b8afd67303 100644 --- a/src/thermophysicalModels/pdfs/fixedValue/fixedValue.C +++ b/src/thermophysicalModels/pdfs/fixedValue/fixedValue.C @@ -62,13 +62,13 @@ Foam::scalar Foam::pdfs::fixedValue::fixedValue::sample() const Foam::scalar Foam::pdfs::fixedValue::fixedValue::minValue() const { - return -VGREAT; + return value_; } Foam::scalar Foam::pdfs::fixedValue::fixedValue::maxValue() const { - return VGREAT; + return value_; } diff --git a/src/thermophysicalModels/pdfs/pdf/pdf.H b/src/thermophysicalModels/pdfs/pdf/pdf.H index b0c5ea671d..d6dbf8fb90 100644 --- a/src/thermophysicalModels/pdfs/pdf/pdf.H +++ b/src/thermophysicalModels/pdfs/pdf/pdf.H @@ -77,7 +77,7 @@ protected: //- Coefficients dictionary const dictionary pdfDict_; - //- Reference to the randmo number generator + //- Reference to the random number generator Random& rndGen_;