Package Base Details: openfoam

Git Clone URL: https://aur.archlinux.org/openfoam.git (read-only, click to copy)
Submitter: None
Maintainer: petronny (AutoUpdateBot)
Last Packager: AutoUpdateBot
Votes: 60
Popularity: 0.80
First Submitted: 2009-07-02 09:16 (UTC)
Last Updated: 2024-04-01 17:32 (UTC)

Packages (1)

Pinned Comments

petronny commented on 2020-08-04 08:36 (UTC) (edited on 2023-04-14 08:48 (UTC) by petronny)

Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 27 Next › Last »

ioquatix commented on 2016-06-12 13:20 (UTC)

To improve performance of build you could insert export WM_NCOMPPROCS=`nproc` into PKGBUILD.

ioquatix commented on 2016-06-10 01:03 (UTC)

To get anything to work I had to do: export FOAM_INST_DIR=/opt/OpenFOAM . ${FOAM_INST_DIR}/OpenFOAM-3.0.x/etc/bashrc Then I could use commands. Advice below about profile.d/openfoam did not work.

Xwang commented on 2016-04-30 10:28 (UTC)

@Minerva.W First of all thank you for your help. Then as far as the patch files I prefer to maintain them separated to be able to know how much files are modified by the PKGBUILD and in which way. Finally I would like to ask you where and how should I add -lboost_thread and if I have to add some additional dependencies too.

heavysink commented on 2016-04-23 14:53 (UTC) (edited on 2016-04-23 14:54 (UTC) by heavysink)

OpenFOAM repository [home_Minerva_W_Science_Arch_Extra] SigLevel = Never Server = http://download.opensuse.org/repositories/home:/Minerva_W:/Science/Arch_Extra/$arch pacman -S openfoam3.0.1 Most of them seems to be fine but -lboost_thread still not completely solved. I will try to solve it today.

heavysink commented on 2016-04-23 00:11 (UTC) (edited on 2016-04-23 14:54 (UTC) by heavysink)

My two cents: 1) all patch for flex files can be done within one command: find . -name '*.L' -print -exec sed -i -e 's|YY_FLEX_SUBMINOR_VERSION < 34|YY_FLEX_SUBMINOR_VERSION < 34 \&\& YY_FLEX_MINOR_VERSION < 6|g' {} \; 2) There are error for foamyQuadMesh and foamyHexMesh because libboost_thread.so is not included. Please add -lboost_thread to the corresponding options file. From my point it is a better idea to link bzip missing libraries to scotchDecomp and ptscotchDecomp to reduce the amount of patch files.

Xwang commented on 2016-01-19 20:35 (UTC)

After installation you have to execute etc/profile.d/openfoam-3.0.1.sh and then (since at least on my system the alias is not added) execute command alias ofoam="source ${FOAM_INST_DIR}/OpenFOAM-3.0.1/etc/bashrc" and finally the ofoam command. Then you should be OK (I presume until you disconnect). If there is any way to ask for the user if he/she wants to add alias to ~/.bashrc please let me know so that maybe I can try to integrate it to the PKGBUILD.

Xwang commented on 2016-01-19 20:27 (UTC) (edited on 2016-01-19 20:27 (UTC) by Xwang)

Updated to 3.0.1 and checked with foamInstallationTest. Please let me know if it works for you (actually I'm not using openFOAM).

Xwang commented on 2016-01-17 18:42 (UTC)

Thank you for your help. I'm building the package again with all the patches and for the openfoam.sh, I'va addedt the pkgver number to the name so now it should be something like openfoam-3.0.1.1.sh and I've chmodded it to 755. So multiple instances should not give problems. Now I have to wait till tomorrow evening to check the build and relese the upgraded PKGBUILD.

panda-z commented on 2016-01-17 18:10 (UTC)

Regarding /etc/profile.d/openfoam.sh, I think this file should be removed. We should inform users to add alias in their own ~/.bashrc in the post-installation script. Actually, different OpenFOAM versions can be installed side by side, i.e. we can have multiple versions of OpenFOAM installed at the same time. Just my two cents.