flathub / org.freecad.FreeCAD

https://flathub.org/apps/details/org.freecad.FreeCAD
2 stars 1 forks source link

How to install OpenFOAM? #12

Open kevinsmia1939 opened 1 year ago

kevinsmia1939 commented 1 year ago

I want to use the addon CfdOF. But the addon ask for OpenFOAM executable. Does OpenFOAM need to be include in the FreeCAD flatpak manifest or it can be done separately?

https://www.openfoam.com/

adrianinsaval commented 1 year ago

I think we would need an openfoam flatpak, IMO it's too heavy to include with FreeCAD

kevinsmia1939 commented 1 year ago

I think we would need an openfoam flatpak, IMO it's too heavy to include with FreeCAD

How to build openfoam flatpak that will be seen by FreeCAD? Because CfdOf addon ask for openfoam executable directory.

hfiguiere commented 1 year ago

There would need for the app to be available as a flatpak first.

tkontogi commented 10 months ago

FreeCAD and CFDof can access an rpm installed openfoam dir, via /run/host dir using default flatpack permissions.

In my case (Fedora 39) I access the openfoam dir via /run/host/usr/lib/openfoam/openfoam2306/

image

hfiguiere commented 10 months ago

FreeCAD and CFDof can access an rpm installed openfoam dir, via /run/host dir using default flatpack permissions.

if this work, it's a coincidence. FreeCAD has already too broad permissions with host.

tkontogi commented 10 months ago

Still under that setup of mine, there are things missing. For example the wmake is not found by FreeCAD, though openfoam-devel is installed, and wmake is in the path. I have also changed the path in ~/.bashrc.d/openfoam to point to the /run directory of openfoam, still no luck with wmake