Package Details: openfoam 4.x-7

Git Clone URL: https://aur.archlinux.org/openfoam.git (read-only)
Package Base: openfoam
Description: The open source CFD toolbox
Upstream URL: http://www.openfoam.org
Licenses: GPL
Submitter: None
Maintainer: Xwang
Last Packager: Xwang
Votes: 32
Popularity: 0.331685
First Submitted: 2009-07-02 09:16
Last Updated: 2016-07-04 20:11

Latest Comments

antran commented on 2016-09-08 02:14

Yes. I followed your instruction and now icoFoam and pisoFoam worked but when I type paraFoam in the terminal I get this error

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PVReaders
./Allwclean
./Allwmake

I tried to follow these instructions but still get error
ERROR: ParaView not found in /opt/OpenFOAM/ThirdParty-4.x/platforms/linux64Gcc/ParaView-5.0.1

How can I fix it?
Thank you in advance

Xwang commented on 2016-09-04 10:58

Have you executed these commands:

export FOAM_INST_DIR=/opt/OpenFOAM
alias ofoam="source ${FOAM_INST_DIR}/OpenFOAM-4.x/etc/bashrc"

in your terminal before running icoFoam?

PS ThirdParty is empty because these programs are installed via their archlinux packages

antran commented on 2016-09-04 03:20

I have installed sucessfully the software but I cannot run icoFoam or pisoFoam. Is the folder Thirdparty empty?

Xwang commented on 2016-08-11 10:26

@tomracing
I've obtained the same by changing MAKEFLAGS option as described in my comment of 2016-06-13 16:17

tomracing commented on 2016-08-01 20:51

Great package!
Could I suggest changing this line:
# Build and clean up OpenFOAM
./Allwmake > ../../openfoam_log.make 2>&1 #|| return 1
To incorporate the compile in parallel build as specified in the OpenFOAM documentation:
"or compile in parallel with all available cores/hyperthreads with:
./Allwmake -j
Serial compilation takes several hours, whereas compilation on 8 cores/threads should take approximately one hour, possibly less, depending on the processor."
That would save much time on builds.

threeofsix commented on 2016-06-24 17:33

Xwang,

Yes, I modified the PKGBUILD that way and it installed fine, but I haven't gotten to any testing yet. My PKGBUILD ended up looking just like the current one, but with line 26 modified as I described. Here is a copy of it if you like:

https://gist.github.com/zjibben/903343ac675b442de58bdac02bff6890

I did not update the pkgrel line.

Thanks!

Xwang commented on 2016-06-22 21:59

Have you already tried to modify the PKGBUILD in that way?
In case it works properly, can you copy it here as a comment so that I modify the PKGBUILD?
Thank you,
Xwang

threeofsix commented on 2016-06-22 19:37

I am getting the error:

error: package 'paraview' was not found

This occurs after starting prepare(), and appears to be due to the line

_pversion=`pacman -Q paraview | sed -e 's/.* //; s/-.*//g'`

I have paraview-bin installed, which provides paraview, so the hardcoded search for paraview fails. Something like the following, which searches for the package that provides the paraview command, may be a better alternative:

_pversion=$(pacman -Q $(pacman -Qqo $(which paraview)) | sed -e 's/.* //; s/-.*//g')

ioquatix commented on 2016-06-20 21:34

Hello @Xwang, @D0NB0T, I just adopted scotch package and updated it so it should work out of the box with OpenFOAM. That was not working due to linking issues. The details are here: https://aur.archlinux.org/packages/scotch/

I would like your feedback, if possible, to confirm that the build is working correctly with this new package. Thanks :)

D0NB0T commented on 2016-06-17 19:08

I tried this already and reimported all keys. Same Error with the Minerva Package. But the AUR Paraview and Scotch Packages seem to work now.

Edit: Ok now it works with paraview and scotch from AUR and OpenFoam from Minerva, because OpenFoam from AUR couldnt be installed, it always stopped while building. I hope this will do it.

All comments