CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Searching for the thermal energy equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2009, 20:22
Default Searching for the thermal energy equation
  #1
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hi,

I am looking for the thermal energy equation in OF and so far I was not able to find the right file. I assume that it has to be somewhere in the buoyantFOAM solver tree is that right?

Please give me a hint

- harly
harly is offline   Reply With Quote

Old   April 22, 2009, 23:58
Default
  #2
Member
 
Mandar
Join Date: Mar 2009
Posts: 39
Rep Power: 17
mixer is on a distinguished road
you are right...i think it gets mentioned in line 73 of buoyantfoam.C

# include heqn.h

the code is described here:

http://foam.sourceforge.net/doc/Doxy...8H-source.html,

00001 {
00002 fvScalarMatrix hEqn
00003 (
00004 fvm::ddt(rho, h)
00005 + fvm::div(phi, h)
00006 - fvm::laplacian(turbulence->alphaEff(), h)
00007 ==
00008 dpdt
00009 + fvc::div(phi/fvc::interpolate(rho)*fvc::interpolate(p))
00010 - p*fvc::div(phi/fvc::interpolate(rho))
00011 );
00012
00013 hEqn.relax();
00014 hEqn.solve();
00015
00016 thermo->correct();
00017 }
mixer is offline   Reply With Quote

Old   April 23, 2009, 17:53
Default
  #3
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Thanks a lot - somewhat I went over these equation, because the one I am looking for was supposed to look different.

Is there a difference in Thermal energy equation and thermal diffusion equation ?

I would have expected, that the velocity would be in the equations - it should have a similar structure than the energy equation itself, but with the thermal energy, which I guess is h (enthalpy) because it is h(T) - right ?

I am confused - can someone help out ?

- harly
harly is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 06:06
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
question about energy equation zhou FLUENT 0 February 23, 2004 23:55


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