|
[Sponsors] |
[Gmsh] Boundary layer not created during gmshToFoam for Gmsh4.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 12, 2018, 18:55 |
Boundary layer not created during gmshToFoam for Gmsh4.0
|
#1 |
New Member
Hasan Khan
Join Date: Nov 2017
Location: Austin, TX
Posts: 1
Rep Power: 0 |
I am trying to create a mesh of a cube (box) with multiple empty spheres (boolean difference) located inside the box using Gmsh4.0. I am successful in making the mesh (*.msh v2.0 ascii) and importing it in OF using gmshToFoam. The boundaries that are labeled in Gmsh are not created in OF, instead only one zone (patch0) is created and everything is grouped there.
I tried to simplify the problem and created a box using the OpenCASCADE kernel. I create boundaries using the physical surface tab. I create a mesh, export it as v2.0 and convert it to OF using gmshToFoam, but get the same problem. The code used is: On the other hand, I did the same by defining points, creating lines, surface, and volumes in Gmsh v2.10 (code below) and used it to create a mesh and convert it for OF using gmshToFoam. This works perfectly well. My question is, am I doing something wrong when using Gmsh4.0 (using the OpenCASCADE approach)? |
|
November 25, 2018, 00:29 |
|
#2 |
New Member
Robert
Join Date: Nov 2018
Posts: 8
Rep Power: 8 |
I've never used OpenCASCADE, but if you are able to see your geometry in the GUI, you can see if you are assigning IDs correctly by going to the Tools > Visibility window, and selecting Physical Groups in the dropdown menu.
|
|
Tags |
gmshtofoam problem, mesh 3d, openfoam 5 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ = 1 boundary layer mesh with snappyHexMesh | Arzed23 | OpenFOAM Running, Solving & CFD | 6 | November 23, 2022 16:15 |
[snappyHexMesh] Error defining boundary layer around cube snappyHexMesh | crizpi21 | OpenFOAM Meshing & Mesh Conversion | 5 | October 16, 2021 11:56 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |