CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [CAD formats] STL for suboff (https://www.cfd-online.com/Forums/openfoam-meshing/130791-stl-suboff.html)

ljjouc March 4, 2014 09:44

STL for suboff
 
Hi, everyone

I am using OpenFOAM to simulate the three-dimensional external flow over a submarine. Now , I plan to use snappyHexMesh to generate the mesh, so a surface data profile formatted in STL corresponding to the submarine model is required. However, I do not know how to produce such a STL file for the submarine. Shall I need some kind of software to export this STL file? If so, shall anyone kindly recommend a proper software?

Thanks in advance!

linnemann March 4, 2014 12:48

Hi

If you have the cad part in STEP/IGES/BREP you can use Netgen, Gmsh or Salome to import the geometry and mesh the surface and export to 3D stl.

ljjouc March 4, 2014 20:02

Hi, Linnemann ;

Thanks for your help. At present, I do not have the cad part in IGES/STEP/BREP file, so I

guess I need a software such as Freecad or Blender or BRL-CAD to generate this file that

contains the geometry information for the suboff model?

linnemann March 8, 2014 08:16

1 Attachment(s)
Hi

I just went through the original paper for the DARPA SubOff model and could not resist making a program that works with Salome 7.3.0. :D

You can download the script here.

https://github.com/nelinnemann/Salome-Scripts

The geometry can easily be meshed with the Salome Mesh Module

ljjouc March 9, 2014 19:14

Hi, Linnemann

I am very appreciated for your valuable help. It does help me a lot !

Best regards.

Jianjun


All times are GMT -4. The time now is 18:28.