GMSH fails with HXT-mesher

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
thschrader
Veteran
Posts: 3122
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

GMSH fails with HXT-mesher

Post by thschrader »

When meshing the geometrie below gmsh gives this error:

Code: Select all

16:05:58  [1m[31mError   : Gmsh should be compiled with Hxt to enable this option[0m
[1m[31mError   : HXT 3D mesh failed[0m
16:05:58  [1m[31mError   : No elements in volume 1 [0m
[1m[31mError   : ------------------------------
Error   : Mesh generation error summary
Error   :     0 warnings
Error   :     3 errors
Error   : Check the full log for details
Error   : ------------------------------[0m
When using gmsh-HXT with FEM-wb, same error comes.
Can we switch back to "Automatic" like in FEM?
Test-files:
beam.FCStd
(8.58 KiB) Downloaded 36 times
AAU5639w_cfd.FCStd
(111.96 KiB) Downloaded 39 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.31058 (Git)
Build type: Release
Branch: master
Hash: e6c53d8642af36ce7d738ab6058b063ec58e0859
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * BIM 2021.12.0
  * CfdOF 1.20.4
  * Curves 0.5.8
  * Defeaturing 1.2.0
  * dodo
  * fasteners 0.4.4
  * Manipulator 1.4.9
  * Plot 2022.4.17
  * Reinforcement
  * WorkFeature
gmsh_hxt.JPG
gmsh_hxt.JPG (69.55 KiB) Viewed 1054 times
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: GMSH fails with HXT-mesher

Post by adrianinsaval »

That is the weekly package right? @looo do you know why gmsh on windows is built with openmp and HXT disabled? https://github.com/conda-forge/gmsh-fee ... at#L17-L20

I created an issue to ask this: https://github.com/conda-forge/gmsh-feedstock/issues/66
thschrader
Veteran
Posts: 3122
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: GMSH fails with HXT-mesher

Post by thschrader »

adrianinsaval wrote: Mon Nov 28, 2022 1:45 pm That is the weekly package right?
Yes, the weekly package.
I reinstalled the FC0.20.1 stable release.
Result:
cfdof gmsh works
FEM gmsh-hxt works
Post Reply