unable to use cfd analysis

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
satishrai
Posts: 9
Joined: Tue May 30, 2023 3:11 pm

unable to use cfd analysis

Post by satishrai »

hi i am using freecad 0.20.2 on windows 11
i tried installing cfd workbench which i was unable to instal then i used
https://www.youtube.com/watch?v=7I7W_H8T_JM

followed by which i did the following step
Downloading OpenFOAM, please wait...
OpenFOAM downloaded to C:\Users\satis\AppData\Local\Temp\tmpw7wn96wy.exe
OpenFOAM installer launched - please complete the installation
Downloading ParaView, please wait...
ParaView downloaded to C:\Users\satis\AppData\Local\Temp\tmptby_qc4h.exe
ParaView installer launched - please complete the installation
Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\satis\AppData\Local\Temp\tmpa9mrcqat.zip
Installing cfMesh...
Install completed
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\satis\AppData\Local\Temp\tmpmk1ui1la.zip
Installing HiSA...
Install completed
Checking dependencies...
System: Windows
Runtime: MinGW
OpenFOAM directory:
C:\Users\satis\AppData\Roaming\ESI-OpenCFD\OpenFOAM\v2206
MPI was not found. Parallel execution will not be possible.
cfMesh (CfdOF version) not found
HiSA not found
Paraview executable: C:\Program Files\ParaView
5.10.1-Windows-Python3.9-msvc2017-AMD64\bin\paraview.exe
gmsh executable: C:/Users/satis/AppData/Local/Programs/FreeCAD
0.20/bin/gmsh.exe
Completed CFD dependency check
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\satis\AppData\Local\Temp\tmp2_mas9xw.zip
Installing HiSA...
Install completed
now when try to run mesher i get the following error
20:34:42 Part to mesh:
Name: Fillet, Label: Fillet, ShapeType: Solid
20:34:42 CharacteristicLengthMax: 4.599138917286235
20:34:42 Exporting mesh refinement data ...
20:34:42 Matching boundary patches
20:34:42 Matching mesh refinement regions
20:34:42 Exporting the part surfaces ...
20:34:42 Triangulating part Fillet, patch patch_0_0
20:34:43 Populating mesh dictionaries in folder
C:\Users\satis\AppData\Local\Temp\meshCase
20:34:43 Successfully wrote meshCase to folder
C:\Users\satis\AppData\Local\Temp\meshCase
20:34:43 Wrote mesh case to C:\Users\satis\AppData\Local\Temp\meshCase
20:34:46 Executing: ./Allmesh in
C:\Users\satis\AppData\Local\Temp\meshCase
20:34:47 Sourcing OpenFOAM environment...
20:34:47 openfoam: windows support (mingw64) is runtime only
20:35:00 Wrapper process received terminate command
20:35:20 Part to mesh:
Name: Fillet, Label: Fillet, ShapeType: Solid
20:35:21 CharacteristicLengthMax: 1.0
20:35:21 Exporting mesh refinement data ...
20:35:21 Matching boundary patches
20:35:21 Matching mesh refinement regions
20:35:21 Exporting the part surfaces ...
20:35:21 Triangulating part Fillet, patch patch_0_0
20:35:21 Populating mesh dictionaries in folder
C:\Users\satis\AppData\Local\Temp\meshCase
20:35:21 Successfully wrote meshCase to folder
C:\Users\satis\AppData\Local\Temp\meshCase
20:35:21 Wrote mesh case to C:\Users\satis\AppData\Local\Temp\meshCase
20:35:23 Executing: ./Allmesh in
C:\Users\satis\AppData\Local\Temp\meshCase
20:35:24 Sourcing OpenFOAM environment...
20:35:24 openfoam: windows support (mingw64) is runtime only
20:35:37
C:/Users/satis/AppData/Roaming/ESI-OpenCFD/OpenFOAM/v2206/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2206/platforms/win64MingwDPInt32Opt/bin/surfaceFeatureEdges.exe:
error while loading shared libraries: libOpenFOAM.dll: cannot open shared
object file: No such file or directory
User avatar
Raedchen_im_System
Posts: 95
Joined: Sun Oct 27, 2019 5:22 pm
Location: In der Nähe von Stuttgart
Contact:

Re: unable to use cfd analysis

Post by Raedchen_im_System »

satishrai wrote: Tue May 30, 2023 3:27 pm Checking dependencies...
[...]
MPI was not found. Parallel execution will not be possible.
cfMesh (CfdOF version) not found
HiSA not found
I think that the missing MPI, cfMesh and HiSA might be the issue. Concerning MPI, there a lot of threads in this sub-forum. Concerning installation of cfMesh and HiSA, you can take a look at my first video tutorial: https://www.youtube.com/watch?v=OS4sbbBtZUw&t=369s

cfMesh and HiSa are compiled, this lasts very, very long. You can check the result in the log-files, please refer to my tutorial. In the tutorial, the "old" version of openFoam (blueCfd) was used, that has changed now to ESI-OpenFoam.

For openFoam for windows, there are 2 versions available: The version v2012 and the version v2206. If you install the version v2206, please make sure that each path is set correct.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: unable to use cfd analysis

Post by adrianinsaval »

I'm asuming you installed this one: https://www.openfoam.com/download/openf ... ompilation
which says:
This version does not support compilation of OpenFOAM or dynamic code
meaning you can't install hisa or cfmesh on it if I'm not mistaken
User avatar
oliveroxtoby
Posts: 812
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: unable to use cfd analysis

Post by oliveroxtoby »

adrianinsaval wrote: Wed May 31, 2023 6:59 pm I'm asuming you installed this one: https://www.openfoam.com/download/openf ... ompilation
which says:
This version does not support compilation of OpenFOAM or dynamic code
meaning you can't install hisa or cfmesh on it if I'm not mistaken
That's not actually the case. We provide pre-compiled binaries for this platform.
Post Reply