GmshToFoam
Hi everyone :)
I have a problem with conversion of Gmsh mesh to OpenFoam. GmshToFoam utility read physical names, points and cells form .msh file, but when generate "constant folder", there is no patches generated for every physical surface. There is only default patch0. |
Quote:
Have you specified both Physical Surface and Physical Volume for your geometry? |
Quote:
Have you tried with a different version of Gmsh? My experience is different from version to version and I suggest follow the tutorials in each version and don't mix them up. |
Yes, I did. I found the problem. For some reason, when I export .msh file, every element is assigned to physical group 0. That is why gmshToFoam makes one boundary condition.
Anyway, i found solution in exporting to .neu format from Gmsh, and then, with gambitToFoam conversion is done perfectly :) |
I am glad you solved your problem.
But there is a much straighfoward way to do it. Try specifying the physical groupements as nasa55 said. But verify you specified them well in tools->visibility before exporting the mesh. This will certainly do it. Regards. |
All times are GMT -4. The time now is 10:07. |