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/)
-   -   [Gmsh] defaultFaces in gmsh (https://www.cfd-online.com/Forums/openfoam-meshing/213799-defaultfaces-gmsh.html)

Pazifikus January 9, 2019 05:18

defaultFaces in gmsh
 
2 Attachment(s)
Hello everybody,


Im trying to simulate the flow in a medium complex geometry for a university project. As I find gmsh pretty comfortable to use for repetitive tasks, I used a few loops to produce the attached geometry. The mesh generation in gmsh works without any problems, but when I try to import it to OpenFoam, I got a few different errors. The latest error is concerning the default faces. As far as I know, this error usually arises when surfaces are not declared as physical properties. But as far as I can see, this is not the case in my geometry. See the .geo file attached.

In the geometry, there is an inlet, the flow gets then distributed to multiple windtunnels and recombines at the outlet. I removed the Volumes for each windtunnel which I got after extruding and declared one single Surface Loop instead, to only have one Physical Volume. This is because the approach to have several Physical Volumes didn't work out as well.
I also inspected the geometry after meshing with foamToVTK, see the screenshot attached. As you can see, only a part of the desired walls get declared correctly, the rest is added to the default faces.



Id be happy about any suggestions on how to properly mesh this geometry.


Thanks in advance :)


Cheers, Pascal


All times are GMT -4. The time now is 05:36.