diff --git a/applications/solvers/incompressible/boundaryFoam/evaluateNearWall.H b/applications/solvers/incompressible/boundaryFoam/evaluateNearWall.H index 8844f21e6eadf0101335e0dad056990f9d964000..3534caebd03b7ce0cd73f72c443c01cb683b5ce9 100644 --- a/applications/solvers/incompressible/boundaryFoam/evaluateNearWall.H +++ b/applications/solvers/incompressible/boundaryFoam/evaluateNearWall.H @@ -1,7 +1,7 @@ { // Evaluate near-wall behaviour - scalar nu = turbulence->nu().boundaryField()[patchId][faceId]; + scalar nu = turbulence->nu()().boundaryField()[patchId][faceId]; scalar nut = turbulence->nut()().boundaryField()[patchId][faceId]; symmTensor R = turbulence->devReff()().boundaryField()[patchId][faceId]; scalar epsilon = turbulence->epsilon()()[cellId]; @@ -31,4 +31,4 @@ << ", y+ = " << yPlus << ", u+ = " << uPlus << ", k+ = " << kPlus << ", epsilon+ = " << epsilonPlus << endl; -} \ No newline at end of file +} diff --git a/applications/utilities/postProcessing/wall/yPlusLES/yPlusLES.C b/applications/utilities/postProcessing/wall/yPlusLES/yPlusLES.C index 2259aa015409f98b58ac2e5105e1f02722bf6c5d..74226acee0958ea33d8b9bf7476fd690c64cd828 100644 --- a/applications/utilities/postProcessing/wall/yPlusLES/yPlusLES.C +++ b/applications/utilities/postProcessing/wall/yPlusLES/yPlusLES.C @@ -104,6 +104,8 @@ int main(int argc, char *argv[]) const fvPatchList& patches = mesh.boundary(); + const volScalarField nuLam(sgsModel->nu()); + forAll(patches, patchi) { const fvPatch& currPatch = patches[patchi]; @@ -117,7 +119,7 @@ int main(int argc, char *argv[]) nuEff.boundaryField()[patchi] *mag(U.boundaryField()[patchi].snGrad()) ) - /sgsModel->nu().boundaryField()[patchi]; + /nuLam.boundaryField()[patchi]; const scalarField& Yp = yPlus.boundaryField()[patchi]; Info<< "Patch " << patchi diff --git a/src/turbulenceModels/incompressible/LES/laminar/laminar.C b/src/turbulenceModels/incompressible/LES/laminar/laminar.C index 767dfeae22575e64f400112d729ea32e898eba70..d654fddc712f31166ec46eb63415c98b0ebf6cde 100644 --- a/src/turbulenceModels/incompressible/LES/laminar/laminar.C +++ b/src/turbulenceModels/incompressible/LES/laminar/laminar.C @@ -98,7 +98,7 @@ tmp<volScalarField> laminar::nuSgs() const IOobject::NO_WRITE ), mesh_, - dimensionedScalar("nuSgs", nu().dimensions(), 0.0) + dimensionedScalar("nuSgs", nu()().dimensions(), 0.0) ) ); } diff --git a/src/turbulenceModels/incompressible/LES/vanDriestDelta/vanDriestDelta.C b/src/turbulenceModels/incompressible/LES/vanDriestDelta/vanDriestDelta.C index f6c77ad9838fd71929b691d2f3beb4fed7c7b41b..d27b71cbbd2300287fed14b5149d95cc95fb4d5e 100644 --- a/src/turbulenceModels/incompressible/LES/vanDriestDelta/vanDriestDelta.C +++ b/src/turbulenceModels/incompressible/LES/vanDriestDelta/vanDriestDelta.C @@ -51,7 +51,8 @@ void vanDriestDelta::calcDelta() const LESModel& lesModel = mesh_.lookupObject<LESModel>("LESProperties"); const volVectorField& U = lesModel.U(); - const volScalarField& nu = lesModel.nu(); + const tmp<volScalarField> tnu = lesModel.nu(); + const volScalarField& nu = tnu(); tmp<volScalarField> nuSgs = lesModel.nuSgs(); volScalarField ystar diff --git a/src/turbulenceModels/incompressible/RAS/RASModel/RASModel.C b/src/turbulenceModels/incompressible/RAS/RASModel/RASModel.C index 2b93114c49f7e9939ea5454dc70eea3bf46b54e2..556fbcc48188084ea0314bf229f5f81a1af53779 100644 --- a/src/turbulenceModels/incompressible/RAS/RASModel/RASModel.C +++ b/src/turbulenceModels/incompressible/RAS/RASModel/RASModel.C @@ -182,7 +182,7 @@ tmp<scalarField> RASModel::yPlus(const label patchNo, const scalar Cmu) const Yp = pow025(Cmu) *y_[patchNo] *sqrt(k()().boundaryField()[patchNo].patchInternalField()) - /nu().boundaryField()[patchNo]; + /nu()().boundaryField()[patchNo]; } else { diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C index 8362785332b1fd049f347b89ec3e2cf08ecf3274..a7e31ff80b1e9015bcd441586e7743249385c691 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C @@ -199,7 +199,8 @@ void epsilonWallFunctionFvPatchScalarField::updateCoeffs() const tmp<volScalarField> tk = rasModel.k(); const volScalarField& k = tk(); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const tmp<volScalarField> tnu = rasModel.nu(); + const scalarField& nuw = tnu().boundaryField()[patchI]; const tmp<volScalarField> tnut = rasModel.nut(); const volScalarField& nut = tnut(); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/kappatWallFunctions/kappatJayatillekeWallFunction/kappatJayatillekeWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/kappatWallFunctions/kappatJayatillekeWallFunction/kappatJayatillekeWallFunctionFvPatchScalarField.C index bce7283abc2109c388f5b8fea00c7ac85eacd60b..a33441d83f0182bd0fdee80c759b7b3f49916cfa 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/kappatWallFunctions/kappatJayatillekeWallFunction/kappatJayatillekeWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/kappatWallFunctions/kappatJayatillekeWallFunction/kappatJayatillekeWallFunctionFvPatchScalarField.C @@ -207,7 +207,7 @@ void kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs() const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties"); const scalar Cmu25 = pow(Cmu_, 0.25); const scalarField& y = rasModel.y()[patchI]; - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; const tmp<volScalarField> tk = rasModel.k(); const volScalarField& k = tk(); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutURoughWallFunction/nutURoughWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutURoughWallFunction/nutURoughWallFunctionFvPatchScalarField.C index df297ab9ce7ead1e89256b8a4845373d8c041a28..29f0fc0bbe6c508ed46b34079d3edf2c019d39b1 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutURoughWallFunction/nutURoughWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutURoughWallFunction/nutURoughWallFunctionFvPatchScalarField.C @@ -47,7 +47,7 @@ tmp<scalarField> nutURoughWallFunctionFvPatchScalarField::calcNut() const const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties"); const scalarField& y = rasModel.y()[patchI]; const fvPatchVectorField& Uw = rasModel.U().boundaryField()[patchI]; - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; // The flow velocity at the adjacent cell centre const scalarField magUp(mag(Uw.patchInternalField() - Uw)); @@ -80,7 +80,7 @@ tmp<scalarField> nutURoughWallFunctionFvPatchScalarField::calcYPlus const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties"); const scalarField& y = rasModel.y()[patchI]; - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; tmp<scalarField> tyPlus(new scalarField(patch().size(), 0.0)); scalarField& yPlus = tyPlus(); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUSpaldingWallFunction/nutUSpaldingWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUSpaldingWallFunction/nutUSpaldingWallFunctionFvPatchScalarField.C index 37a0d4b2779430cfc3fb8fd4b2c189b7f60e381c..f236357c6a13122ec0be59c5c0a9e26ec7ab85f0 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUSpaldingWallFunction/nutUSpaldingWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUSpaldingWallFunction/nutUSpaldingWallFunctionFvPatchScalarField.C @@ -47,7 +47,7 @@ tmp<scalarField> nutUSpaldingWallFunctionFvPatchScalarField::calcNut() const const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties"); const fvPatchVectorField& Uw = rasModel.U().boundaryField()[patchI]; const scalarField magGradU(mag(Uw.snGrad())); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; return max ( @@ -69,7 +69,7 @@ tmp<scalarField> nutUSpaldingWallFunctionFvPatchScalarField::calcUTau rasModel.U().boundaryField()[patch().index()]; const scalarField magUp(mag(Uw.patchInternalField() - Uw)); - const scalarField& nuw = rasModel.nu().boundaryField()[patch().index()]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patch().index()]; const scalarField& nutw = *this; tmp<scalarField> tuTau(new scalarField(patch().size(), 0.0)); @@ -181,7 +181,7 @@ tmp<scalarField> nutUSpaldingWallFunctionFvPatchScalarField::yPlus() const const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties"); const scalarField& y = rasModel.y()[patchI]; const fvPatchVectorField& Uw = rasModel.U().boundaryField()[patchI]; - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; return y*calcUTau(mag(Uw.snGrad()))/nuw; } diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUTabulatedWallFunction/nutUTabulatedWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUTabulatedWallFunction/nutUTabulatedWallFunctionFvPatchScalarField.C index 9c4e390d9d688fffe51ca57852eba8218a829a02..7d4a9ede5d01f71487e0b7ab7f623655b0dd0337 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUTabulatedWallFunction/nutUTabulatedWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUTabulatedWallFunction/nutUTabulatedWallFunctionFvPatchScalarField.C @@ -49,7 +49,7 @@ tmp<scalarField> nutUTabulatedWallFunctionFvPatchScalarField::calcNut() const const fvPatchVectorField& Uw = rasModel.U().boundaryField()[patchI]; const scalarField magUp(mag(Uw.patchInternalField() - Uw)); const scalarField magGradU(mag(Uw.snGrad())); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; return max @@ -182,7 +182,7 @@ tmp<scalarField> nutUTabulatedWallFunctionFvPatchScalarField::yPlus() const const scalarField& y = rasModel.y()[patchI]; const fvPatchVectorField& Uw = rasModel.U().boundaryField()[patchI]; const scalarField magUp(mag(Uw.patchInternalField() - Uw)); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; const scalarField Rey(magUp*y/nuw); return Rey/(calcUPlus(Rey) + ROOTVSMALL); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUWallFunction/nutUWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUWallFunction/nutUWallFunctionFvPatchScalarField.C index df736990b89019e347bf5ead3c8926443e1e8bac..572fba9c68314509755d601d1bf6d80e93d88bfa 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUWallFunction/nutUWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUWallFunction/nutUWallFunctionFvPatchScalarField.C @@ -47,7 +47,7 @@ tmp<scalarField> nutUWallFunctionFvPatchScalarField::calcNut() const const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties"); const fvPatchVectorField& Uw = rasModel.U().boundaryField()[patchI]; const scalarField magUp(mag(Uw.patchInternalField() - Uw)); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; tmp<scalarField> tyPlus = calcYPlus(magUp); scalarField& yPlus = tyPlus(); @@ -77,7 +77,7 @@ tmp<scalarField> nutUWallFunctionFvPatchScalarField::calcYPlus const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties"); const scalarField& y = rasModel.y()[patchI]; - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; tmp<scalarField> tyPlus(new scalarField(patch().size(), 0.0)); scalarField& yPlus = tyPlus(); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.C index c3fc9fac61f0e000e93b9c13f6415551fd9f57fc..27c10083002cb81f7198d72e361a4a31e4dd0aaa 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.C @@ -71,7 +71,7 @@ tmp<scalarField> nutkRoughWallFunctionFvPatchScalarField::calcNut() const const scalarField& y = rasModel.y()[patchI]; const tmp<volScalarField> tk = rasModel.k(); const volScalarField& k = tk(); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; const scalar Cmu25 = pow025(Cmu_); diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkWallFunction/nutkWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkWallFunction/nutkWallFunctionFvPatchScalarField.C index cc9dd9176126221f46db413fa38e63d801cfc0d0..8b4949ba68dbd5b028d9da2992691f0030e0de86 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkWallFunction/nutkWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkWallFunction/nutkWallFunctionFvPatchScalarField.C @@ -80,7 +80,7 @@ tmp<scalarField> nutkWallFunctionFvPatchScalarField::calcNut() const const scalarField& y = rasModel.y()[patchI]; const tmp<volScalarField> tk = rasModel.k(); const volScalarField& k = tk(); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; const scalar Cmu25 = pow025(Cmu_); @@ -220,7 +220,7 @@ tmp<scalarField> nutkWallFunctionFvPatchScalarField::yPlus() const const tmp<volScalarField> tk = rasModel.k(); const volScalarField& k = tk(); tmp<scalarField> kwc = k.boundaryField()[patchI].patchInternalField(); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const scalarField& nuw = rasModel.nu()().boundaryField()[patchI]; return pow025(Cmu_)*y*sqrt(kwc)/nuw; } diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C index 4bcac12985795cbc2dce5e794b01a92f833278cd..c715658615eb161644a25458d5c58f5e3ee74de6 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C @@ -204,7 +204,8 @@ void omegaWallFunctionFvPatchScalarField::updateCoeffs() const tmp<volScalarField> tk = rasModel.k(); const volScalarField& k = tk(); - const scalarField& nuw = rasModel.nu().boundaryField()[patchI]; + const tmp<volScalarField> tnu = rasModel.nu(); + const scalarField& nuw = tnu().boundaryField()[patchI]; const tmp<volScalarField> tnut = rasModel.nut(); const volScalarField& nut = tnut(); diff --git a/src/turbulenceModels/incompressible/RAS/include/nonLinearWallFunctionsI.H b/src/turbulenceModels/incompressible/RAS/include/nonLinearWallFunctionsI.H index eb49fe0fde4b578f566e4dbe02fd335081dbf933..71746b4ebfe2e18668dacbd91f820f43e9dad8f8 100644 --- a/src/turbulenceModels/incompressible/RAS/include/nonLinearWallFunctionsI.H +++ b/src/turbulenceModels/incompressible/RAS/include/nonLinearWallFunctionsI.H @@ -54,6 +54,8 @@ Description } } + const volScalarField nuLam(this->nu()); + //- Accumulate the wall face contributions to epsilon and G // Increment cellBoundaryFaceCount for each face for averaging forAll(patches, patchi) @@ -64,7 +66,7 @@ Description { #include "checkPatchFieldTypes.H" - const scalarField& nuw = nu().boundaryField()[patchi]; + const scalarField& nuw = nuLam.boundaryField()[patchi]; const scalarField& nutw = nut_.boundaryField()[patchi]; const scalarField magFaceGradU diff --git a/src/turbulenceModels/incompressible/RAS/include/wallNonlinearViscosityI.H b/src/turbulenceModels/incompressible/RAS/include/wallNonlinearViscosityI.H index 67b28ab3fbcf4141583af54bd1c578daedf035be..de3f3833a62b42cfef6fbd0216c6e42beefd171d 100644 --- a/src/turbulenceModels/incompressible/RAS/include/wallNonlinearViscosityI.H +++ b/src/turbulenceModels/incompressible/RAS/include/wallNonlinearViscosityI.H @@ -34,13 +34,15 @@ Description const scalar yPlusLam = this->yPlusLam(kappa_.value(), E_.value()); + const volScalarField nuLam(this->nu()); + forAll(patches, patchi) { const fvPatch& curPatch = patches[patchi]; if (isA<wallFvPatch>(curPatch)) { - const scalarField& nuw = nu().boundaryField()[patchi]; + const scalarField& nuw = nuLam.boundaryField()[patchi]; scalarField& nutw = nut_.boundaryField()[patchi]; forAll(curPatch, facei) diff --git a/src/turbulenceModels/incompressible/RAS/laminar/laminar.C b/src/turbulenceModels/incompressible/RAS/laminar/laminar.C index 9a7a2a3e0fab9541be4744df06af919b45e4b47e..e73b32046fa91ec0827d26368a77e924b0fde93c 100644 --- a/src/turbulenceModels/incompressible/RAS/laminar/laminar.C +++ b/src/turbulenceModels/incompressible/RAS/laminar/laminar.C @@ -72,7 +72,7 @@ tmp<volScalarField> laminar::nut() const IOobject::NO_WRITE ), mesh_, - dimensionedScalar("nut", nu().dimensions(), 0.0) + dimensionedScalar("nut", nu()().dimensions(), 0.0) ) ); } diff --git a/src/turbulenceModels/incompressible/turbulenceModel/laminar/laminar.C b/src/turbulenceModels/incompressible/turbulenceModel/laminar/laminar.C index 7ab42b7fb8854b8f1c8db1889a012111ba1dec1a..99d48b23da529ab19d1812d93097bd7a7be4e3f2 100644 --- a/src/turbulenceModels/incompressible/turbulenceModel/laminar/laminar.C +++ b/src/turbulenceModels/incompressible/turbulenceModel/laminar/laminar.C @@ -92,7 +92,7 @@ tmp<volScalarField> laminar::nut() const IOobject::NO_WRITE ), mesh_, - dimensionedScalar("nut", nu().dimensions(), 0.0) + dimensionedScalar("nut", nu()().dimensions(), 0.0) ) ); }