snappyHexMesh failure - "which: no surfaceFeatures in ..." using OpenFOAM mingw v2012

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

Geefer
Posts: 17
Joined: Mon Feb 01, 2021 4:10 pm

snappyHexMesh failure - "which: no surfaceFeatures in ..." using OpenFOAM mingw v2012

Postby Geefer » Wed Feb 17, 2021 2:20 pm

A recent change https://github.com/jaheyns/CfdOF/commit ... 4f2000fd33 does not appear to work correctly with the Mingw OpenFOAM v2012 installation as all attempts to use snappyHexMesh appear to fail with:

which: no surfaceFeatures in (...... <long list of searchpaths> ...)

in the Report View window and:

Meshing exited with error

In the mesh console window.

Have tried using the OpenSim tutorial 2 on FreeCAD 0.18 and current 0.19 pre version.

Has anyone else seen this?
thschrader
Posts: 2129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: snappyHexMesh failure - "which: no surfaceFeatures in ..." using OpenFOAM mingw v2012

Postby thschrader » Wed Feb 17, 2021 2:45 pm

Just updated cfdof-wb. Same problem here. Previous cfdof works.
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24054 (Git)
Build type: Release
Branch: master
Hash: ed873038025277f220dfaa058599a0dfbb435835
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
User avatar
oliveroxtoby
Posts: 494
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: snappyHexMesh failure - "which: no surfaceFeatures in ..." using OpenFOAM mingw v2012

Postby oliveroxtoby » Wed Feb 17, 2021 3:18 pm

Geefer wrote: Wed Feb 17, 2021 2:20 pm A recent change https://github.com/jaheyns/CfdOF/commit ... 4f2000fd33 does not appear to work correctly with the Mingw OpenFOAM v2012 installation as all attempts to use snappyHexMesh appear to fail with:

which: no surfaceFeatures in (...... <long list of searchpaths> ...)

in the Report View window and:

Meshing exited with error

In the mesh console window.

Have tried using the OpenSim tutorial 2 on FreeCAD 0.18 and current 0.19 pre version.

Has anyone else seen this?
Sorry. Should be fixed now.
Geefer
Posts: 17
Joined: Mon Feb 01, 2021 4:10 pm

Re: snappyHexMesh failure - "which: no surfaceFeatures in ..." using OpenFOAM mingw v2012

Postby Geefer » Wed Feb 17, 2021 4:40 pm

Thanks for the quick response Oliver.

It works fine now - once I remembered to write the mesh case out again to overwrite the old one before running the mesher again. I am forever forgetting that step! :oops: