mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: adjust code for nu() as tmp<volScalarField>
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user