Physical Surfaces not becoming patches - gmshToFoam
2 Attachment(s)
Hi,
I am totaly new to gmsh and openFoam so it's highly probable that I'm missing something simple, but after spending so time playing with the parameters and searching online I can't seem to find a solution. In gmsh, I define several Physical surfaces but when I run gmshToFoam, it only creates one patch. Here is the definition of my physical surfaces in the .geo file: Quote:
When I run gmshToFoam, it appears to read the physical names, but then only creates one patch. I also get a warning about undefined faces. Here some of the output is gives me: Quote:
|
Did you check the result with paraFoam.
I did and the mesh has been correctly converted with gmshTo Foam... |
I've checked the result with paraFoam and the mesh imports find. The problem is that all the faces are lumped into one patch instead of multiple patches as specified in gmsh to allow me to define boundry conditions
|
Well, I have opne your script with gmsh 4.5.2, made and exported mesh than imported to OpenFOAM 7.0, here is the result which is as expected, patched correctly:
https://ibb.co/9YL8hW4 |
I have the same problem with my mesh. The geometry was imported from stp file. Then the mesh was generated. I've exported the mesh into msh file using ASCII 2 and saving all elements. Then I try to import the mesh into openFoam. The mesh is imported correctly however the patches are not created. I am using GMSH 4.5.4 and OpenFOAM7. Any sugestions?
|
Has any progress been made on this topic?
I have the same problem with mesh conversion :confused: |
Hi, I am a beginner and currently learning about the gmsh software. I have created a simple geometry and meshed it. I also gave physical groups for boundary conditions but the groups are not being read when I export it to openFoam. Any suggestions or tips would be highly appreciated to tackle this issue. Below is the mesh file I have created.
Thanks |
Ansys Mesher
Not in gmsh but I faced the same problem in Ansys Mesher. I had named selection in Ansys Mesher which were not created as separate boundary patches in OF. I found that in AM you have to turn on 'Send to solver' in each named selection. This solved the problem. So there may be a similar parameter to be turned on in GMSH too.
|
All times are GMT -4. The time now is 04:44. |