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

No energy conservation in interRegionHeatTransfer model

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 4, 2016, 08:10
Default No energy conservation in interRegionHeatTransfer model
  #1
New Member
 
Tom Potters
Join Date: Jul 2009
Posts: 14
Rep Power: 9
TomP is on a distinguished road
I recently gave the fvoptions for interRegion heat transfer a try and for some reason I seem to be unable to conserve energy. The example case in the tutorial contains a lot of fancy things but I tried to reduce the complexity.
- two identical meshes overlapping
- constant material properties
- laminar flow
- slip walls
I included my test-case in attachment. In this case I use a constant heat transfer coefficient and a constant area over volume. If I read the source code correctly it will add a source term to the energy equation that is the product of these constants with the cell volume and the temperature difference between the two regions. As the temperature difference will be positive or negative depending on the region so will the source term. As we have identical fluids and identical flow rates in my case you would expect the change in temperature to be identical. This is however not the case.

Is this a bug or am I missing something?

Tom
Attached Files
File Type: gz heatExchanger_test.tar.gz (75.3 KB, 2 views)
TomP is offline   Reply With Quote

Old   May 10, 2016, 02:24
Default
  #2
New Member
 
Tom Potters
Join Date: Jul 2009
Posts: 14
Rep Power: 9
TomP is on a distinguished road
I found my error. The tutorial case contained some really tightly defined limiters on the density. If you turn of the limiters in both fvSolution files the results are ok.
TomP is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to obtain turbulent kinetic energy data from LES model of Ansys CFX? rsin CFX 18 February 29, 2016 01:20
How to exploit SGS kinetic energy with Smagorinsky model in LES babakflame OpenFOAM Programming & Development 3 December 14, 2014 07:58
diff bet total energy model and thermal energy model?? vijeshjoshi23 Main CFD Forum 0 October 8, 2009 02:29
how to prove energy conservation in Fluent Tony FLUENT 0 May 15, 2006 12:42
ENERGY CONSERVATION SCHEMES! Science Seeker Main CFD Forum 1 May 24, 2001 12:13


All times are GMT -4. The time now is 02:44.