# Searching for the thermal energy equation

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

 April 22, 2009, 20:22 Searching for the thermal energy equation #1 Member   Daniel Harlacher Join Date: Mar 2009 Location: Davis, CA, United States Posts: 60 Rep Power: 8 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

 April 22, 2009, 23:58 #2 Member   Mandar Join Date: Mar 2009 Posts: 39 Rep Power: 8 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 }

 April 23, 2009, 17:53 #3 Member   Daniel Harlacher Join Date: Mar 2009 Location: Davis, CA, United States Posts: 60 Rep Power: 8 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Mihail CFX 7 September 7, 2014 06:27 Joseph CFX 14 April 20, 2010 15:45 Fabio Main CFD Forum 0 June 1, 2007 06:06 Miguel Baritto CFX 4 August 31, 2006 12:02 zhou FLUENT 0 February 24, 2004 00:55

All times are GMT -4. The time now is 20:08.