Revert "snappyHexMesh: Changed the default for the writing of pointLevels and cellLevels files in the polyMesh directory"
This reverts commit 799db4d958.
This commit is contained in:
@ -94,11 +94,12 @@ namespace Foam
|
||||
>::names[] =
|
||||
{
|
||||
"mesh",
|
||||
"refinement",
|
||||
"noRefinement",
|
||||
"scalarLevels",
|
||||
"layerSets",
|
||||
"layerFields"
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
const Foam::NamedEnum<Foam::meshRefinement::IOdebugType, 5>
|
||||
@ -2892,7 +2893,7 @@ void Foam::meshRefinement::write
|
||||
write();
|
||||
}
|
||||
|
||||
if (writeFlags & WRITEREFINEMENT)
|
||||
if (writeFlags && !(writeFlags & NOWRITEREFINEMENT))
|
||||
{
|
||||
meshCutter_.write();
|
||||
surfaceIndex_.write();
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -121,7 +121,7 @@ public:
|
||||
enum IOwriteType
|
||||
{
|
||||
IOWRITEMESH,
|
||||
IOWRITEREFINEMENT,
|
||||
IONOWRITEREFINEMENT,
|
||||
IOWRITELEVELS,
|
||||
IOWRITELAYERSETS,
|
||||
IOWRITELAYERFIELDS
|
||||
@ -131,7 +131,7 @@ public:
|
||||
enum writeType
|
||||
{
|
||||
WRITEMESH = 1<<IOWRITEMESH,
|
||||
WRITEREFINEMENT = 1<<IOWRITEREFINEMENT,
|
||||
NOWRITEREFINEMENT = 1<<IONOWRITEREFINEMENT,
|
||||
WRITELEVELS = 1<<IOWRITELEVELS,
|
||||
WRITELAYERSETS = 1<<IOWRITELAYERSETS,
|
||||
WRITELAYERFIELDS = 1<<IOWRITELAYERFIELDS
|
||||
|
||||
@ -301,7 +301,6 @@ writeFlags
|
||||
scalarLevels // write volScalarField with cellLevel for postprocessing
|
||||
layerSets // write cellSets, faceSets of faces in layer
|
||||
layerFields // write volScalarField for layer coverage
|
||||
refinement
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user