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

[CAD formats] application of ASCII STL in different systems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2014, 05:14
Default application of ASCII STL in different systems
  #1
New Member
 
Kai Liang
Join Date: Nov 2013
Posts: 19
Rep Power: 13
ljjouc is on a distinguished road
Hi, everyone,

I plan to use snappyHexMesh utility to produce computation grids, and first, a geometrical ascii stl file is needed.

Now, I use a CAD software in a Windows system to produce the stl file. However. the openFoam has been intalled in the Opensuse Linux system. So, my question is whether the stl file can be directly recognized and used by the snappyHexMesh? If not, what procedures shall I take to make use of this stl file ?

Any help is greatly appreciated.

Kai
ljjouc is offline   Reply With Quote

Old   August 29, 2014, 04:50
Default
  #2
New Member
 
Join Date: Jul 2014
Posts: 22
Rep Power: 12
jokerito is on a distinguished road
Hello Kai

The stl file from Windows works perfectly with Linux. But you should export the stl file as ASCII stl (you can choose between binary and ASCII in your CAD program). After that the ASCII should look like the following

Code:
solid
 facet normal  8.829476e-01 -0.000000e+00  4.694716e-01
   outer loop
     vertex  1.371324e+01  1.850000e+00  1.531920e+01
     vertex  2.008395e+01 -3.011765e+00  3.337644e+00
     vertex  2.008395e+01  1.850000e+00  3.337644e+00
   endloop
 endfacet
endsolid
and you can add it in your snappyHexMeshDict.

Please feel free to ask if you have any further questions.

Best Regards,
Mike
jokerito is offline   Reply With Quote

Old   August 29, 2014, 05:14
Default
  #3
New Member
 
Kai Liang
Join Date: Nov 2013
Posts: 19
Rep Power: 13
ljjouc is on a distinguished road
Hi. Mike.

Thanks very much for your kind help. I guess that you have
made a test to validate the perfect suitability of ascii stl file in windows to linux.
Next. I will confidently constuct my model in a CAD software.

Best wishes.
Kai
ljjouc 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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
Ansys Licence Serve on Ubuntu 16.04 LTS david.pasquale ANSYS 2 January 20, 2017 12:52
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
[OpenFOAM] Problems with ASCII STL Tobi ParaView 6 April 30, 2014 14:49
[Technical] binary or ascii stl? Calobra OpenFOAM Meshing & Mesh Conversion 15 February 10, 2012 11:59


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