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] Problem OpenFOAM with mesh.msh imported from Gambit (https://www.cfd-online.com/Forums/openfoam-meshing/150516-problem-openfoam-mesh-msh-imported-gambit.html)

David.C March 24, 2015 08:47

Problem OpenFOAM with mesh.msh imported from Gambit
 
Hi Foamers,

I contact you because I am encountering something really unexpected. I want to create an axisymmetric 3D mesh to simulate a part of a swirl burner with reactingFoam. I manage to mesh with Gambit and import to OpenFoam then CheckMesh and I get no errors. However if I run it with -AllGeometry and -Alltopology I get some undetermined cells but it doesn't seem to be a problem to run cases as I read on several posts.

Then when I start the solver, right after chemistry reading it stops with float exception point. It doesn't even read the boundary conditions files. I checked everything modified all the files, copied the different folders from other cases but it still doesn't work.

Then I decided to start different meshing procedures :
- mesh a wedge with only 1 cell in the tangential direction as I saw in a tutorial
- generating a 2D mesh with Gambit and using extrudeMesh to create a wedge

Still the same problem. I even tried to run a case with a 2D mesh from Gambit and it still doesn't run. It seems that the problem comes from the mesh conversion because I tried with another mesh from another case and the code runs.

Well I dunno if some of you already experienced this. I doubt it but still it seems that there is something wrong in the fluent conversion to OpenFoam. Maybe some of you already did this wedge creation procedure with Gambit and concerted it to OpenFoam. Concerning the version of OF, I use the last stable version 2.3.0

Thank you in advance.

Kind regards,

David

ssss April 11, 2015 03:21

For the 2D case you must not use extrudeMesh. You should be using makeAxialMesh (search in this forum for the app). Basucally once created the 2D mesh in gambit you extrude it 1 cell in the z direction, then you import it to openfoam and then you use makeAxialMesh to create a 2Dwedge

For the 3D case I would need more information about the mesh to understand where is the problem in


All times are GMT -4. The time now is 13:19.