|
[Sponsors] |
[surface handling] surfaceMeshTriangulate for only selected patches |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2018, 12:25 |
surfaceMeshTriangulate for only selected patches
|
#1 |
New Member
Yesaswi
Join Date: Jan 2014
Posts: 26
Rep Power: 12 |
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:perator>>(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 |
|
June 1, 2018, 03:46 |
|
#2 |
Senior Member
|
Hi,
Usually this means OpenFOAM is expecting something like this: Code:
surfaceMeshTriangulate -patches '(sideWall)' myMesh.stl Code:
surfaceMeshTriangulate -patches '(sideWall otherWall thirdWall)' myMesh.stl |
|
June 1, 2018, 16:09 |
|
#3 |
New Member
Yesaswi
Join Date: Jan 2014
Posts: 26
Rep Power: 12 |
Thank you!! That works
|
|
Tags |
-patches, surfacemeshtriangulate |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
Problem using AMI | vinz | OpenFOAM Running, Solving & CFD | 298 | November 13, 2023 09:19 |
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." | lethu | OpenFOAM Meshing & Mesh Conversion | 1 | June 3, 2020 08:49 |
Possible bug with stitchMesh and cyclics in OpenFoam | Jack001 | OpenFOAM Pre-Processing | 0 | May 21, 2016 09:00 |
Cyclic boundaries in OF 21x | morard | OpenFOAM | 25 | May 13, 2013 23:35 |