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

Question about the energy conservation in interFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By zhaohb11_cfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2020, 22:22
Default Question about the energy conservation in interFoam
  #1
New Member
 
Join Date: Sep 2019
Posts: 18
Rep Power: 7
zhaohb11_cfd is on a distinguished road
Dear OpenFoam Uers,

Recently, I use interFoam to simulate the droplet impacting on rigid surface. I did the energy analysis study and find that the energy is not conservative.

The total energy, surface energy, kinetic energy and viscosity dissipation against time is plotted in the attachment. It could be observed that the viscosity dissipation kept increasing. even when the kinetic energy is limited to zero.

I used the following to calculate the viscosity dissipation:

First, I calculate the viscosity dissipation rate:

phi= 2*dynamic viscosity coefficient *(b&&b) and b=0.5*(grad(U)+grad(U).T())

After getting the viscosity dissipation rate, I integrated it over the time step and grid space:

viscosity dissipation energy = phi*vol()*0.00025*alphawater;

Anyone knows that if it is the right way to calculate the viscosity dissipation energy? Or explain why the energy is not conservatitve?

sincerely
ZHAO HAIBO
Attached Images
File Type: png energy budget.png (12.4 KB, 27 views)
ahparvin likes this.
zhaohb11_cfd is offline   Reply With Quote

Old   November 18, 2020, 07:13
Default
  #2
New Member
 
Join Date: Sep 2019
Posts: 18
Rep Power: 7
zhaohb11_cfd is on a distinguished road
anyone could help me ?
zhaohb11_cfd is offline   Reply With Quote

Old   February 1, 2023, 10:59
Default
  #3
New Member
 
Join Date: Dec 2020
Posts: 9
Rep Power: 6
ahparvin is on a distinguished road
Hey did you manage to find it?

I have a similar issue. the energy conservation is really questionable for me?
I want to know to what extent I can trust OpenFOAM in terms of this matter.
what is the role of numerical dissipation and turbulence, etc?
ahparvin 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
Hi,I have a question about momentum equation in interFoam shchao OpenFOAM Programming & Development 7 December 18, 2017 18:40
adding energy equation to interFoam Elham OpenFOAM Programming & Development 11 January 29, 2017 15:14
Conservation of kinetic energy Simbelmynė Main CFD Forum 15 August 28, 2015 14:12
The energy conservation in a case of phase change robin Phoenics 2 April 6, 2002 01:09


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