|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Nov 2010
Posts: 54
Rep Power: 16 ![]() |
Hi
I am trying to compile the OpenFoam Turbo library found in the Dellenback Abrupt Expansion test case (http://openfoamwiki.net/index.php/Si...rupt_Expansion) I am getting the following error which I have not been able to resolve. I am new to using OpenFoam and Linux and would appreciate any help in this regard. ~/OpenFOAM/gk/src/OpenFoamTurbo$ wmake libso wmakeLnInclude: linking include files to ./lnInclude SOURCE=finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.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/gk/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/gk/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/gk/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/profile1DRawData.o In file included from finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.C:101: finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H: In function âstd::string Foam::toLower(const std::string&)â: finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H:75: error: âtransformâ is not a member of âstdâ finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H: At global scope: finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H:120: warning: type qualifiers ignored on function return type finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.H:121: warning: type qualifiers ignored on function return type finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.C:124: warning: type qualifiers ignored on function return type finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.C:137: warning: type qualifiers ignored on function return type make: *** [Make/linux64GccDPOpt/profile1DRawData.o] Error 1 Thanks a lot! GK |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 19 ![]() |
Hi GK,
Looking at your compilation message you are using 1.6, and reading the text that has been supplied at the web page for libOpenFoamTurbo (http://openfoamwiki.net/index.php/Si..._OpenFoamTurbo) you can find instructions for download and installation for 1.4.1 and 1.5 (i.e. nothing for 1.6). Some classes that are used by libOpenFoamTurbo have obviously changed their definitions from 1.5 to 1.6. So, why is there no version for 1.6 and 1.7 yet? That is because 1.5-dev is the outstanding tool when it comes to turbomachinery applications. Good luck! Håkan. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Nov 2010
Posts: 54
Rep Power: 16 ![]() |
Hi Hakan,
Thanks a lot for your reply. Actually, I came across a thread (http://www.cfd-online.com/Forums/ope...dvalue-bc.html) and removed the SRFZones boundary condition in the Make/files file, and it compiled properly. Onto the next step now.. Hope it goes well. ~ GK |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem compiling OpenFoamTurbo | troy | OpenFOAM | 3 | December 4, 2020 14:08 |