gmsh "No elements in volume 1" (switched to CfdOF thread)

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
drkmoore1
Posts: 5
Joined: Mon Aug 22, 2022 11:51 pm

gmsh "No elements in volume 1" (switched to CfdOF thread)

Post by drkmoore1 »

Good morning,

I am trying to go through CfdOF and am getting stuck at the meshing. This is my first time doing meshing, so I may be missing something obvious. I write the mesh case with gmsh at 0.1 mm and then I run the mesher. It looks like the 2D meshing works but the 3D meshing gives an error "No elements in volume 1". The below is returned:

Code: Select all

08:33:46  Info    : Meshing 3D...
Info    : 3D Meshing 1 volume with 1 connected component
08:33:46  Info    : Creating an empty mesh with 154484 vertices
08:33:46  Info    : Initialization of tet. mesh
08:33:46  Info    : Delaunay of     154480 points on   8 threads - mesh.nvert: 4         
08:33:46  Info    : Recovering 1306 missing facet(s)
08:33:47  Found two overlapping facets.
  1st: [7913, 11886, 7932] #63
  2nd: [7913, 11886, 7932] #119
08:33:47  Info    : failed to recover constrained lines/triangles
08:33:47  [1m[31mError   : HXT 3D mesh failed[0m
[1m[31mError   : No elements in volume 1 [0m
[1m[31mError   : ------------------------------
Error   : Mesh generation error summary
Error   :     0 warnings
Error   :     2 errors
Error   : Check the full log for details
Error   : ------------------------------[0m
08:33:47  Info    : Done meshing 3D (Wall 1.68271s, CPU 2.76562s)
Info    : 154484 nodes 317319 elements
08:33:47  Info    : Writing 'gmsh/Connect_Geometry.msh'...
08:33:47  Info    : Done writing 'gmsh/Connect_Geometry.msh'
08:33:48  Info    : Done reading 'gmsh/Connect_Geometry.geo'
08:33:48  Info    : Stopped on Mon Oct 17 08:33:48 2022 (From start: Wall 76.8422s, CPU 165.844s)
08:33:48  
Does anyone know what I am doing wrong?

Version:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * CfdOF 1.19.1
  * Plot 2022.4.17
File is attached.
Attachments
CFD.FCStd
(635.88 KiB) Downloaded 32 times
Post Reply