- checkMesh has option to write faceSets or (outside of) cellSets as sampledSurface format. It automatically reconstructs the set on the master and writes it to the postProcessing folder (as any sampledSurface). E.g. mpirun -np 6 checkMesh -allTopology -allGeometry -writeSets vtk -parallel - fixed order writing of symmTensor in Ensight writers
20 lines
531 B
C++
20 lines
531 B
C++
#include "scalar.H"
|
|
|
|
namespace Foam
|
|
{
|
|
class polyMesh;
|
|
class surfaceWriter;
|
|
class faceSet;
|
|
class cellSet;
|
|
|
|
void printMeshStats(const polyMesh& mesh, const bool allTopology);
|
|
|
|
//- Write vtk representation of (assembled) faceSet to vtk file in
|
|
// postProcessing/ directory
|
|
void mergeAndWrite(const surfaceWriter&, const faceSet&);
|
|
|
|
//- Write vtk representation of (assembled) cellSet to vtk file in
|
|
// postProcessing/ directory
|
|
void mergeAndWrite(const surfaceWriter&, const cellSet&);
|
|
}
|