mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected output of yPlusRAS/LES for parallel running - mantis #556
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -41,9 +41,9 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
timeSelector::addOptions();
|
timeSelector::addOptions();
|
||||||
#include "setRootCase.H"
|
#include "setRootCase.H"
|
||||||
# include "createTime.H"
|
#include "createTime.H"
|
||||||
instantList timeDirs = timeSelector::select0(runTime, args);
|
instantList timeDirs = timeSelector::select0(runTime, args);
|
||||||
# include "createMesh.H"
|
#include "createMesh.H"
|
||||||
|
|
||||||
forAll(timeDirs, timeI)
|
forAll(timeDirs, timeI)
|
||||||
{
|
{
|
||||||
@ -90,7 +90,7 @@ int main(int argc, char *argv[])
|
|||||||
mesh
|
mesh
|
||||||
);
|
);
|
||||||
|
|
||||||
# include "createPhi.H"
|
#include "createPhi.H"
|
||||||
|
|
||||||
singlePhaseTransportModel laminarTransport(U, phi);
|
singlePhaseTransportModel laminarTransport(U, phi);
|
||||||
|
|
||||||
@ -124,8 +124,8 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
Info<< "Patch " << patchi
|
Info<< "Patch " << patchi
|
||||||
<< " named " << currPatch.name()
|
<< " named " << currPatch.name()
|
||||||
<< " y+ : min: " << min(Yp) << " max: " << max(Yp)
|
<< " y+ : min: " << gMin(Yp) << " max: " << gMax(Yp)
|
||||||
<< " average: " << average(Yp) << nl << endl;
|
<< " average: " << gAverage(Yp) << nl << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -86,8 +86,8 @@ void calcIncompressibleYPlus
|
|||||||
|
|
||||||
Info<< "Patch " << patchi
|
Info<< "Patch " << patchi
|
||||||
<< " named " << nutPw.patch().name()
|
<< " named " << nutPw.patch().name()
|
||||||
<< " y+ : min: " << min(Yp) << " max: " << max(Yp)
|
<< " y+ : min: " << gMin(Yp) << " max: " << gMax(Yp)
|
||||||
<< " average: " << average(Yp) << nl << endl;
|
<< " average: " << gAverage(Yp) << nl << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -166,8 +166,8 @@ void calcCompressibleYPlus
|
|||||||
|
|
||||||
Info<< "Patch " << patchi
|
Info<< "Patch " << patchi
|
||||||
<< " named " << mutPw.patch().name()
|
<< " named " << mutPw.patch().name()
|
||||||
<< " y+ : min: " << min(Yp) << " max: " << max(Yp)
|
<< " y+ : min: " << gMin(Yp) << " max: " << gMax(Yp)
|
||||||
<< " average: " << average(Yp) << nl << endl;
|
<< " average: " << gAverage(Yp) << nl << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user