[Resolved] "Meshing exited with error" with no info on said error.

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
FelixP
Posts: 2
Joined: Mon May 30, 2022 8:50 pm

[Resolved] "Meshing exited with error" with no info on said error.

Post by FelixP »

Hello everyone,

This is my first post here so please excuse any missed formalities and make sure to point out anything that I should've provided to get the best help possible.

I'm currently attempting to mesh a geometry through the CfdOF workbench with both gmsh and cfMesh. Both return "Meshing exited with error" in the status window.
Here is the info that gmsh gives me:

Code: Select all

17:03:33  Part to mesh:
  Name: Cut, Label: Cut, ShapeType: Compound
17:03:33    CharacteristicLengthMax: 0.5
17:03:33  Exporting mesh refinement data ...
17:03:33  Matching boundary patches
17:03:33  Matching mesh refinement regions
17:03:33  Matching mesh refinements
17:03:33  Exporting the part surfaces ...
17:03:33  Populating mesh dictionaries in folder C:\Users\felix\AppData\Local\Temp\meshCase
17:03:33  Successfully wrote meshCase to folder C:\Users\felix\AppData\Local\Temp\meshCase
17:03:33  Wrote mesh case to C:\Users\felix\AppData\Local\Temp\meshCase
17:03:38  Executing: C:\Users\felix\AppData\Roaming\ESI-OpenCFD\OpenFOAM\v2012\msys64\usr\bin\bash --login -O expand_aliases -c echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; cd "/c/Users/felix/AppData/Local/Temp/meshCase" && ./Allmesh
17:03:40  Sourcing OpenFOAM environment...
17:03:40  openfoam: windows support (mingw64) is runtime only
17:03:58  Info    : Running 'C:\Users\felix\OneDrive\Desktop\cfd\gmsh-4.10.2-Windows64\gmsh.exe -nt 8 - gmsh/Cut_Geometry.geo' [Gmsh 4.10.2, 1 node, max. 8 threads]
Info    : Started on Mon May 30 17:04:37 2022
Info    : Reading 'gmsh/Cut_Geometry.geo'...
Info    : Reading 'gmsh/Cut_Geometry.brep'...
Info    : Done reading 'gmsh/Cut_Geometry.brep'
Info    : Meshing 1D...
Info    : [  0%] Meshing curve 5 (Line)
Info    : [  0%] Meshing curve 2 (Line)
Info    : [  0%] Meshing curve 3 (Line)
Info    : [ 10%] Meshing curve 9 (Line)
Info    : [  0%] Meshing curve 6 (Line)
Info    : [  0%] Meshing curve 8 (Line)
Info    : [  0%] Meshing curve 7 (Line)
Info    : [  0%] Meshing curve 1 (Line)
Info    : [  0%] Meshing curve 4 (Line)
Info    : [ 20%] Meshing curve 10 (Line)
Info    : [ 20%] Meshing curve 11 (Line)
Info    : [ 30%] Meshing curve 12 (Line)
Info    : [ 40%] Meshing curve 14 (Circle)
Info    : Done meshing 1D (Wall 0.0537071s, CPU 0s)
Info    : Meshing 2D...
Info    : [  0%] Meshing surface 6 (Plane, Delaunay)
Info    : [  0%] Meshing surface 4 (Plane, Delaunay)
Info    : [  0%] Meshing surface 2 (Plane, Delaunay)
Info    : [  0%] Meshing surface 7 (Sphere, MeshAdapt)
Info    : [  0%] Meshing surface 3 (Plane, Delaunay)
Info    : [  0%] Meshing surface 5 (Plane, Delaunay)
Info    : [  0%] Meshing surface 1 (Plane, Delaunay)
17:04:37  Info    : Done meshing 2D (Wall 0.313453s, CPU 1.65625s)
Info    : Meshing 3D...
17:04:38  Info    : 3D Meshing 1 volume with 1 connected component
17:04:38  Info    : Creating an empty mesh with 28428 vertices
17:04:38  Info    : Initialization of tet. mesh
Info    : Delaunay of      28424 points on   8 threads - mesh.nvert: 4         
17:04:38  Info    : Recovering 68 missing facet(s)
17:04:38  Info    : Recover Delaunay
17:04:38  Info    : 1 out of 2 volumes will be refined
17:04:38  Info    : All volumes of the BRep were found and colorized accordingly
17:04:38  Info    : Computing interpolated mesh sizes...
17:04:38  Info    : Done computing interpolated mesh sizes
17:04:38  Info    : Delaunay of      76568 points on   8 threads - mesh.nvert: 28428     
17:04:38  Info    :           -      63840 points filtered
17:04:38  Info    :           =      12728 points added
17:04:38  Info    : Computing interpolated mesh sizes...
17:04:39  Info    : Done computing interpolated mesh sizes
17:04:39  Info    : Delaunay of     112070 points on   8 threads - mesh.nvert: 41156     
17:04:39  Info    :           -      81776 points filtered
Info    :           =      30294 points added
17:04:39  Info    : Computing interpolated mesh sizes...
17:04:39  Info    : Done computing interpolated mesh sizes
17:04:39  Info    : Delaunay of     134196 points on   8 threads - mesh.nvert: 71450     
17:04:39  Info    :           -      83873 points filtered
17:04:39  Info    :           =      50323 points added
17:04:39  Info    : Computing interpolated mesh sizes...
17:04:39  Info    : Done computing interpolated mesh sizes
17:04:39  Info    : Delaunay of     130638 points on   8 threads - mesh.nvert: 121773    
17:04:39  Info    :           -      87860 points filtered
Info    :           =      42778 points added
17:04:39  Info    : Computing interpolated mesh sizes...
17:04:39  Info    : Done computing interpolated mesh sizes
17:04:39  Info    : Delaunay of      27512 points on   8 threads - mesh.nvert: 164551    
17:04:39  Info    :           -      14475 points filtered
Info    :           =      13037 points added
17:04:40  Info    : Computing interpolated mesh sizes...
17:04:40  Info    : Done computing interpolated mesh sizes
17:04:40  Info    : Delaunay of       2565 points on   1 threads - mesh.nvert: 177588    
17:04:40  Info    :           -        766 points filtered
Info    :           =       1799 points added
17:04:40  Info    : Computing interpolated mesh sizes...
17:04:40  Info    : Done computing interpolated mesh sizes
Info    : Delaunay of        141 points on   1 threads - mesh.nvert: 179387    
17:04:40  Info    :           -         25 points filtered
Info    :           =        116 points added
Info    : Computing interpolated mesh sizes...
Info    : Done computing interpolated mesh sizes
17:04:40  Info    : Delaunay of          4 points on   1 threads - mesh.nvert: 179503    
Info    : Computing interpolated mesh sizes...
Info    : Done computing interpolated mesh sizes
Info    : Delaunay of          1 points on   1 threads - mesh.nvert: 179507    
17:04:40  Info    : Computing interpolated mesh sizes...
Info    : Done computing interpolated mesh sizes
17:04:40  Info    : Improving      36338 tet. on   8 thrd (S & ER)
17:04:40  Info    : Improving       1228 tet. on   8 thrd (S & ER)
17:04:40  Info    : Improving        287 tet. on   8 thrd (S & ER)
17:04:40  Info    : Improving        234 tet. on   8 thrd (S & ER)
17:04:40  Info    : Improving        228 tet. on   8 thrd (S & ER)
17:04:40  Info    : Improving        227 tet. on   8 thrd (GSC)
17:04:40  Info    : Improving          9 tet. on   8 thrd (S & ER)
Info    : Improving          3 tet. on   8 thrd (S & ER)
Info    : Improving          3 tet. on   8 thrd (GSC)
17:04:40  Info    : Improving          1 tet. on   8 thrd (S & ER)
Info    :  	Final tet. mesh contains 1090564 tetrahedra
Info    :  	Final tet. mesh contains 179508 vertices
Info    : tEmptyMesh  	 = 	    0.113
Info    : tVerifyBnd  	 = 	    0.020
Info    : tBndRecovery	 = 	    0.387
Info    : tConvertMesh	 = 	    0.022
Info    : tRefine     	 = 	    1.527
Info    : tOptimize   	 = 	    0.156
17:04:40  Info    : Done meshing 3D (Wall 2.39301s, CPU 6.375s)
17:04:40  Info    : 179508 nodes 1091238 elements
17:04:40  Info    : Writing 'gmsh/Cut_Geometry.msh'...
17:04:40  Info    : Done writing 'gmsh/Cut_Geometry.msh'
17:04:43  Info    : Done reading 'gmsh/Cut_Geometry.geo'
Info    : Stopped on Mon May 30 17:04:43 2022 (From start: Wall 5.80347s, CPU 10.8438s)
I checked the log and there is no additional information regarding this as far as I've seen.
A mesh in generated in the meshCase file under a .msh format.

