|
[Sponsors] |
November 25, 2012, 17:53 |
Problem adding temperature to icoFoam
|
#1 |
New Member
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
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 |
|
November 25, 2012, 19:09 |
|
#2 |
New Member
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
As soon as I post it on the forum I figure it out!
I had my temperature set as volVectorField instead of volScalarField if anyone ever has the same problem. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with zeroGradient wall BC for temperature - Total temperature loss | cboss | OpenFOAM | 12 | October 1, 2018 06:36 |
Adding temperature equation to porousSimpleFoam | David_010 | OpenFOAM Programming & Development | 9 | February 14, 2018 01:22 |
problem with using timeVaryingUniform by icoFoam | amin144 | OpenFOAM | 12 | August 11, 2012 06:09 |
Adding a new temperature dependent viscositymodel? | dgadensg | OpenFOAM Programming & Development | 10 | May 22, 2010 05:47 |
problem when running icoFoam on a complex shape flow field | wendywu | OpenFOAM | 1 | May 20, 2009 23:40 |