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

problem with runTime

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 5, 2012, 10:24
Unhappy problem with runTime
  #1
Member
 
Stefano
Join Date: Jul 2009
Posts: 34
Rep Power: 8
Whyman is on a distinguished road
Hi everybody,

i'm trying to compile a modified solver, but everytime i have this error:

Making dependency list for source file icoFsiElasticNonLinSolidFoam.C
Making dependency list for source file transitionalParabolicVelocity/transitionalParabolicVelocityFvPatchVectorField.C
SOURCE=transitionalParabolicVelocity/transitionalParabolicVelocityFvPatchVectorField.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./movingWallVelocity -I./oscillatingFixedValue -I/usr/lib/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/postProcessing/forces/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels -I/usr/lib/OpenFOAM-1.6-ext/src/LESmodels -I/usr/lib/OpenFOAM-1.6-ext/src/LESmodels/LESdeltas/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/turbulenceModel -DFACE_DECOMP -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionMotionSolver/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/lnInclude -I./solidModels/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/transitionalParabolicVelocityFvPatchVectorField.o
SOURCE=icoFsiElasticNonLinSolidFoam.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./movingWallVelocity -I./oscillatingFixedValue -I/usr/lib/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/postProcessing/forces/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels -I/usr/lib/OpenFOAM-1.6-ext/src/LESmodels -I/usr/lib/OpenFOAM-1.6-ext/src/LESmodels/LESdeltas/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/turbulenceModel -DFACE_DECOMP -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionMotionSolver/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/lnInclude -I./solidModels/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/icoFsiElasticNonLinSolidFoam.o
In file included from icoFsiElasticNonLinSolidFoam.C:78:
./solidModels/lnInclude/leastSquaresVolPointInterpolation.H:60: warning: ‘class Foam::leastSquaresVolPointInterpolation’ has virtual functions and accessible non-virtual destructor
In file included from icoFsiElasticNonLinSolidFoam.C:94:
createStressMesh.H:8: error: ‘runTime’ was not declared in this scope
createStressMesh.H:9: error: ‘runTime’ was not declared in this scope
In file included from icoFsiElasticNonLinSolidFoam.C:96:
createStressFields.H:1: error: expected constructor, destructor, or type conversion before ‘<<’ token
createStressFields.H:8: error: ‘runTime’ was not declared in this scope
createStressFields.H:23: error: ‘runTime’ was not declared in this scope
createStressFields.H:32: error: expected constructor, destructor, or type conversion before ‘<<’ token
createStressFields.H:38: error: ‘runTime’ was not declared in this scope
createStressFields.H:47: error: expected constructor, destructor, or type conversion before ‘<<’ token
createStressFields.H:53: error: ‘runTime’ was not declared in this scope
createStressFields.H:63: error: expected constructor, destructor, or type conversion before ‘<<’ token
createStressFields.H:69: error: ‘runTime’ was not declared in this scope
createStressFields.H:79: error: expected constructor, destructor, or type conversion before ‘<<’ token
createStressFields.H:85: error: ‘runTime’ was not declared in this scope
createStressFields.H:130: error: ‘runTime’ was not declared in this scope
In file included from icoFsiElasticNonLinSolidFoam.C:98:
readCouplingProperties.H:1: error: expected constructor, destructor, or type conversion before ‘<<’ token
readCouplingProperties.H:7: error: ‘runTime’ was not declared in this scope
readCouplingProperties.H:8: error: ‘mesh’ was not declared in this scope
readCouplingProperties.H:23: error: expected unqualified-id before ‘if’
readCouplingProperties.H:35: error: expected unqualified-id before ‘if’
readCouplingProperties.H:52: error: ‘mesh’ was not declared in this scope
readCouplingProperties.H:54: error: expected unqualified-id before ‘if’
readCouplingProperties.H:64: error: ‘mesh’ was not declared in this scope
readCouplingProperties.H:66: error: expected unqualified-id before ‘if’
readCouplingProperties.H:81: error: ‘mesh’ was not declared in this scope
readCouplingProperties.H:86: error: ‘mesh’ was not declared in this scope
readCouplingProperties.H:93: error: expected unqualified-id before ‘if’
readCouplingProperties.H:123: error: ‘runTime’ was not declared in this scope
readCouplingProperties.H:124: error: ‘mesh’ was not declared in this scope
readCouplingProperties.H:130: error: expected unqualified-id before ‘if’
readCouplingProperties.H:147: error: expected unqualified-id before ‘else’
In file included from icoFsiElasticNonLinSolidFoam.C:100:
createZoneToZoneInterpolators.H:6: error: expected unqualified-id before ‘if’
make: *** [Make/linux64GccDPOpt/icoFsiElasticNonLinSolidFoam.o] Errore 1



"createStressMesh" is a file to set the solid mesh and it contains:

fvMesh stressMesh
(
IOobject
(
"solid",
runTime.timeName(),
runTime,
IOobject::MUST_READ
)
);

What does this error mean? I can't do anything, I'm blocked....

Please help me.

Thank you
Stefano
Whyman is offline   Reply With Quote

Old   July 5, 2012, 14:36
Default
  #2
Senior Member
 
niaz's Avatar
 
A_R
Join Date: Jun 2009
Posts: 118
Rep Power: 8
niaz is on a distinguished road
Dear stefano
you should change second runtime with mesh
if you want you can look carefully to this topic
penfoamwiki.net/index.php/Input/Output_operations_using_dictionaries_and_the_IOobj ect_class
niaz is offline   Reply With Quote

Old   July 6, 2012, 05:15
Smile
  #3
Member
 
Stefano
Join Date: Jul 2009
Posts: 34
Rep Power: 8
Whyman is on a distinguished road
Thank you Niaz

I have solved the problem.

Whyman is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


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