wallFunctions: corrected fvPatchField to fvPatchScalarField for the return reference

This commit is contained in:
Henry
2013-06-12 08:25:47 +01:00
parent f2daad4806
commit 58aa5560aa
4 changed files with 4 additions and 4 deletions

View File

@ -141,7 +141,7 @@ void epsilonWallFunctionFvPatchScalarField::createAveragingWeights()
forAll(epsilonPatches, i) forAll(epsilonPatches, i)
{ {
label patchI = epsilonPatches[i]; label patchI = epsilonPatches[i];
const fvPatchField& wf = weights.boundaryField()[patchI]; const fvPatchScalarField& wf = weights.boundaryField()[patchI];
cornerWeights_[patchI] = 1.0/wf.patchInternalField(); cornerWeights_[patchI] = 1.0/wf.patchInternalField();
} }

View File

@ -143,7 +143,7 @@ void omegaWallFunctionFvPatchScalarField::createAveragingWeights()
forAll(omegaPatches, i) forAll(omegaPatches, i)
{ {
label patchI = omegaPatches[i]; label patchI = omegaPatches[i];
const fvPatchField& wf = weights.boundaryField()[patchI]; const fvPatchScalarField& wf = weights.boundaryField()[patchI];
cornerWeights_[patchI] = 1.0/wf.patchInternalField(); cornerWeights_[patchI] = 1.0/wf.patchInternalField();
} }

View File

@ -141,7 +141,7 @@ void epsilonWallFunctionFvPatchScalarField::createAveragingWeights()
forAll(epsilonPatches, i) forAll(epsilonPatches, i)
{ {
label patchI = epsilonPatches[i]; label patchI = epsilonPatches[i];
const fvPatchField& wf = weights.boundaryField()[patchI]; const fvPatchScalarField& wf = weights.boundaryField()[patchI];
cornerWeights_[patchI] = 1.0/wf.patchInternalField(); cornerWeights_[patchI] = 1.0/wf.patchInternalField();
} }

View File

@ -143,7 +143,7 @@ void omegaWallFunctionFvPatchScalarField::createAveragingWeights()
forAll(omegaPatches, i) forAll(omegaPatches, i)
{ {
label patchI = omegaPatches[i]; label patchI = omegaPatches[i];
const fvPatchField& wf = weights.boundaryField()[patchI]; const fvPatchScalarField& wf = weights.boundaryField()[patchI];
cornerWeights_[patchI] = 1.0/wf.patchInternalField(); cornerWeights_[patchI] = 1.0/wf.patchInternalField();
} }