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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2014, 04:14
Default application of ASCII STL in different systems
  #1
New Member
 
Kai Liang
Join Date: Nov 2013
Posts: 19
Rep Power: 12
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, 03:50
Default
  #2
New Member
 
Join Date: Jul 2014
Posts: 22
Rep Power: 11
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, 04:14
Default
  #3
New Member
 
Kai Liang
Join Date: Nov 2013
Posts: 19
Rep Power: 12
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT -4. The time now is 21:44.