|
[Sponsors] |
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: 17 |
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: 17 |
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: 17 |
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 |
|
|
|
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 |