|
[Sponsors] |
December 10, 2015, 13:07 |
Open stl with cat command
|
#1 |
New Member
Francesco
Join Date: Jul 2014
Posts: 26
Rep Power: 12 |
Hi,
i have a little trouble. I need to generate a pipe to an internal simulation. At first, i try to generate a rectangular pipe with Salome. I create a box, then i explode all the face and finally i export all the face in stl file. After that i rename the solid in all the stl and finally with cat constant/triSurface/pipe/* > pipe.stl i create my stl file with all region defined. The procedure works fine with the box, but when i try to do the same things with the cylinder, the result of the cat constant/triSurface/pipe/* > pipe.stl is an open file. If i did not name the father stl (eg. the Inlet stl instead of strat with" solid Inlet" start with "solid") the resulting stl is closed and well defined, but without region defined. |
|
December 11, 2015, 11:50 |
|
#2 |
New Member
Francesco
Join Date: Jul 2014
Posts: 26
Rep Power: 12 |
If someone have also any advise to create a multi region stl or a multiregion obj with ProE or Salome, or any tutorial case guideline ecc... i would be grateful to follow the suggest.
At the end, i need only 3 region, Wall, Inlet and Outlet. |
|
March 29, 2016, 02:38 |
|
#3 |
New Member
Florian Nguyen
Join Date: Oct 2015
Location: Tokyo, Japan
Posts: 19
Rep Power: 11 |
Hello Francesco,
For what seems to be a rather simple geometry, I think that you can refer to the following tutorial: https://www.youtube.com/watch?v=1zQbU-E4k1U I also faced the same problem with exporting faces of a solid as STL from Salome. This will occur every time you try to export circular shapes or curves, unfortunately. I noticed that Salome has very poor capability when it comes to exporting to faces to STL. However, if you mesh directly from Salome you will end up with a mesh that can be directly used in OpenFoam using ideasUnvToFoam. Hope this solves your problem, Florian |
|
June 11, 2016, 06:44 |
stl not closed
|
#4 |
Member
Vignesh
Join Date: Oct 2012
Location: Darmstadt, Germany
Posts: 66
Rep Power: 14 |
Hi Francesco,
Did you solve the problem ?? Can you tell me how to ? I also used salome to make a simple geometry, exploded its faces, saved each surfaces as individual stl files and then manually combined them into one stl (as you did). When i do a surfaceCheck, i always get that my stl geometry is not closed. I am able to successfully mesh it using cfmesh tool !! But checkMesh fails Code:
***Total number of faces on empty patches is not divisible by the number of cells in the mesh. Hence this mesh is not 1D or 2D.
__________________
Thanks and Regards Vignesh |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
8x icoFoam speed up with Cufflink CUDA solver library | kmooney | OpenFOAM Running, Solving & CFD | 42 | November 6, 2012 12:37 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |