surfaceMeshTriangulate for only selected patches
Hello,
I generated polyMesh using blockMesh utility with three patches: sideWall, topWall and bottomWall. I then used the surfaceMeshTriangulate utility to generate stl file. Now, I'm trying to generate an stl file, separately for each patch. In the help option for surfaceMeshTriangulate, there is an option named -patches for that. But I'm unable to make use of it due to formatting. The following is what I'm trying: surfaceMeshTriangulate -patches sideWall myMesh.stl But I'm getting the following error, --> FOAM FATAL IO ERROR: incorrect first token, expected <int> or '(', found on line 0 the word 'sideWall' file: IStringStream.sourceFile at line 0. From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List<T>&) [with T = Foam::wordRe] in file /usr/local/usrapps/gould/CFD-DEM/OpenFOAM/OpenFOAM-5.x/src/OpenFOAM/lnInclude/ListIO.C at line 148. Can someone help me out with this? Thank You |
Hi,
Usually this means OpenFOAM is expecting something like this: Code:
surfaceMeshTriangulate -patches '(sideWall)' myMesh.stl Code:
surfaceMeshTriangulate -patches '(sideWall otherWall thirdWall)' myMesh.stl |
Thank you!! That works
|
All times are GMT -4. The time now is 20:07. |