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

Understanding energy initialization

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2014, 08:47
Default Understanding energy initialization
  #1
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
Hello,

I'm currently trying to understand how the energy fields are initialized from the initial temperature field.

In heThermo.C, init() the fields are calculated. I don't understand why the cells are initialized with HE() ( -> J/kg) while the boundary is initialized with he() ( -> J/kmol).

Can anyone clarify this?

Background: I'm using tabulated material data for enthalpy and I'm trying to get rid of the root finding method in the temperature calculation, given a function h(T, p), by directly using a T(h, p) function. I hope to get increased solver stability and possibly speed.
chriss85 is offline   Reply With Quote

Old   August 7, 2014, 08:53
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
I just noticed that the called he() function is actually not the one from thermo.H but rather from heThermo.H, and this one uses J/kg. So it's actually just an unlucky naming convention .
chriss85 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
energy in sonicFoam joern OpenFOAM Running, Solving & CFD 1 September 24, 2019 00:15
energy spectra from LES simulations kumar OpenFOAM Post-Processing 2 February 23, 2016 12:25
Natural convection, problems with total energy balance MdoNascimento STAR-CCM+ 0 March 13, 2014 12:15
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 06:06


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