|
[Sponsors] |
[Gmsh] Physical Surfaces not becoming patches - gmshToFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 8, 2020, 17:36 |
Physical Surfaces not becoming patches - gmshToFoam
|
#1 | ||
New Member
Daniel Grebe
Join Date: Feb 2020
Posts: 3
Rep Power: 6 |
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:
|
|||
February 8, 2020, 18:08 |
|
#2 |
Senior Member
Join Date: Mar 2014
Posts: 112
Rep Power: 12 |
Did you check the result with paraFoam.
I did and the mesh has been correctly converted with gmshTo Foam... |
|
February 8, 2020, 19:46 |
|
#3 |
New Member
Daniel Grebe
Join Date: Feb 2020
Posts: 3
Rep Power: 6 |
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
|
|
February 9, 2020, 03:39 |
|
#4 |
Senior Member
Join Date: Mar 2014
Posts: 112
Rep Power: 12 |
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 |
|
March 19, 2020, 06:01 |
|
#5 |
Member
Join Date: Nov 2011
Posts: 30
Rep Power: 15 |
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?
|
|
March 22, 2021, 14:12 |
|
#6 |
New Member
Zivota Lazarevic
Join Date: Mar 2021
Posts: 4
Rep Power: 5 |
Has any progress been made on this topic?
I have the same problem with mesh conversion |
|
April 21, 2021, 09:57 |
|
#7 |
New Member
Join Date: Apr 2021
Posts: 1
Rep Power: 0 |
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 |
|
November 16, 2021, 11:07 |
Ansys Mesher
|
#8 |
Senior Member
Mandeep Shetty
Join Date: Apr 2016
Posts: 188
Rep Power: 10 |
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.
|
|
Tags |
gmsh, gmshtofoam patch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Nasa Nozzle: Plot 3D -->gmsh -->fluent - no physical groups | Nico89 | OpenFOAM Meshing & Mesh Conversion | 1 | June 14, 2016 06:40 |
Possible bug with stitchMesh and cyclics in OpenFoam | Jack001 | OpenFOAM Pre-Processing | 0 | May 21, 2016 09:00 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
create patches out of a patch with two parallel surfaces | Rebecca513 | OpenFOAM | 6 | March 15, 2013 17:14 |
Can sample work on internal surfaces which are not patches? | sega | OpenFOAM Post-Processing | 0 | July 10, 2009 08:19 |