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

Error in my6DOFFoam compilation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2011, 09:34
Default Error in my6DOFFoam compilation
  #1
New Member
 
Dhasthagheer
Join Date: Feb 2011
Posts: 14
Rep Power: 15
dhasthagheer is on a distinguished road
Hi foamers,

I have downloaded my6DOFFoam solver from http://www.tfd.chalmers.se/~hani/kur...my6DOFFoam.tgz

I have compiled this solver in openfoam 1.7. but I am getting following error. Someone told me that it is version problem you try lowest version. So I tried it in Openfoam 1.6 version, but i got same error.

I am trying to simulating floating body in openfoam. Anybody tried this. Please give me solution or suggestion.

Thanks in advance

Making dependency list for source file my6DOFFoam.C
could not open file incompressible/RASModel/RASModel.H for source file my6DOFFoam.C
could not open file readEnvironmentalProperties.H for source file my6DOFFoam.C
SOURCE=my6DOFFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/opt/openfoam171/src/transportModels -I/opt/openfoam171/src/transportModels/incompressible/lnInclude -I/opt/openfoam171/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam171/src/turbulenceModels/RAS -I/opt/openfoam171/src/turbulenceModels/RAS/incompressible/lnInclude -I/opt/openfoam171/src/finiteVolume/lnInclude -I/opt/openfoam171/src/dynamicMesh/lnInclude -I/opt/openfoam171/src/meshTools/lnInclude -I/opt/openfoam171/src/dynamicFvMesh/lnInclude -I/opt/openfoam171/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/my6DOFFoam.o
my6DOFFoam.C:44:46: error: incompressible/RASModel/RASModel.H: No such file or directory
my6DOFFoam.C:62:41: error: readEnvironmentalProperties.H: No such file or directory
In file included from my6DOFFoam.C:66:
createFields.H: In function ‘int main(int, char**)’:
createFields.H:106: error: ‘incompressible’ was not declared in this scope
createFields.H:106: error: template argument 1 is invalid
createFields.H:107: error: invalid type in declaration before ‘(’ token
createFields.H:108: error: ‘incompressible’ is not a class or namespace
In file included from my6DOFFoam.C:71:
initializeForceBalance.H:175: error: ‘g’ was not declared in this scope
In file included from my6DOFFoam.C:99:
krafter.H:57: warning: unused variable ‘patchIndex’
krafter.H:118: warning: unused variable ‘mint’
In file included from gammaEqnSubCycle.H:22,
from my6DOFFoam.C:135:
gammaEqn.H:6: error: ‘class Foam::interfaceProperties’ has no member named ‘cGamma’
In file included from gammaEqnSubCycle.H:30,
from my6DOFFoam.C:135:
gammaEqn.H:6: error: ‘class Foam::interfaceProperties’ has no member named ‘cGamma’
In file included from my6DOFFoam.C:138:
UEqn.H:5: error: base operand of ‘->’ is not a pointer
my6DOFFoam.C:165: error: base operand of ‘->’ is not a pointer
/opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H:11: warning: unused variable ‘transonic’
/opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H:14: warning: unused variable ‘nOuterCorr’
/opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H:3: warning: unused variable ‘nCorr’
/opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H:8: warning: unused variable ‘momentumPredictor’
/opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H:11: warning: unused variable ‘transonic’
/opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H:14: warning: unused variable ‘nOuterCorr’
initializeForceBalance.H:75: warning: unused variable ‘previousCalcTime_M’
make: *** [Make/linuxGccDPOpt/my6DOFFoam.o] Error 1
dhasthagheer 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
errors during compilation and installation of OpenFOAM-1.7.x on Ubuntu 10.04 ftec OpenFOAM Installation 7 February 23, 2011 07:07
Compilation Error when running Tutorial 2.4 zhihuali Siemens 7 April 1, 2008 08:34
Compilation error with uparm.f Raghu Siemens 2 May 30, 2007 03:09
Compilation Error.... Arnab Siemens 4 September 12, 2004 16:54
Need help on double precision compilation tingguang Main CFD Forum 1 March 18, 2002 18:26


All times are GMT -4. The time now is 04:08.