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

Error compiling OpenFoamTurbo

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2010, 23:36
Default Error compiling OpenFoamTurbo
  #1
Member
 
Join Date: Nov 2010
Posts: 54
Rep Power: 15
usergk is on a distinguished road
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
usergk is offline   Reply With Quote

Old   November 3, 2010, 10:45
Default
  #2
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 203
Rep Power: 18
hani is on a distinguished road
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.
hani is offline   Reply With Quote

Old   November 3, 2010, 12:03
Default
  #3
Member
 
Join Date: Nov 2010
Posts: 54
Rep Power: 15
usergk is on a distinguished road
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
usergk is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling OpenFoamTurbo troy OpenFOAM 3 December 4, 2020 15:08


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