Merge branch 'develop-pre-release' of develop.openfoam.com:Development/OpenFOAM-plus into develop-pre-release

This commit is contained in:
sergio
2018-06-20 16:44:35 -07:00
30 changed files with 386 additions and 159 deletions

View File

@ -581,8 +581,9 @@ bool Foam::functionObjects::regionSizeDistribution::write()
<< token::TAB << "Volume(mesh)"
<< token::TAB << "Volume(" << alpha.name() << "):"
<< endl;
for (const label regioni : patchRegions)
forAllConstIters(patchRegions, iter)
{
const label regioni = iter.key();
Info<< " " << token::TAB << regioni
<< token::TAB << allRegionVolume[regioni]
<< token::TAB << allRegionAlphaVolume[regioni] << endl;

View File

@ -876,6 +876,7 @@ bool Foam::functionObjects::forces::read(const dictionary& dict)
}
coordSys_.clear();
localSystem_ = false;
// Centre of rotation for moment calculations
// specified directly, from coordinate system, or implicitly (0 0 0)

View File

@ -111,8 +111,12 @@ Note
coordinateSystem
{
origin (0 0 0);
e3 (0 0 1);
e1 (1 0 0);
coordinateRotation
{
type axesRotation;
e3 (0 0 1);
e1 (1 0 0);
}
}
\endverbatim