CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   DensityBasedTurbo Install on OF211 (

tsalter May 17, 2013 03:12

DensityBasedTurbo Install on OF211

I was wondering if anyone has attempted to compile the DensityBasedTurbo package in OpenFoam2.1.1 (or newer).

I have built the package in OpenFoam-1.6-extend and have it working, however I would like to use some of these solvers in OF211 (as this is the standard package at my university).

Before I undertake a potentially huge task, has anyone else attempted this first?

I have completed the first step (which is to update the OF MRF files and remake the OF/src/finiteVolume libso). This required me to alter the opt/OF folder permissions.

The next step is to use wmake to make the new utilities/solvers.

"wmake libso godunovFlux" runs ok.

"wmake libso timeStepping" crashes with the error "/opt/openfoam211/src/finiteVolume/lnInclude/ddtScheme.H: In static member function ‘static Foam::tmp<Foam::fv::ddtScheme<Type> > Foam::fv::ddtScheme<Type>::addIstreamConstructorTo Table<ddtSchemeType>::New(const Foam::fvMesh&, Foam::Istream&) [with ddtSchemeType = Foam::fv::backwardDualDdtScheme<Foam::Tensor<doubl e> >, Type = Foam::Tensor<double>]’:
/opt/openfoam211/src/finiteVolume/lnInclude/ddtScheme.H:94:9: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Make/linuxGccDPOpt/backwardDualDdtSchemes.o] Error 1"

"wmake transonicMRFDyMFoam" also throws an error, however I think it is related to the timeStepping error from above.

I realise that DensityBasedTurbo is written and tested for OF1.6-ext, I was just hoping that someone else has tried the same thing that I have and has had some success.

Thanks heaps,

All times are GMT -4. The time now is 01:23.