Cfmesh does not give me anything in the report or the log and still returns "Meshing exited with error".

Here is my copied FreeCAD info:
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 +148 (Git)
Build type: Release
Branch: Branch_0.19.4
Hash: 476ecf091941bead59b14e44afa6064d5a66afa3
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: French/Canada (fr_CA)

Let me know if any additional detail would help.

Best,

Felix
Attachments
test1.FCStd
Here is the file I used. It will be used to model external flow around a sphere.
(18 KiB) Downloaded 12 times
Last edited by FelixP on Tue May 31, 2022 7:09 pm, edited 1 time in total.
User avatar
oliveroxtoby
Posts: 645
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: "Meshing exited with error" with no info on said error.

Post by oliveroxtoby »

FelixP wrote: Mon May 30, 2022 9:26 pm I'm currently attempting to mesh a geometry through the CfdOF workbench with both gmsh and cfMesh. Both return "Meshing exited with error" in the status window.
Here is the info that gmsh gives me:
Could you update your workbench and try again? I suspect I introduced a bug yesterday...
FelixP
Posts: 2
Joined: Mon May 30, 2022 8:50 pm

Re: "Meshing exited with error" with no info on said error.

Post by FelixP »

Hi,

I updated the workbench and indeed it fixed the issue.

Thank you so much!
Post Reply