CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[CAD formats] Open stl with cat command

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2015, 12:07
Default Open stl with cat command
  #1
New Member
 
Francesco
Join Date: Jul 2014
Posts: 26
Rep Power: 11
Zephiro88 is on a distinguished road
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.
Zephiro88 is offline   Reply With Quote

Old   December 11, 2015, 10:50
Default
  #2
New Member
 
Francesco
Join Date: Jul 2014
Posts: 26
Rep Power: 11
Zephiro88 is on a distinguished road
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.
Zephiro88 is offline   Reply With Quote

Old   March 29, 2016, 01:38
Default
  #3
New Member
 
Florian Nguyen
Join Date: Oct 2015
Location: Tokyo, Japan
Posts: 19
Rep Power: 10
Awak is on a distinguished road
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
Awak is offline   Reply With Quote

Old   June 11, 2016, 05:44
Default stl not closed
  #4
Member
 
Vignesh
Join Date: Oct 2012
Location: Darmstadt, Germany
Posts: 66
Rep Power: 13
vigneshTG is on a distinguished road
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.
I have attached the case file in case some one wants to have a look.
Attached Files
File Type: gz Pyr.tar.gz (10.6 KB, 0 views)
__________________
Thanks and Regards

Vignesh
vigneshTG is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 17:34
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 11:37
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09:50


All times are GMT -4. The time now is 07:40.