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/)
-   -   [Commercial meshers] is it possible do use foamMeshtoFluent for 2D? (https://www.cfd-online.com/Forums/openfoam-meshing/152309-possible-do-use-foammeshtofluent-2d.html)

Jeanp April 28, 2015 10:56

is it possible do use foamMeshtoFluent for 2D?
 
Hi all,

I would like to know if it is possible to convert a "2D" mesh made with snappyHexMesh (extrudeMesh) into a 2D mesh for Fluent. I've tried with foamMeshToFluent but I get a 3D .msh. For me it is logic but I just want to know if it is possible and how also :)

Thanks!

Jean

wyldckat April 30, 2015 12:53

Quick answer:
  1. OpenFOAM mostly works with 3D meshes, therefore it's not likely that it will be able to export to Fluent's 2D msh format.
  2. If Fluent can load another type of surface mesh, you can try using foamToSurface, for example if you run it like this:
    Code:

    foamToSurface test.msh
    It will tell you this:
    Code:

    Unknown file extension for writing : msh
    Valid types: ( ac gts inp obj off ofs smesh stl stlb tri vtk wrl x3d )

  3. Since the utility fluentMeshToFoam can import 2D meshes, you could ask/hire someone to create a modified version of foamMeshToFluent to support this feature.


All times are GMT -4. The time now is 17:48.