Baldy |
November 25, 2012 17:53 |
Problem adding temperature to icoFoam
I am having some problems adding temperature to icoFoam.
I have followed the tutorial on the wiki and trying to modify 1.6-ext.
Here's the error message
Code:
Making dependency list for source file T_icoFoam.C
SOURCE=T_icoFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/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/linuxGccDPOpt/T_icoFoam.o
T_icoFoam.C: In function ‘int main(int, char**)’:
T_icoFoam.C:106: error: no matching function for call to ‘Foam::fvMatrix<double>::fvMatrix(Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > >)’
/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/fvMatrix.C:323: note: candidates are: Foam::fvMatrix<Type>::fvMatrix(Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>&, Foam::Istream&) [with Type = double]
/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/fvMatrix.C:266: note: Foam::fvMatrix<Type>::fvMatrix(const Foam::tmp<Foam::fvMatrix<Type> >&) [with Type = double]
/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/fvMatrix.C:235: note: Foam::fvMatrix<Type>::fvMatrix(const Foam::fvMatrix<Type>&) [with Type = double]
/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/fvMatrix.C:184: note: Foam::fvMatrix<Type>::fvMatrix(Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>&, const Foam::dimensionSet&) [with Type = double]
/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPISOControls.H:8: warning: unused variable ‘momentumPredictor’
/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPISOControls.H:11: warning: unused variable ‘transonic’
/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPISOControls.H:14: warning: unused variable ‘nOuterCorr’
make: *** [Make/linuxGccDPOpt/T_icoFoam.o] Error 1
I have read other threads on here that deal with similar problems but still haven't figured out how to fix it.
|