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

Question about thermophysical models?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2012, 00:07
Default Question about thermophysical models?
  #1
Member
 
lfgmarc's Avatar
 
Luis Felipe Gutierrez Marcantoni
Join Date: Oct 2010
Location: Cordoba-Argentina
Posts: 47
Rep Power: 15
lfgmarc is on a distinguished road
Send a message via MSN to lfgmarc
Hi, I have a question about thermophysical models,


I understand that if i.e, the energy variable is enthalpy F=h(T) and dF/dT=Cp(T), in:

Code:
src/thermophysicalModels/specie/lnInclude/specieThermoI.H
my question is where it is defined in the code, that F and dF/dt take these variables as arguments.

I understand also that the energy variable is selected by the thermo model. I.e, if is selected
Code:
eConstThermo
the energy variable is the internal energy, but I can find in the code where is defined F=e(t).

Pd: I have a basic knowledge of C++


Thanks in advance for any hint,


Fg.
__________________
Felipe G
lfgmarc is offline   Reply With Quote

Old   July 23, 2012, 03:17
Default
  #2
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 17
Chris Lucas is on a distinguished road
Hi,

the answer is in the same class
src/thermophysicalModels/specie/lnInclude/specieThermoI.H
Have a look at the functions TH(scalar,scalar) and TE(scalar,scalar).

Best Regards,
Christian
Chris Lucas is offline   Reply With Quote

Old   July 26, 2012, 03:57
Default basicThermo class question
  #3
New Member
 
Daniel Jasiński
Join Date: Sep 2011
Location: Warsaw, Poland
Posts: 2
Rep Power: 0
DanielJ is on a distinguished road
Hi I was browsing through basicThermo class an found that this class returns null field when requested for enthalpy.
If understand it correctly this is a dummy enthalpy, that is not connected with temperature field.
Could someone explain this to me?
DanielJ is offline   Reply With Quote

Old   July 26, 2012, 04:02
Default
  #4
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 17
Chris Lucas is on a distinguished road
Hi,

the function are virtual and get overwriten in the following classes (e.g basicPsiThermo and hPsiThermo ...)

Christian
Chris Lucas 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
Unanswered question niklas OpenFOAM 2 July 31, 2013 16:03
informaiton about k-omega models krisreddi CFX 2 August 10, 2005 06:53
How to set phase dependent turbulence models? J.Yang CFX 2 August 29, 2002 15:39
turbolent models for wings Maria Teresa Milesi FLUENT 4 July 23, 2000 10:25
question K.L.Huang Siemens 1 March 29, 2000 04:57


All times are GMT -4. The time now is 10:37.