Package Details: openfoam-org 12.20250206-8

Git Clone URL: https://aur.archlinux.org/openfoam.git (read-only, click to copy)
Package Base: openfoam
Description: The open source CFD toolbox (www.openfoam.org)
Upstream URL: http://www.openfoam.org
Licenses: GPL-3.0-or-later
Provides: openfoam
Submitter: None
Maintainer: envolution
Last Packager: envolution
Votes: 66
Popularity: 1.31
First Submitted: 2009-07-02 09:16 (UTC)
Last Updated: 2025-06-11 06:13 (UTC)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 31 Next › Last »

roarchero commented on 2018-07-20 17:49 (UTC)

@petronny thanks for your effort!

petronny commented on 2018-07-20 01:52 (UTC)

@roarchero I'm trying to upgrade it to Openfoam 6 now. It will take some time.

aslakstubsgaard commented on 2018-07-19 20:49 (UTC)

@petronny thanks, fixed the issues on my system

roarchero commented on 2018-07-19 17:42 (UTC)

Will this stay at Openfoam 5 or will it upgrade to Openfoam 6? Is there some package coming for Openfoam 6 then?

petronny commented on 2018-07-16 06:23 (UTC)

@aslakstubsgaard I have fixed the errors but I'm not sure the patches are right. Please help me to check them.

aslakstubsgaard commented on 2018-07-15 16:26 (UTC)

is it just me or is this package still missing an upgrade to work with the gcc 8.1 release from back in may?

lahwaacz commented on 2018-04-08 09:59 (UTC)

Something does not work right:

$ ofoam
-bash: .: /opt/OpenFOAM: is a directory
-bash: /opt/OpenFOAM: Is a directory
-bash: _foamSource: command not found
-bash: _foamEval: command not found
-bash: /opt/OpenFOAM: Is a directory
-bash: /opt/OpenFOAM: Is a directory
-bash: /opt/OpenFOAM: Is a directory
-bash: _foamSource: command not found
-bash: _foamSource: command not found
-bash: /opt/OpenFOAM: Is a directory
-bash: _foamSource: command not found
-bash: /opt/OpenFOAM: Is a directory
-bash: _foamSource: command not found
-bash: /opt/OpenFOAM: Is a directory
-bash: _foamSource: command not found
-bash: /opt/OpenFOAM: Is a directory
-bash: _foamSource: command not found
-bash: /opt/OpenFOAM: Is a directory
-bash: /opt/OpenFOAM: Is a directory
-bash: /opt/OpenFOAM: Is a directory
-bash: .: /opt/OpenFOAM: is a directory
-bash: .: /opt/OpenFOAM: is a directory

The bashrc sets $FOAM_INST_DIR to something invalid:

$ echo $FOAM_INST_DIR 
/opt/OpenFOAM ~ /opt/OpenFOAM

petronny commented on 2018-03-12 08:42 (UTC)

@ddcampayo I find

$ pacman -Fl openfoam | grep bin snappyHexMesh
openfoam opt/OpenFOAM/OpenFOAM-5.0/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
openfoam opt/OpenFOAM/OpenFOAM-5.0/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so

in my pre-built package. Are these what you need?

PS. You can download my pre-built package from https://mirrors.tuna.tsinghua.edu.cn/arch4edu/

ddcampayo commented on 2018-03-08 21:57 (UTC) (edited on 2018-03-08 21:58 (UTC) by ddcampayo)

Installs ok, but some of the utilities are missing. E.g. snappyHexMesh. If I got to dir /applications/utilities/mesh/generation, then run (as root) ./Allwmake , blockMesh, extrude, and extrude2DMesh, compile. But not snappyHexMesh. That one spits:

g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-5.0/src/parallel/decompose/decompositionMethods/lnInclude -I/opt/OpenFOAM/OpenFOAM-5.0/src/mesh/snappyHexMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-5.0/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-5.0/src/fileFormats/lnInclude -I/opt/OpenFOAM/OpenFOAM-5.0/src/triSurface/lnInclude -I/opt/OpenFOAM/OpenFOAM-5.0/src/surfMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-5.0/src/dynamicMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-5.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-5.0/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-5.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed /opt/OpenFOAM/OpenFOAM-5.0/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.o -L/opt/OpenFOAM/OpenFOAM-5.0/platforms/linux64GccDPInt32Opt/lib \ -lfiniteVolume -ldecompositionMethods -L/opt/OpenFOAM/OpenFOAM-5.0/platforms/linux64GccDPInt32Opt/lib/dummy -lscotchDecomp -lptscotchDecomp -lmeshTools -lsurfMesh -lfileFormats -ldynamicMesh -lsnappyHexMesh -lOpenFOAM -ldl \ -lm -o /opt/OpenFOAM/OpenFOAM-5.0/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh

/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadClose'

/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadOpen'

/usr/lib/libscotch.so: undefined reference to `BZ2_bzWriteOpen'

/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadGetUnused'

/usr/lib/libscotch.so: undefined reference to `BZ2_bzRead'

/usr/lib/libscotch.so: undefined reference to `BZ2_bzWriteClose'

/usr/lib/libscotch.so: undefined reference to `BZ2_bzWrite'

collect2: error: ld returned 1 exit status

make: *** [/opt/OpenFOAM/OpenFOAM-5.0/wmake/makefiles/general:142: /opt/OpenFOAM/OpenFOAM-5.0/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh] Error 1

berilac commented on 2018-03-02 06:17 (UTC)

Install appears to run perfectly, no errors.

But the ofoam alias doesn't appear to work (it doesn't exist).

Also, if I manually run 'source /opt/OpenFOAM/OpenFOAM-5.0/etc/bashrc' it simply returns to command line. It runs something as it takes a second before it returns, but no messages, warnings or errors.

Not sure how to diagnose this.