CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error in my6DOFFoam compilation (https://www.cfd-online.com/Forums/openfoam/87974-error-my6doffoam-compilation.html)

dhasthagheer May 4, 2011 09:34

Error in my6DOFFoam compilation
 
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


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