|
[Sponsors] |
March 22, 2021, 14:20 |
GmshToFoam
|
#1 |
New Member
Zivota Lazarevic
Join Date: Mar 2021
Posts: 4
Rep Power: 5 |
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. |
|
March 25, 2021, 06:43 |
|
#2 | |
New Member
Join Date: Jul 2011
Posts: 15
Rep Power: 15 |
Quote:
Have you specified both Physical Surface and Physical Volume for your geometry? |
||
March 25, 2021, 06:52 |
|
#3 | |
New Member
Join Date: Jul 2011
Posts: 15
Rep Power: 15 |
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. |
||
March 25, 2021, 06:54 |
|
#4 |
New Member
Zivota Lazarevic
Join Date: Mar 2021
Posts: 4
Rep Power: 5 |
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 |
|
March 27, 2021, 06:58 |
|
#5 |
New Member
|
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. |
|
Tags |
gmsh msh format converter, patch surface |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] New version of gmshToFoam? | stootoon | OpenFOAM Meshing & Mesh Conversion | 7 | February 14, 2022 10:01 |
[Gmsh] gmshToFoam problem. | nilashansen | OpenFOAM Meshing & Mesh Conversion | 11 | June 5, 2016 11:45 |
[Gmsh] Cell to node connectivity after 'gmshToFoam' | Jibran | OpenFOAM Meshing & Mesh Conversion | 1 | June 8, 2015 10:09 |
[Gmsh] gmshTofoam pbm with cyclicAMI | acahuzac | OpenFOAM Meshing & Mesh Conversion | 2 | October 20, 2014 04:53 |
[Gmsh] gmshToFoam command | mvinassa | OpenFOAM Meshing & Mesh Conversion | 1 | April 25, 2014 08:36 |