diff --git a/src/finiteVolume/fields/fvPatchFields/derived/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchScalarField.C index 24768b780..b6c13fbf1 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchScalarField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchScalarField.C @@ -140,10 +140,10 @@ updateCoeffs() } const fvPatchVectorField& Up = - patch().lookupPatchField(UName_); + lookupPatchField(UName_); const fvsPatchScalarField& phip = - patch().lookupPatchField(phiName_); + lookupPatchField(phiName_); this->refValue() = SMALL + 1.5*sqr(intensity_)*magSqr(Up); this->valueFraction() = neg(phip); diff --git a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C index 5ad07b5e4..aae453a0b 100644 --- a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C +++ b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C @@ -136,10 +136,10 @@ void turbulentMixingLengthDissipationRateInletFvPatchScalarField::updateCoeffs() const scalar Cmu75 = pow(Cmu, 0.75); const fvPatchScalarField& kp = - patch().lookupPatchField(kName_); + lookupPatchField(kName_); const fvsPatchScalarField& phip = - patch().lookupPatchField(phiName_); + lookupPatchField(phiName_); this->refValue() = Cmu75*kp*sqrt(kp)/mixingLength_; this->valueFraction() = neg(phip); diff --git a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C index 1750b104b..af997fe2c 100644 --- a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C +++ b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C @@ -136,10 +136,10 @@ void turbulentMixingLengthFrequencyInletFvPatchScalarField::updateCoeffs() const scalar Cmu25 = pow(Cmu, 0.25); const fvPatchScalarField& kp = - patch().lookupPatchField(kName_); + lookupPatchField(kName_); const fvsPatchScalarField& phip = - patch().lookupPatchField(phiName_); + lookupPatchField(phiName_); this->refValue() = sqrt(kp)/(Cmu25*mixingLength_); this->valueFraction() = neg(phip); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C index a6b064601..410e84027 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C @@ -136,10 +136,10 @@ void turbulentMixingLengthDissipationRateInletFvPatchScalarField::updateCoeffs() const scalar Cmu75 = pow(Cmu, 0.75); const fvPatchScalarField& kp = - patch().lookupPatchField(kName_); + lookupPatchField(kName_); const fvsPatchScalarField& phip = - patch().lookupPatchField(phiName_); + lookupPatchField(phiName_); this->refValue() = Cmu75*kp*sqrt(kp)/mixingLength_; this->valueFraction() = neg(phip); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C index e686099e0..89ebf90a3 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C @@ -136,10 +136,10 @@ void turbulentMixingLengthFrequencyInletFvPatchScalarField::updateCoeffs() const scalar Cmu25 = pow(Cmu, 0.25); const fvPatchScalarField& kp = - patch().lookupPatchField(kName_); + lookupPatchField(kName_); const fvsPatchScalarField& phip = - patch().lookupPatchField(phiName_); + lookupPatchField(phiName_); this->refValue() = sqrt(kp)/(Cmu25*mixingLength_); this->valueFraction() = neg(phip); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/RWallFunctions/RWallFunction/RWallFunctionFvPatchSymmTensorField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/RWallFunctions/RWallFunction/RWallFunctionFvPatchSymmTensorField.C index b781b2392..01e723cb3 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/RWallFunctions/RWallFunction/RWallFunctionFvPatchSymmTensorField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/RWallFunctions/RWallFunction/RWallFunctionFvPatchSymmTensorField.C @@ -158,10 +158,10 @@ void RWallFunctionFvPatchSymmTensorField::evaluate ) { const scalarField& nutw = - patch().lookupPatchField(nutName_); + lookupPatchField(nutName_); const fvPatchVectorField& Uw = - patch().lookupPatchField(UName_); + lookupPatchField(UName_); // Old treatment: anisotropy not enforced vectorField snGradU = Uw.snGrad();