CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   Compilation Order and Single Precision Issues (

gocarts October 13, 2009 09:14

Compilation Order and Single Precision Issues
I just tried compiling the latest git version of OpenFOAM 1.6.x

commit 99d4b831e6f25f3fba273a1fb517aea65e704acd
Author: henry <henry>
Date: Mon Oct 12 13:52:36 2009 +0100

from scratch on Linux and encountered a few minor problems:

1) now depends on, so during compilation src/postProcessing needs to compile prior to src/fvMotionSolver and src/engine and be reflected in src/Allwmake. Something like:



# Depends on postProcessing/functionsObjects/forces
wmake libso fvMotionSolver
wmake libso engine

2) Within the new solver applications/solvers/multiphase/interMixingFoam in alphaEqns.H and threePhaseInterfaceProperties/threePhaseInterfaceProperties.[H|C] there are numerous uses of max(...,0.0) whereas for successful compilation for single precision max(..., scalar(0.0)) is required

Hope this is helpful.

henry October 14, 2009 17:19

Thanks for the bug reports, the fixes are now in our OpenFOAM-1.6.x git repository.


All times are GMT -4. The time now is 18:31.