Open Kreyren opened 3 years ago
I marked this as stale due to inactivity. → More info
For what it's worth, I have started packaging OpenFOAM in https://github.com/bgamari/openfoam.nix. Perhaps when the dust has settled I will try to upstream this.
That would be very nice indeed! For what it is worth, I do not know how far you already got, but I later also found this derivation https://git.computecanada.ca/nix/ccpkgs/-/blob/cc-20.09/pkgs/openfoam.nix. It is a bit outdated though.
soft bump
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/package-openfoam-for-nixpkgs/47096/1
Maybe a good challenge for @olesenm?
Maybe a good challenge for @olesenm?
Quite possibly, but haven't honestly seen a big push for nix on any clusters etc, so hard for me to justify work or private time for it.
If you do need some additional starting points, there are recipes for debian, rpm, spack packages (eg, https://develop.openfoam.com/Development/openfoam/-/wikis/packaging/common/openfoamAPI.spec) that might be useful. In all recent versions there is also the bin/tools/install-dirs
and bin/tools/install-platform
scripts that could be useful. To conveniently handle much of the OpenFOAM environment, there is also the etc/openfoam
bash wrapper. Yet another starting point for packaging could be some of the environment scripts from the docker packages (https://develop.openfoam.com/packaging/containers)
Project description
Dependency for fluid simulation for FreeCAD's Cfd workbench https://github.com/NixOS/nixpkgs/issues/131155, see https://github.com/qingfengxia/Cfd#debianubuntu
Metadata