OpenFOAM - Computational Fluid Dynamics (CFD)

Edit Package openfoam

OpenFOAM is a free, open source computational fluid dynamics (CFD) software package produced by OpenCFD Ltd with twice yearly releases.

It has a large user base across many areas of engineering and science,
used in academic, government and commercial organizations.
OpenFOAM has an extensive range of features to solve complex fluid flows involving chemical reactions, turbulence and heat
transfer, as well as solid dynamics and electromagnetics.

https://www.openfoam.com/

Refresh
Refresh
Source Files
Filename Size Changed
OpenFOAM-v2312_240220.tgz 0069245378 66 MB
_constraints 0000000168 168 Bytes
openfoam-rpmlintrc 0000001632 1.59 KB
openfoam.changes 0000005907 5.77 KB
openfoam.spec 0000022116 21.6 KB
Latest Revision
Mark Olesen's avatar Mark Olesen (openfoam) committed (revision 46)
- update to OpenFOAM-v2312_240220 patch level
Comments 7

Davide Patria's avatar

maybe I'm writing something dumb, but using this package I cannot find the folders mentioned in the tutorial I'm using and apparently there's no "turorials" folder. Also the commando "run" doesn't find the path.


Mark Olesen's avatar

Well, missed your message entirely. This is a meta-package only and hooks into the respective "real" packages (eg, openfoam2012 etc). The tutorials and develop are in separate sub-packages. The base package is on the run-time parts. More explanation here:

https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled#sub-packages


Ramkumar S's avatar

Hi developer/builder.. i have successfully built the OpenFOAM v2012 part on OpenSUSE Tumbleweed... but now i got stuck in the Paraview compilation that comes in the Third-Parties directory with OpenFOAM source. the Error i get is a bunch of "undefined reference" relating to VTK.. here is the starting line of that

/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/vtkProbeOpenGLVersion.dir/vtkProbeOpenGLVersion.cxx.o: in function vtkRenderingOpenGL2_ModuleInit::~vtkRenderingOpenGL2_ModuleInit()': vtkProbeOpenGLVersion.cxx:(.text._ZN30vtkRenderingOpenGL2_ModuleInitD2Ev[_ZN30vtkRenderingOpenGL2_ModuleInitD5Ev]+0x5): undefined reference tovtkRenderingOpenGL2_AutoInit_Destruct()'

i tried the suggestions received from OpenFOAM's forums, stackoverflow etc... but i couldnt compile it.. and I need this paraview only as it contains some useful plugins whereas the paraview received from repos are not.

Thanks


Mark Olesen's avatar

Hi Ramkumar,

The short answer would be that you shouldn't actually be using the ParaView source or makeParaView script from ThirdParty if you are building paraview. The ThirdParty tar file is meant as an OpenFOAM-specific convenience, but isn't actually anything better than ensuring that various packages are compiled with particular options and and usually installed in some specific locations.

For the ParaView compilation, there isn't much more in there except that it also compiles with development headers.

If you are trying to build/rebuild ParaView as an RPM package on tumbleweed, you should address the science:paraview maintainer. If it is a general ParaView build question, then https://discourse.paraview.org/ is a good resource. If it really is openfoam-specific, then could redirect your question to ThirdParty issues, although it will probably just be me answering there anyhow.

BTW: this is my general take on the topic of openfoam plugins and paraview

Cheers, /mark


Mark Olesen's avatar

NOTE: this openfoam package is no longer simply a meta-package but a complete build of the current openfoam version. (2021-06-30)


Eduardo Paiva's avatar

I'm a dumb in OpenSUSE and need help. I'm trying to install openfoam2112 in a cluster from my university. I already add the repository and now I'm trying to download the openfoam, indeed. However, some messages show and I'm not sure if the openfoam is being installed with suceed. The log of terminal show like this below:

"

Loading repository data...

Reading installed packages...

Resolving package dependencies...

Problem: the to be installed openfoam-2212.1-3.1.noarch requires 'openfoam2212', but this requirement cannot be provided not installable providers: openfoam2212-2212.1-3.1.i586[science]

               openfoam2212-2212.1-3.1.x86_64[science]

Solution 1: do not install openfoam-2212.1-3.1.noarch

Solution 2: break openfoam-2212.1-3.1.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel 1/2/c/d/?:

"

If I choose the solution 2, I can see some packages being installed, but when I'm try to call OpenFOAM with command openfoam2112, nothing appeared.

Someone could help me?


andy great's avatar

Hi, does it work now? Usually this problem is on OBS side.

openSUSE Build Service is sponsored by