|
[Sponsors] |
April 6, 2022, 18:43 |
Mesh broken after combining stl
|
#1 |
New Member
Ben Andrews
Join Date: Apr 2022
Posts: 2
Rep Power: 0 |
Hi there,
openFoam noob here, sorry in advance. I am having a problem building my mesh with salome. combining stl files with individual patches seems to break some of the faces. please see the attached image. My workflow has been: 1. create (very simple) geometry with fusion 360 and export to step format. 2. import step file into Salome 3. create face groups for inlet,outlet,walls 4. triangulate mesh with NETGEN 2D / Wire discretization (adaptive length) 5. export groups of faces to inlet.stl, outlet.stl and walls.stl 6. combine with "cat *.stl > combined.stl" The exported stl files look fine, but everything goes crazy in the combined file. Any advice? |
|
April 7, 2022, 05:25 |
|
#2 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
What happens if you use OpenFOAM's surfaceAdd to combine the STLs?
Code:
Usage: surfaceAdd [OPTIONS] <surface1> <surface2> <output> Arguments: <surface1> The input surface file 1 <surface2> The input surface file 2 <output> The output surface file Options: -case <dir> Specify case directory to use (instead of cwd) -mergeRegions Combine regions from both surfaces -points <file> Provide additional points -scale <factor> Geometry scaling factor on input surfaces -doc Display documentation in browser -help Display short help and exit -help-full Display full help and exit Add two surfaces via a geometric merge on points. Does not check for overlapping/intersecting triangles. Using: OpenFOAM-v2112 (2112) - visit www.openfoam.com Build: _14aeaf8dab-20211220 Arch: LSB;label=32;scalar=64 |
|
April 7, 2022, 08:29 |
|
#3 |
New Member
Ben Andrews
Join Date: Apr 2022
Posts: 2
Rep Power: 0 |
Similar result unfortunately, although it seems to be translating different nodes.
I think the problem is Salome. I've just tried importing the merged file to fusion 360 and it displays perfectly. |
|
Tags |
stl files |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Problems with stl from dem and background mesh | VLima | OpenFOAM Meshing & Mesh Conversion | 1 | May 4, 2020 13:04 |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 05:17 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
[ICEM] Working on imported STL mesh file | saitej09 | ANSYS Meshing & Geometry | 0 | January 16, 2015 07:11 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |