mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
wallFunctions: corrected fvPatchField to fvPatchScalarField for the return reference
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user