Creates surface patches from surface subsets. More...
Go to the source code of this file.
Functions | |
void | exportFeatureEdges (const triSurf &origSurf, const fileName &edgeFileName) |
int | main (int argc, char *argv[]) |
Creates surface patches from surface subsets.
Original source file FMSToSurface.C
Definition in file FMSToSurface.C.
write the header
write points
Definition at line 40 of file FMSToSurface.C.
References Foam::e, Foam::exit(), Foam::FatalError, FatalErrorIn, triSurfFeatureEdges::featureEdges(), forAll, Foam::nl, nPoints, p, points, triSurfPoints::points(), and token::SPACE.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
read the inout surface
write the surface in the requated format
export surface subsets as separate surface meshes
get the name of the subset
create a surface mesh corresponding to the subset
write the mesh on disk
Definition at line 102 of file FMSToSurface.C.
References args, argList::args(), triSurfaceCopyParts::copySurface(), Foam::endl(), exportFeatureEdges(), fileName::ext(), triSurfFacets::facetSubsetIndices(), triSurfFacets::facetSubsetName(), forAll, Foam::Info, fileName::lessExt(), argList::noParallel(), argList::options(), argList::validArgs, argList::validOptions, and triSurf::writeSurface().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.