mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'develop' into feature-snappyHexMesh
This commit is contained in:
@ -493,12 +493,15 @@ Foam::label Foam::checkGeometry(const polyMesh& mesh, const bool allGeometry)
|
||||
// Min length
|
||||
scalar minDistSqr = magSqr(1e-6 * globalBb.span());
|
||||
|
||||
// Non-empty directions
|
||||
// Geometric directions
|
||||
const Vector<label> validDirs = (mesh.geometricD() + Vector<label>::one)/2;
|
||||
Info<< " Mesh (non-empty, non-wedge) directions " << validDirs << endl;
|
||||
Info<< " Mesh has " << mesh.nGeometricD()
|
||||
<< " geometric (non-empty/wedge) directions " << validDirs << endl;
|
||||
|
||||
// Solution directions
|
||||
const Vector<label> solDirs = (mesh.solutionD() + Vector<label>::one)/2;
|
||||
Info<< " Mesh (non-empty) directions " << solDirs << endl;
|
||||
Info<< " Mesh has " << mesh.nSolutionD()
|
||||
<< " solution (non-empty) directions " << solDirs << endl;
|
||||
|
||||
if (mesh.nGeometricD() < 3)
|
||||
{
|
||||
|
||||
@ -133,7 +133,11 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
Info<< "Time = " << runTime.timeName() << endl;
|
||||
|
||||
mesh.update();
|
||||
for (int i = 0; i<2; i++)
|
||||
{
|
||||
mesh.update();
|
||||
}
|
||||
|
||||
mesh.checkMesh(true);
|
||||
|
||||
if (checkAMI)
|
||||
|
||||
Reference in New Issue
Block a user