Package Details: openfoam-org 11.20240704-1

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
Provides: openfoam
Submitter: None
Maintainer: petronny (AutoUpdateBot)
Last Packager: AutoUpdateBot
Votes: 63
Popularity: 1.53
First Submitted: 2009-07-02 09:16 (UTC)
Last Updated: 2024-07-05 09:28 (UTC)

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 .. 3 4 5 6 7 8 9 10 11 12 13 .. 27 Next › Last »

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.

solnce commented on 2017-09-16 18:35 (UTC) (edited on 2017-09-16 18:37 (UTC) by solnce)

The problem ist that the new tar-file is not fetched because of the file naming, which omits the pkgrel-number. Version 5.0.1 and 5.0.2 are having the same filename (version-5.0.tar.gz). Remedy: $ cd $HOME/.cache/pacaur/openfoam $ mv version-5.0.tar.gz version-5.0.tar.gz.bak

solnce commented on 2017-09-15 10:36 (UTC)

Same problem here. The most recent git commit (Fri Sep 15 16:26:13 2017 +0800) updated the md5sum, which didn't help.

evamvid commented on 2017-09-14 18:41 (UTC)

My build is failing with a wrong md5 hash! Is the provided hash old, or could it be an issue with my system? Full output: Preparing... Building openfoam... Cloning into 'openfoam'... remote: Counting objects: 65, done. remote: Compressing objects: 100% (46/46), done. remote: Total 65 (delta 27), reused 49 (delta 17) Unpacking objects: 100% (65/65), done. ==> Making package: openfoam 5.0-1 (Thu Sep 14 14:32:32 EDT 2017) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading version-5.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 134 0 134 0 0 134 0 --:--:-- --:--:-- --:--:-- 827 100 39.1M 100 39.1M 0 0 891k 0 0:00:45 0:00:45 --:--:-- 1141k ==> Validating source files with md5sums... version-5.0.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check!

davidfonseca commented on 2017-07-09 18:53 (UTC)

Works fine here! Thanks

petronny commented on 2017-06-18 16:21 (UTC)

@silvergasp, this is the openfoam package, but you are seeming to build the scilab package... And I have just built scilab with no error. Anyway, you can find both compiled openfoam and scilab in my https://github.com/arch4edu/arch4edu repository.