CFDOF meshing problem--installation?

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
pdschroder
Posts: 10
Joined: Thu May 12, 2022 12:29 am
Location: Pella, Iowa, USA

CFDOF meshing problem--installation?

Post by pdschroder »

I had trouble installing CFDOF and its dependencies, but I think they are mostly there now. I can write the mesh case, and it looks like the mesher runs, but it exits with:
16:44:48 CharacteristicLengthMax: 5.0
16:44:48 Exporting mesh refinement data ...
16:44:48 Matching boundary patches
16:44:48 Matching mesh refinement regions
16:44:48 Exporting the part surfaces ...
16:44:49 Triangulating part Pad001, patch patch_1_0
16:44:49 Triangulating part Pad001, patch patch_2_0
16:44:49 Triangulating part Pad001, patch patch_3_0
16:44:49 Populating mesh dictionaries in folder C:\Users\Paul\AppData\Roaming\FreeCAD\Mod\CfdOF\meshCase
16:44:49 Successfully wrote meshCase to folder C:\Users\Paul\AppData\Roaming\FreeCAD\Mod\CfdOF\meshCase
16:44:49 Wrote mesh case to C:\Users\Paul\AppData\Roaming\FreeCAD\Mod\CfdOF\meshCase
16:45:06 Executing: ./Allmesh in C:\Users\Paul\AppData\Roaming\FreeCAD\Mod\CfdOF\meshCase
16:45:07 Sourcing OpenFOAM environment...
16:45:07 openfoam: windows support (mingw64) is runtime only
16:45:26 C:/Users/Paul/AppData/Roaming/ESI-OpenCFD/OpenFOAM/v2206/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2206/platforms/win64MingwDPInt32Opt/bin/surfaceFeatureEdges.exe: error while loading shared libraries: libmeshLibrary.dll: cannot open shared object file: No such file or directory
16:45:45

Did I not get OpenFOAM installed correctly? Can someone tell me how to fix it?
pdschroder
Posts: 10
Joined: Thu May 12, 2022 12:29 am
Location: Pella, Iowa, USA

Re: CFDOF meshing problem--installation?

Post by pdschroder »

the last error message says it's looking for surfaceFeatureEdges.exe, and I see that file in the path it gives. I can't figure out what I'm doing wrong.
chrisb
Veteran
Posts: 54197
Joined: Tue Mar 17, 2015 9:14 am

Re: CFDOF meshing problem--installation?

Post by chrisb »

I moved this from the general install forum. The CfdOF experts are rather here.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
oliveroxtoby
Posts: 837
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: CFDOF meshing problem--installation?

Post by oliveroxtoby »

pdschroder wrote: Mon Dec 26, 2022 11:54 pm I had trouble installing CFDOF and its dependencies, but I think they are mostly there now. I can write the mesh case, and it looks like the mesher runs, but it exits with:
16:44:48 CharacteristicLengthMax: 5.0
16:44:48 Exporting mesh refinement data ...
16:44:48 Matching boundary patches
16:44:48 Matching mesh refinement regions
16:44:48 Exporting the part surfaces ...
16:44:49 Triangulating part Pad001, patch patch_1_0
16:44:49 Triangulating part Pad001, patch patch_2_0
16:44:49 Triangulating part Pad001, patch patch_3_0
16:44:49 Populating mesh dictionaries in folder C:\Users\Paul\AppData\Roaming\FreeCAD\Mod\CfdOF\meshCase
16:44:49 Successfully wrote meshCase to folder C:\Users\Paul\AppData\Roaming\FreeCAD\Mod\CfdOF\meshCase
16:44:49 Wrote mesh case to C:\Users\Paul\AppData\Roaming\FreeCAD\Mod\CfdOF\meshCase
16:45:06 Executing: ./Allmesh in C:\Users\Paul\AppData\Roaming\FreeCAD\Mod\CfdOF\meshCase
16:45:07 Sourcing OpenFOAM environment...
16:45:07 openfoam: windows support (mingw64) is runtime only
16:45:26 C:/Users/Paul/AppData/Roaming/ESI-OpenCFD/OpenFOAM/v2206/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2206/platforms/win64MingwDPInt32Opt/bin/surfaceFeatureEdges.exe: error while loading shared libraries: libmeshLibrary.dll: cannot open shared object file: No such file or directory
16:45:45

Did I not get OpenFOAM installed correctly? Can someone tell me how to fix it?
Most likely cfMesh hasn't installed correctly. Please see the link below for some hints.
Please provide all the information requested in this post before reporting problems with CfdOF.
Post Reply