OpenFOAM 1812 available in Debian Testing
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
- kkremitzki
- Veteran
- Posts: 2515
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
OpenFOAM 1812 available in Debian Testing
Hi, I'd appreciate any testing of this package as it's what's soon to be in Debian.
https://launchpad.net/~freecad-communit ... ubuntu/ppa
Please let me know if you want me to upload it for a different Ubuntu version, currently it's just 18.04 and 18.10.
https://launchpad.net/~freecad-communit ... ubuntu/ppa
Please let me know if you want me to upload it for a different Ubuntu version, currently it's just 18.04 and 18.10.
Re: OpenFOAM 1812 available in Community Extras PPA
FYI, just noticed that the version number '6' was removed from the openfoam debian/ubuntu package name?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- kkremitzki
- Veteran
- Posts: 2515
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: OpenFOAM 1812 available in Community Extras PPA
I've switched from the openfoam.org version to the openfoam.com version which uses an Ubuntu-like numbering scheme. this .com version 1812 contains and exceeds the code in the .org 6 version. It's kind of complicated, but you might consider .org as analogous to OCE and .com, OCCT.
- kkremitzki
- Veteran
- Posts: 2515
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: OpenFOAM 1812 available in Debian Testing
OpenFOAM 1812 has migrated to Debian Testing. There are a few bugs currently (workaround involves export WM_PROJECT_DIR=/usr/share/openfoam) but otherwise things are looking good! https://tracker.debian.org/pkg/openfoam
Re: OpenFOAM 1812 available in Community Extras PPA
Is this recommendation still current?kkremitzki wrote: ↑Fri Jan 18, 2019 5:35 pm I've switched from the openfoam.org version to the openfoam.com version which uses an Ubuntu-like numbering scheme. this .com version 1812 contains and exceeds the code in the .org 6 version. It's kind of complicated, but you might consider .org as analogous to OCE and .com, OCCT.
Oliver, the developer of CfdOF sort of recommends the OpenFoam.org version, as per the following post:
oliveroxtoby wrote: ↑Thu Apr 11, 2019 8:01 pm ...
Thank you. Unfortunately this seems to be a bug in OpenFOAM 1812 affecting the gmshToFoam conversion utility. I see that a fix was committed this morning, so if should be sorted out in the next version. Until then I suggest you uninstall your system 1812 packages and install the Linux packages for OpenFOAM v6 at https://openfoam.org/version/6/. After that, you will need to re-do the cfMesh and HiSA installation.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
- kkremitzki
- Veteran
- Posts: 2515
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: OpenFOAM 1812 available in Debian Testing
The OCE/OCCT comparison is a bit much since development is still ongoing for both. In this case it's just a matter of getting the latest release vs a packaged one, that same fix may already be present in the .com sources, and if it isn't I can just add it as a patch, if a link was available.
Re: OpenFOAM 1812 available in Debian Testing
I understand it for this specific patch, however, the question is more about the philosophy of preferring the .com version over the .org one. The .org one seems to be already neatly packaged in an Ubuntu PPA, and the CfdOF developer recommends it. So, maybe it makes more sense to prefer this one over the .com version. I think it would make sense to at least ask Oliver what his preference is, or what he uses for development.kkremitzki wrote: ↑Tue Apr 16, 2019 12:09 am The OCE/OCCT comparison is a bit much since development is still ongoing for both. In this case it's just a matter of getting the latest release vs a packaged one, that same fix may already be present in the .com sources, and if it isn't I can just add it as a patch, if a link was available.
Does Debian have guidelines for packaging two parallel versions of the same software? Maybe it'd be possible to provide openfoam1812 and openfoam6 as distinct packages.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
- kkremitzki
- Veteran
- Posts: 2515
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: OpenFOAM 1812 available in Debian Testing
Where is the openfoam.org PPA, I can't find it?vocx wrote: ↑Tue Apr 16, 2019 12:56 amI understand it for this specific patch, however, the question is more about the philosophy of preferring the .com version over the .org one. The .org one seems to be already neatly packaged in an Ubuntu PPA, and the CfdOF developer recommends it. So, maybe it makes more sense to prefer this one over the .com version. I think it would make sense to at least ask Oliver what his preference is, or what he uses for development.kkremitzki wrote: ↑Tue Apr 16, 2019 12:09 am The OCE/OCCT comparison is a bit much since development is still ongoing for both. In this case it's just a matter of getting the latest release vs a packaged one, that same fix may already be present in the .com sources, and if it isn't I can just add it as a patch, if a link was available.
Does Debian have guidelines for packaging two parallel versions of the same software? Maybe it'd be possible to provide openfoam1812 and openfoam6 as distinct packages.
The codebases are largely the same, in fact the openfoam.com source regularly merges in changes from .org, so i don't think there's any point in maintaining both in Debian, and even if I wanted to it would probably be rejected for the aforementioned reason.
Does he really recommend it in general, or did he just recommend it in the quoted example as a temporary workaround? There's going to be some unevenness in support on different platforms regardless, for example even if I switched back to the openfoam.org sources there could still be diverging behavior between Linux & Windows since that platform needs to run blueCFD for OpenFOAM support.
Re: OpenFOAM 1812 available in Debian Testing
https://openfoam.org/download/6-ubuntu/
http://dl.openfoam.org/
Well, it is not a PPA in Launchpad, but you can add the repository.
Code: Select all
sudo sh -c "wget -O - http://dl.openfoam.org/gpg.key | apt-key add -"
sudo add-apt-repository http://dl.openfoam.org/ubuntu
Well, I'm really not sure if he prefers one or the other, but I really think he should give his opinion at least. In that quote above he did say, "remove the system one and get the one from .org". Maybe he doesn't know you are the packager, and he thinks the Debian/Ubuntu package is very outdated.The codebases are largely the same, in fact the openfoam.com source regularly merges in changes from .org, so i don't think there's any point in maintaining both in Debian, and even if I wanted to it would probably be rejected for the aforementioned reason.
Does he really recommend it in general, or did he just recommend it in the quoted example as a temporary workaround? There's going to be some unevenness in support on different platforms regardless, for example even if I switched back to the openfoam.org sources there could still be diverging behavior between Linux & Windows since that platform needs to run blueCFD for OpenFOAM support.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: OpenFOAM 1812 available in Debian Testing
The whole issue of OpenFOAM version splits has been quite a contentious one over the years and I don't think it would be fair for me to make a pronouncement on which is better. But happily it seems to me that they currently complement each other, with the Foundation (.org) version seeming to focus on crafting a solid base and the ESI/OpenCFD (.com) version pulling in a bigger feature set on top of that. In CfdOF we don't use any of the extended features so we tended to focus on the .org version for testing, but it would be nice to support both and I haven't seen enough divergence between them for that to be a problem. So far they seem to work equally well for our purposes, apart from that one bug.kkremitzki wrote: ↑Tue Apr 16, 2019 1:30 am The codebases are largely the same, in fact the openfoam.com source regularly merges in changes from .org, so i don't think there's any point in maintaining both in Debian, and even if I wanted to it would probably be rejected for the aforementioned reason.
Does he really recommend it in general, or did he just recommend it in the quoted example as a temporary workaround? There's going to be some unevenness in support on different platforms regardless, for example even if I switched back to the openfoam.org sources there could still be diverging behavior between Linux & Windows since that platform needs to run blueCFD for OpenFOAM support.
I think if I were packaging I would have made the same decision - not because the .com version is 'better' but, as you say, because it builds on to the .org version.kkremitzki wrote: ↑Fri Jan 18, 2019 5:35 pm I've switched from the openfoam.org version to the openfoam.com version which uses an Ubuntu-like numbering scheme. this .com version 1812 contains and exceeds the code in the .org 6 version. It's kind of complicated, but you might consider .org as analogous to OCE and .com, OCCT.
This was just a recommendation of the simplest and most immediate way for this user to get around the bug. I think that the fix will only reflect in the v1906 release, but it will only affect a minority of users who are meshing with gmsh.vocx wrote: ↑Tue Apr 16, 2019 1:41 am Well, I'm really not sure if he prefers one or the other, but I really think he should give his opinion at least. In that quote above he did say, "remove the system one and get the one from .org". Maybe he doesn't know you are the packager, and he thinks the Debian/Ubuntu package is very outdated.
A patch would be great! Here is the relevant commit:kkremitzki wrote: ↑Tue Apr 16, 2019 12:09 am The OCE/OCCT comparison is a bit much since development is still ongoing for both. In this case it's just a matter of getting the latest release vs a packaged one, that same fix may already be present in the .com sources, and if it isn't I can just add it as a patch, if a link was available.
https://develop.openfoam.com/Developmen ... 5322aeeeaf
Please provide all the information requested in this post before reporting problems with CfdOF.