|
[Sponsors] |
June 20, 2013, 07:55 |
conversion from .stl to .msh
|
#1 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 13 |
hello
how can i convert a .stl file to a .msh file?? Thanking you in advance for a reply' Izna |
|
June 21, 2013, 04:37 |
|
#2 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
Hi Izna
it is not possible. STL is a format for geometry files and msh a format for mesh files. However snappyHexMesh helps you generating an OpenFOAM mesh from a geometry. Maybe you can export this to msh format. Markus |
|
June 25, 2013, 11:19 |
|
#3 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 13 |
Hi markus
thank you for your quick reply.. .stl format is for the openfoam format right? now i have a .stl file and i have to get a .msh file for another project. .stl file is not a meshed file? can you please be kind and explain more about the snappyHexMesh and the openfoam mesh i am confused.. in this below list of conversion i can not see .stl format.. Izna |
|
June 25, 2013, 11:48 |
|
#4 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
No, its not. As Markus stated it only contains purely geometric information: http://en.wikipedia.org/wiki/STL_(file_format)
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. Last edited by akidess; June 25, 2013 at 12:09. Reason: Fixed link |
|
June 25, 2013, 11:49 |
|
#5 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 13 |
i can not see the file.. the website is being updated..
how do i go from .stl to snappyHexMesh? can you please give me the command? thanks izna |
|
June 25, 2013, 12:10 |
|
#6 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
You will find lots of information here: http://openfoamwiki.net/index.php/SnappyHexMesh
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
July 4, 2013, 08:33 |
|
#7 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 13 |
hi
i stil has not found a way to convert my .stl mesh to .msh.. can anyone give me a hand? |
|
July 4, 2013, 10:08 |
|
#8 |
Senior Member
|
Hi,
does that ".msh" indicate that you are trying to produce a "fluent"-mesh, or is it a typing error? As previous posters describe there are tools like SnappyHexMesh or itīs GUI-cousin HELXY-OS http://sourceforge.net/projects/helyx-os/ (not to forget engrid) to produce a CFD-mesh for OpenFOAM Further you can convert a sucessfuly created OpenFOAM mesh into a "fluent"-mesh "*.msh" using "foamMeshToFluent" which writes out the OPENFOAMŪ mesh in Fluent mesh format take a look http://www.hpfem.jku.at/netgen/ |
|
July 9, 2013, 04:29 |
|
#9 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 13 |
hii problem resolved..
I simply had to call my file then type the command..foamMeshToFuent in terminal and it convert my .stl file which has already been meshed using snappyHexMesh.... Thanks everyone..;-) cheers Izna |
|
July 11, 2013, 11:48 |
|
#10 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
we have developed a free tool that creates meshes (SHM, not msh) and cases from STL files, please register to download here:
http://cfd.cadnexus.com/ If you are set on using .msh files, you can import your STL in GMSH and use the GUI to generate a mesh of that format. http://geuz.org/gmsh/ |
|
July 11, 2013, 16:38 |
|
#11 |
Senior Member
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 13 |
thanks for your info dear Mihai, it is indeed a useful tool....
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
*.msh conversion + axissymetric problem | bruxellois4 | OpenFOAM | 18 | March 5, 2020 16:48 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 08:31 |
[Commercial meshers] star-ccm mesh to O\/F | DLC | OpenFOAM Meshing & Mesh Conversion | 77 | September 19, 2016 10:25 |
[Commercial meshers] .msh conversion | buaawangwei | OpenFOAM Meshing & Mesh Conversion | 0 | April 3, 2012 10:57 |
.cgns to .msh conversion | arapha | Main CFD Forum | 2 | October 13, 2010 00:29 |