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

EEqn.H

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 17, 2016, 13:39
Default EEqn.H
  #1
New Member
 
S Atkinson
Join Date: Mar 2015
Posts: 14
Rep Power: 11
satkinson is on a distinguished road
Hi All,

I have been trying to understand the EEqn.h using http://cfd.direct/openfoam/energy-equation/ and the file itself. From the file;

fvScalarMatrix EEqn
(
fvm::ddt(rho, he) + fvm::div(phi, he)
+ fvc::ddt(rho, K) + fvc::div(phi, K)
+ (
he.name() == "e"
? fvc::div
(
fvc::absolute(phi/fvc::interpolate(rho), U),
p,
"div(phiv,p)"
)
: -dpdt
)
- fvm::laplacian(turbulence->alphaEff(), he)
==
rho*(U&g)
+ radiation->Sh(thermo)
+ fvOptions(rho, he)
);

I fully understand the LHS and the process that is happening there from the website. I am a little confused why I, the Identity tensor gets swapped in it becomes U in equation 12.

Following this I want to know what rho*(U&g) is in physical terms. I understand that rho*g gives joules, which makes sense, but what is rho*U kg/m2.s.

Thanks,

satkinson
satkinson is offline   Reply With Quote

 


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
Study of the EEqn.H in rhoPimpleDyMFoam. Horacio Aguerre OpenFOAM Programming & Development 11 August 19, 2022 02:47
Question about EEqn.H file harshad88 OpenFOAM Programming & Development 6 February 4, 2019 09:51
How does the function"he=thermo.he()"work in EEqn.H with OpenFOAM2.2.1 zqlhzx OpenFOAM Programming & Development 1 September 11, 2015 18:58
energy equation problem Gary51075607 OpenFOAM Programming & Development 5 August 7, 2015 07:55
EEqn.h BuoyantSimpleFoam normy OpenFOAM Running, Solving & CFD 0 March 10, 2015 05:43


All times are GMT -4. The time now is 17:32.