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

energy equation in rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2010, 16:07
Default energy equation in rhoCentralFoam
  #1
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 16
nakul is on a distinguished road
Hi,
I have a few questions on the formulation of energy equation in rhoCentralFoam. In the source code, the energy equation looks like this:

00176 solve
00177 (
00178 fvm::ddt(rhoE)
00179 + fvc::div(phiEp)
00180 - fvc::div(sigmaDotU)
00181 );
00182
00183 e = rhoE/rho - 0.5*magSqr(U);
00184 e.correctBoundaryConditions();
00185 thermo.correct();
00186 rhoE.boundaryField() =
00187 rho.boundaryField()*
00188 (
00189 e.boundaryField() + 0.5*magSqr(U.boundaryField())
00190 );
00191
00192 if (!inviscid)
00193 {
00194 volScalarField k("k", thermo.Cp()*mu/Pr);
00195 solve
00196 (
00197 fvm::ddt(rho, e) - fvc::ddt(rho, e)
00198 - fvm::laplacian(thermo.alpha(), e)
00199 + fvc::laplacian(thermo.alpha(), e)
00200 - fvc::laplacian(k, T)
00201 );
00202 thermo.correct();
00203 rhoE = rho*(e + 0.5*magSqr(U));
00204 }

1. Why is the viscous term "sigmaDotU" included in the inviscid equation?
2. I think I understand the heat conduction in line 200. What kind of conduction of internal energy is in lines 198-199 ?
3. What is the use of the repeated use of fvm and fvc discretisation of the same expressions in lines 197-199? Why is it not applied to the heat conduction in line 200?
4. Where is the pressure term Dp/Dt?

I'd be glad if anybody could help me in understanding this issue.
nakul 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 07:27
Viscosity and the Energy Equation Rich Main CFD Forum 0 December 16, 2009 15:01
question about energy equation zhou FLUENT 0 February 24, 2004 00:55


All times are GMT -4. The time now is 16:07.