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

[snappyHexMesh] Creating stl file for snappyHexMesh from xyz coordinates

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2017, 14:40
Default Creating stl file for snappyHexMesh from xyz coordinates
  #1
Member
 
Vignesh Rajendiran
Join Date: Aug 2016
Location: Chennai, India
Posts: 62
Rep Power: 9
Vignesh2508 is on a distinguished road
Hello Guys,

I have to generate a stl file for sHM. I have xyz coordinates for the model. Right now I wrote a code in gmsh to generate a geo file and then convert that into stl file. But that code generates a whole solid stl file. And that has a huge size which is unnecessary for me since it is only used for snapping the profile in sHM and I am going to use the stl file in sHM to do an external flow analysis. A simple thin sheet like extrusion will be enough for my simulation, which will also save a lot of file size. Is there a way to do that?

Thanks

Vicky
Vignesh2508 is offline   Reply With Quote

Old   April 25, 2017, 05:51
Default
  #2
Senior Member
 
KaLium's Avatar
 
Kal-El
Join Date: Apr 2017
Location: Finland
Posts: 150
Rep Power: 9
KaLium is on a distinguished road
https://sites.google.com/site/snappy...efined-regions

does the searchableBox work for your case?

edit: *not a stl, but you can define walls with 'user defined regions'



KaLium is offline   Reply With Quote

Old   April 25, 2017, 08:43
Default
  #3
Member
 
Vignesh Rajendiran
Join Date: Aug 2016
Location: Chennai, India
Posts: 62
Rep Power: 9
Vignesh2508 is on a distinguished road
Hi Kal,

I know the feature that you mentioned. My geometry is complex therefore i need the stl file.

Anyway thanks

Vicky
Vignesh2508 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
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23


All times are GMT -4. The time now is 11:12.