ENH: Added new yPlusLES function object

This commit is contained in:
andy
2012-03-20 13:25:12 +00:00
parent 7df1e91179
commit ce7a93a847
9 changed files with 569 additions and 8 deletions

View File

@ -59,12 +59,12 @@ void Foam::yPlusRAS::calcIncompressibleYPlus
Info<< type() << " output:" << nl;
bool foundNutPatch = false;
bool foundPatch = false;
forAll(nutPatches, patchi)
{
if (isA<wallFunctionPatchField>(nutPatches[patchi]))
{
foundNutPatch = true;
foundPatch = true;
const wallFunctionPatchField& nutPw =
dynamic_cast<const wallFunctionPatchField&>(nutPatches[patchi]);
@ -78,7 +78,7 @@ void Foam::yPlusRAS::calcIncompressibleYPlus
}
}
if (!foundNutPatch)
if (!foundPatch)
{
Info<< " no " << wallFunctionPatchField::typeName << " patches"
<< endl;
@ -104,12 +104,12 @@ void Foam::yPlusRAS::calcCompressibleYPlus
Info<< type() << " output:" << nl;
bool foundMutPatch = false;
bool foundPatch = false;
forAll(mutPatches, patchi)
{
if (isA<wallFunctionPatchField>(mutPatches[patchi]))
{
foundMutPatch = true;
foundPatch = true;
const wallFunctionPatchField& mutPw =
dynamic_cast<const wallFunctionPatchField&>(mutPatches[patchi]);
@ -123,7 +123,7 @@ void Foam::yPlusRAS::calcCompressibleYPlus
}
}
if (!foundMutPatch)
if (!foundPatch)
{
Info<< " no " << wallFunctionPatchField::typeName << " patches"
<< endl;