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

application of ASCII STL in different systems

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 18
Rep Power: 3
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: 3
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: 18
Rep Power: 3
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with ASCII STL Tobi OpenFOAM Paraview & paraFoam 6 April 30, 2014 13:49
binary or ascii stl? Calobra OpenFOAM Meshing Format & General Technical 15 February 10, 2012 11:59
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 8 March 12, 2008 05:58
Inquiry on CFD Application For Air Intake Systems Pedro Torres Main CFD Forum 0 December 14, 1999 15:49


All times are GMT -4. The time now is 16:51.