|
[Sponsors] |
[Other] Problems Installing DensityBasedTurbo library on Foam-Extend 3.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 18, 2016, 01:07 |
Problems Installing DensityBasedTurbo library on Foam-Extend 3.0
|
#1 |
New Member
Kenny Lozes
Join Date: Jan 2016
Posts: 2
Rep Power: 0 |
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()) 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 Any help would be greatly appreciated! Last edited by klozes; February 18, 2016 at 13:23. |
|
February 18, 2016, 20:21 |
|
#2 |
New Member
Kenny Lozes
Join Date: Jan 2016
Posts: 2
Rep Power: 0 |
Its seems that it was a compiler issue. I switched from gcc 4.8 back to 4.6 and it compiled fine!
|
|
April 4, 2020, 18:01 |
Same issue
|
#3 |
New Member
Andrei Cojocea
Join Date: Jul 2019
Posts: 8
Rep Power: 7 |
Hi,
I came across this post while trying to install DensityBasedTurbo on OF3.0extended. I encountered the same issue and I was wondering if you still remember, what precisely did you change to install the solver. Thank you in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
[foam-extend.org] Foam extend 3.1 rpmBuild error. | Saideep | OpenFOAM Installation | 2 | September 25, 2016 20:34 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |