CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   "interpolationTable" problems with compilation: Difference from 1.7 and 2.0 (http://www.cfd-online.com/Forums/openfoam/91277-interpolationtable-problems-compilation-difference-1-7-2-0-a.html)

alessio.nz August 5, 2011 08:02

"interpolationTable" problems with compilation: Difference from 1.7 and 2.0
 
I am creating a new solver with the table uploads. While I was using the 1.7, I could use the tool interpolationTable without problems and the compilation was without errors, but with the version 2.0 it gives the following one:

xxx$wmake
SOURCE=SimpleFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -2.0.x/src/engine/lnInclude -I/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/therlModels/basic/lnInclude -I/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/thermopheModels/compressible/turbulenceModel -I/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x.x/src/sampling/lnInclude -I/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/finitelude -I/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude
createFields.H: In function ‚int main(int, char**)‚:
createFields.H:61:27: warning: unused variable ‚T‚
/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/finiteVolume/lnInclude/readTimeCon
In file included from /cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnI
from SimpleFoam.C:55:
/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/interpolationTa Type = double]‚:
createFields.H:2:58: instantiated from here
/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/interpolationTaReader()‚
/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/openFoamTableRectionary&) [with Type = double]
/cm/shared/apps/centFOAM/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/openFoamTableReopenFoamTableReader<double>&)
make: *** [Make/linux64Gcc45DPOpt/SimpleFoam.o] Error 1

-----------------------------------------------------------

What is your opinion about it?



regards,


alex

bigbang August 5, 2011 14:45

I'm also having trouble running a code that worked in previous versions

Code:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  in "/lib/libc.so.6"
#3  std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) in "/usr/lib/libstdc++.so.6"
#4 
 in "/home/alexander/OpenFOAM/alexander-2.0.0/platforms/linux64GccDPOpt/bin/inletBC"
#5  __libc_start_main in "/lib/libc.so.6"
#6 
 in "/home/alexander/OpenFOAM/alexander-2.0.0/platforms/linux64GccDPOpt/bin/inletBC"
Segmentation fault



All times are GMT -4. The time now is 14:22.