|
[Sponsors] |
Adding viscous dissipation term to energy equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 25, 2006, 07:27 |
Hi,
I am interested in imp
|
#1 |
Guest
Posts: n/a
|
Hi,
I am interested in implementing the viscous heat dissipation term laplacian(mu,U) in the following energy equation: solve ( fvm::div(phi, T) - fvm::laplacian(alphaEff, T) - S*q/(rho*Cp) (<-source term) - fvm::laplacian(mu, U) (dissipation term) ); } I am a beginner at openFoam so the question might be basic for some on this sight, sorry. anyway. when trying to compile this the following error message starts like: SOURCE_DIR=. SOURCE=hSimpleFoam.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/erik/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/home/erik/OpenFOAM/OpenFOAM-1.3/src/turbulenceModels -I/home/erik/OpenFOAM/OpenFOAM-1.3/src/transportModels -I/home/erik/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/hSimpleFoam.o TT.H: In function 'int main(int, char**)': TT.H:40: error: no match for 'operator-' in 'Foam::operator-(const Foam::tmp<foam::fvmatrix<type> >&, const Foam::tmp<foam::geometricfield<type,> >&) [with Type = double](((const Foam::tmp<foam::geometricfield<double,> >&)((const Foam::tmp<foam::geometricfield<double,> >*)(& Foam::operator/(const Foam::tmp<foam::geometricfield<type,> >&, const Foam::dimensioned<double>&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh](((const Foam::dimensioned<double>&)((const Foam::dimensioned<double>*)(& Foam::operator*(const Foam::dimensioned<double>&, const Foam Does anyone know what I am doing wrong /Thanks Erik |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source term in energy equation | macdidi | CFX | 15 | May 9, 2017 20:23 |
Bouyancy term in Energy equation | CFDtoy | Main CFD Forum | 2 | August 4, 2008 11:04 |
Mass transfer Term in Mixture Energy Equation | CFDtoy | Main CFD Forum | 0 | July 3, 2008 16:14 |
Is the viscous dissipation term fully included? | yann | Phoenics | 0 | June 5, 2003 10:23 |
How to deal with this energy equation source term? | H.S.Fang | FLUENT | 2 | December 27, 2001 06:42 |