Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install OpenFOAM? #105

Open
kevinsmia1939 opened this issue Jan 22, 2023 · 6 comments
Open

How to install OpenFOAM? #105

kevinsmia1939 opened this issue Jan 22, 2023 · 6 comments

Comments

@kevinsmia1939
Copy link

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
Copy link
Collaborator

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

@kevinsmia1939
Copy link
Author

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
Copy link
Contributor

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

@tkontogi
Copy link

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
Copy link
Contributor

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
Copy link

tkontogi commented Dec 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants