CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

libcompressibleTurbulenceModel.so

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 26, 2010, 03:59
Unhappy libcompressibleTurbulenceModel.so
  #1
Member
 
Farshad
Join Date: Oct 2010
Posts: 76
Rep Power: 15
Farshad_Noravesh is on a distinguished road
Hello,
I am trying to compile reactingFoam and other combustion solvers in openfoam1.7.0
The following error is common in all these compilations:
[farshad@farshad reactingFoam]$ wclean
[farshad@farshad reactingFoam]$ wmake
Making dependency list for source file reactingFoam.C
SOURCE=reactingFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/turbulenceModels/compressible/turbulenceModel -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/specie/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/reactionThermo/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/basic/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/chemistryModel/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/ODE/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/reactingFoam.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/turbulenceModels/compressible/turbulenceModel -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/specie/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/reactionThermo/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/basic/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/chemistryModel/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/ODE/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/home/farshad/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/reactingFoam.o -L/home/farshad/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt \
-lcompressibleRASModels -lcompressibleLESModels -lreactionThermophysicalModels -lspecie -lbasicThermophysicalModels -lchemistryModel -lODE -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/farshad/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/reactingFoam
/usr/bin/ld: Make/linux64GccDPOpt/reactingFoam.o: undefined reference to symbol 'Foam::compressible::turbulenceModel::New(Foam::Ge ometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::basicThermo const&)'
/usr/bin/ld: note: 'Foam::compressible::turbulenceModel::New(Foam::Ge ometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::basicThermo const&)' is defined in DSO /home/farshad/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libcompressibleTurbulenceModel.so so try adding it to the linker command line
/home/farshad/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libcompressibleTurbulenceModel.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [/home/farshad/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/reactingFoam] Error 1
[farshad@farshad reactingFoam]$
.................................................. .........................................
please tell me where i can find a better source for compressibleturbulence library.
Kind Regards,
Farshad
Farshad_Noravesh is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:29.