mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Added new yPlusLES function object
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user