klozes |
February 18, 2016 00:07 |
Problems Installing DensityBasedTurbo library on Foam-Extend 3.0
1 Attachment(s)
Hi,
I have been trying to install the DensityBasedTurbo Library to Foam-Extend 3.0 on Ubuntu 14.04 with no luck. I followed the guide on the wiki here: http://openfoamwiki.net/index.php/Ex...oam-extend_3.0
It did install fine with Foam-Extend 1.6. However, the dynamicRefine mesh tool does not seems to work on 1.6 but it does on 3.0 (damBreak tutorial runs on 3.0 but not 1.6).
here are some of the errors. the complete make.log is also attached
Code:
backwardDualDdtScheme/backwardDualDdtScheme.C:698:62: note: declarations in dependent base ‘Foam::fv::ddtScheme<Foam::Tensor<double> >’ are not found by unqualified lookup
backwardDualDdtScheme/backwardDualDdtScheme.C:698:62: note: use ‘this->fvcDdtPhiCoeff’ instead
backwardDualDdtScheme/backwardDualDdtScheme.C: In instantiation of ‘Foam::tmp<typename Foam::fv::ddtScheme<Type>::fluxFieldType> Foam::fv::backwardDualDdtScheme<Type>::fvcDdtPhiCorr(const volScalarField&, const volScalarField&, const Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>&, const fluxFieldType&) [with Type = Foam::Tensor<double>; typename Foam::fv::ddtScheme<Type>::fluxFieldType = Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh>; Foam::volScalarField = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>; Foam::fv::backwardDualDdtScheme<Type>::fluxFieldType = Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh>]’:
backwardDualDdtScheme/backwardDualDdtSchemes.C:41:1: required from here
backwardDualDdtScheme/backwardDualDdtScheme.C:762:69: error: ‘fvcDdtPhiCoeff’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
rDeltaT*fvcDdtPhiCoeff(U.oldTime(), phiAbs.oldTime())
and
Code:
-lfiniteVolume -lbasicThermophysicalModels -lspecie -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -L/home/kenny/foam/kenny-3.0/lib/linuxGccDPOpt -lDensityBasedSolvers -lGodunovFlux -lfoam -ldl -lm -o /home/kenny/foam/kenny-3.0/applications/bin/linuxGccDPOpt/transonicSteadySRFFoam
/usr/bin/ld: cannot find -lDensityBasedSolvers
collect2: error: ld returned 1 exit status
make: *** [/home/kenny/foam/kenny-3.0/applications/bin/linuxGccDPOpt/transonicSteadySRFFoam] Error 1
g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-200 -I../godunovFlux -I../timeStepping/localTimeStep -I../transonicMRFDyMFoam -I/home/kenny/foam/foam-extend-3.0/src/finiteVolume/lnInclude -I/home/kenny/foam/foam-extend-3.0/src/thermophysicalModels/specie/lnInclude -I/home/kenny/foam/foam-extend-3.0/src/thermophysicalModels/basic/lnInclude -I/home/kenny/foam/foam-extend-3.0/src/turbulenceModels/compressible/turbulenceModel/lnInclude -I/home/kenny/foam/foam-extend-3.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/kenny/foam/foam-extend-3.0/src/dynamicMesh/dynamicMesh/lnInclude -I/home/kenny/foam/foam-extend-3.0/src/meshTools/lnInclude -IlnInclude -I. -I/home/kenny/foam/foam-extend-3.0/src/foam/lnInclude -I/home/kenny/foam/foam-extend-3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linuxGccDPOpt/transonicUnsteadyMRFDyMFoam.o -L/home/kenny/foam/foam-extend-3.0/lib/linuxGccDPOpt \
-lbasicThermophysicalModels -lspecie -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -lfiniteVolume -lmeshTools -ldynamicFvMesh -ldynamicMesh -L/home/kenny/foam/kenny-3.0/lib/linuxGccDPOpt -lDensityBasedSolvers -lGodunovFlux -lfoam -ldl -lm -o /home/kenny/foam/kenny-3.0/applications/bin/linuxGccDPOpt/transonicUnsteadyMRFDyMFoam
/usr/bin/ld: cannot find -lDensityBasedSolvers
collect2: error: ld returned 1 exit status
The godunovFlux library compiles fine, but the rest do not.
Any help would be greatly appreciated!
|