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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2016, 14: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

Old   October 31, 2016, 02:00
Default
  #2
New Member
 
Bo Kong
Join Date: Oct 2016
Location: China
Posts: 22
Rep Power: 9
huangfei is on a distinguished road
rho*g·U is potential energy
huangfei is offline   Reply With Quote

Old   October 31, 2016, 06:31
Default
  #3
New Member
 
S Atkinson
Join Date: Mar 2015
Posts: 14
Rep Power: 11
satkinson is on a distinguished road
Hi huangfei

Thanks for updating me on this.

Satkinson
satkinson is offline   Reply With Quote

Old   October 31, 2016, 07:02
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
Quote:
Originally Posted by huangfei View Post
rho*g·U is potential energy
I think this is the change of the potential energy (density). [J/s/m³]
jherb is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT -4. The time now is 18:24.