mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Write out cell centres when running surfaceSimplify in snappyHexMesh.
Also provide option to not do inside outside test when reading points into foamyHexMesh from file
This commit is contained in:
@ -1521,6 +1521,21 @@ int main(int argc, char *argv[])
|
||||
includePatches,
|
||||
outFileName
|
||||
);
|
||||
|
||||
pointIOField cellCentres
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"internalCellCentres",
|
||||
runTime.timeName(),
|
||||
mesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
mesh.cellCentres()
|
||||
);
|
||||
|
||||
cellCentres.write();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user