Package Details: openfoam-org 12.20250206-4

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: 64
Popularity: 0.22
First Submitted: 2009-07-02 09:16 (UTC)
Last Updated: 2025-02-07 05:05 (UTC)

Latest Comments

1 2 3 4 5 6 .. 28 Next › Last »

renegade_eng commented on 2025-04-04 16:55 (UTC)

@envolution NVM, I realized this is the issue that caused you to include the parmetis-git dependency. Built that manually and OpenFOAM is currently compiling.

Thank you for the work you put into this :)

renegade_eng commented on 2025-04-04 16:15 (UTC)

@envolution first, thank you for maintaining this package! second, I'm trying to install this on a fairly clean install of EOS Mercury Neo (Arch kernel 6.13.8, Pacman 7.0.0, using yay 12.4.2 as AUR helper) and a few packages (GKLib, METIS, ParMETIS) reported that support for the minimum version of cmake in their CMakeLists.txt had been removed from cmake (cmake 4.0.0). I was able to get around that by un-tar-ing and editing the CMakeLists files and re-tar-ing. However, when I wend to build and install ParMETIS, I got this error:

make[3]: *** [libparmetis/CMakeFiles/parmetis.dir/build.make:194: libparmetis/CMakeFiles/parmetis.dir/diffutil.c.o] Error 1
In file included from /home/colin/.cache/yay/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/GKlib.h:66,
                 from /home/colin/.cache/yay/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/./parmetislib.h:19,
                 from /home/colin/.cache/yay/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/libparmetis/ctrl.c:13:
/home/colin/.cache/yay/parmetis/src/petsc-pkg-parmetis-f5e3aab04fd5/headers/gk_externs.h:20:10: fatal error: gklib_tls.h: No such file or directory
   20 | #include <gklib_tls.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

Any ideas what the issue is and how I can fix it? My best guess is a GKLib<->ParMETIS version issue, but I assume someone else would have hit that by now.

Going to try removing all the packages I've built so far and manually build and install one at a time to see if that helps.

Shinmen commented on 2025-01-08 01:53 (UTC)

Thank you, I usign o paraFoam -builtin , I think is the same as -vtk, and all seems works fines

envolution commented on 2025-01-07 20:58 (UTC)

based on https://develop.openfoam.com/Development/openfoam/-/wikis/modules/visualization#do-i-really-need-the-paraview-plugins

you can try run parafoam -vtk

extra/paraview is compiled with vtk support and from what I can tell has everything turned on

Shinmen commented on 2025-01-07 19:48 (UTC)

Hi, it's me again, thanks for all support, I doing tutorial and getting following error, don't know if is because of installation, but not found another explanation.

I trying run parafoam & and gets the error

Run paraFoam -builtin works fine

FATAL ERROR: The official reader module for OpenFOAM data does not exist on
your system. This means that the version of ParaView you are using was not
compiled with OpenFOAM, or distributed with a packaged version of OpenFOAM.

For information on packaged versions of OpenFOAM/ParaView and compilation of
OpenFOAM/ParaView, see https://openfoam.org/download

Alternatively, you might be able to view your OpenFOAM data with the reader
module provided with ParaView by running:
paraFoam -builtin 

envolution commented on 2025-01-06 07:25 (UTC)

@Shinmen thanks for your research into this problem and providing a clear solution. I've applied the fixes as recommended by the forum link

Shinmen commented on 2025-01-06 03:28 (UTC)

There's another issue, that need some manual intervention, add https://bugs.openfoam.org/view.php?id=4126

export PATH=/opt/paraview/bin:$PATH and change line 69 in the {package folder}/etc/config.sh/paraview ,link the link above should fix, I don't know how to fix this in PKGBUILD, so I change ofoam file miself, if you can fix that too will be great

envolution commented on 2025-01-06 00:17 (UTC)

sudo sed -i 's|^export FOAM_INST_DIR=.*|export FOAM_INST_DIR=/opt/\$WM_PROJECT|' /opt/OpenFOAM/OpenFOAM-12/etc/bashrc

This should fix it for you, I'll have a new release out shortly but you can skip it if you apply this manually

Shinmen commented on 2025-01-05 23:46 (UTC)

Getting no such file or directory when run ofoam

-bash: /opt/OpenFOAM-12/OpenFOAM-12/etc/config.sh/functions: No such file or directory -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamEtcFile: No such file or directory -bash: _foamSource: command not found -bash: _foamParams: command not found -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamCleanPath: No such file or directory -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamCleanPath: No such file or directory -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamCleanPath: No such file or directory -bash: _foamSource: command not found -bash: _foamSource: command not found -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamEtcFile: No such file or directory -bash: _foamSource: command not found -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamEtcFile: No such file or directory -bash: _foamSource: command not found -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamEtcFile: No such file or directory -bash: _foamSource: command not found -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamEtcFile: No such file or directory -bash: _foamSource: command not found -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamCleanPath: No such file or directory -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamCleanPath: No such file or directory -bash: /opt/OpenFOAM-12/OpenFOAM-12/bin/foamCleanPath: No such file or directory -bash: /opt/OpenFOAM-12/OpenFOAM-12/etc/config.sh/functions: No such file or directory -bash: /opt/OpenFOAM-12/OpenFOAM-12/etc/config.sh/bash_completion: No such file or directory

envolution commented on 2024-12-29 18:34 (UTC)

@carlosal1015 thanks, didn't know it was provided separately