Can OpenFOAM convert foam mesh to stl?
hello,everyone:
I want to convert the foam mesh to stl, it likes ICEM exporting stl file. but, I don't know if OpenFOAM has the functions. I find there is a utility named surfaceFeatureExtract, but it only used on surface mesh, but not a whole foam mesh. I wonder if there a way to exporting stl file from the foam mesh by using OpenFOAM not a third soft. thank you ~~ |
Quote:
|
If you just want the outside of the FOAM mesh as an STL, there is a handy tool called "surfaceMeshTriangulate" that will do it for you.
|
thank you for your reply:)
I tried it just now, but surfaceConvert can't read the .inp file. The suppurted extensions are .ftr/.stl/.stlb/.gts/.obj/.ac/.off/.nas/.tri . The OpenFOAM extension I use is OpenFOAM-1.6. Quote:
|
Oh, It is just what I want.
Thank you very much:) Quote:
|
Quote:
|
Hi everyone;
I have a .stl file which represent a body and I want to calcul a flow around it. I need to choose the dimension of my external box (in which there is my body) but I don't know how...Have you got an idea? Thank you for your reply Sofia |
Quote:
|
Quote:
The conversion utils only work to export from OpenFOAM format. In the meantime (since the first post), there is a foamToSurface utility to export the mesh boundaries directly. |
Quote:
OpenFOAM i used is v5. Can you please give some comments? thanks |
Did you try with surfaceMeshTriangulate? The name is misleading (will be updated soon). Exports OpenFOAM patches (all, or just some) to various surface formats, including stl, obj etc
|
All times are GMT -4. The time now is 01:14. |