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

What is thermo "type"?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By knuckles

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2015, 18:43
Default What is thermo "type"?
  #1
Member
 
Join Date: Aug 2015
Posts: 37
Rep Power: 10
knuckles is on a distinguished road
OpenFOAM thermodynamics packages are specified by combining 7 parameters: type, mixture, transport, thermo, equationOfState, specie, energy. As far as I can tell, the last 6 parameters collectively define the property models to be used, and thus determine the answer to any given thermodynamic question (up to an arbitrary constant). If this is the case, then the only degree of freedom left for the “type” parameter to constrain is how the model is implemented. Is this what “type” represents?

For example, I have two different combustion solvers. Solver A allows the thermo model parameters to take on the values
hePsiThermo, reactingMixture, const, hConst, perfectGas, specie, sensibleEnthalpy
while Solver B allows a combination in which only the first parameter is different:
heRhoThermo, reactingMixture, const, hConst, perfectGas, specie, sensibleEnthalpy
According to my understanding, both of these models will accept the same inputs and produce the same outputs, although they may implement things differently “under the hood.” I know that Solver A won't accept heRhoThermo, and Solver B won't accept hePsiThermo. What is so fundamental about the rho/psi distinction that these two externally-identical thermo models are not interchangeable?
granzer likes this.
knuckles is offline   Reply With Quote

Reply

Tags
thermo type, thermodynamics


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
Adding Thermo to basicKinematicCollidingCloud bruce OpenFOAM Programming & Development 12 July 7, 2022 11:23
Combustion model vs. chemistry model (thermo type) wenxu OpenFOAM 2 July 19, 2015 21:15
incompressible thermo type (in buoyantSimpleFoam) andrea.pasquali OpenFOAM 8 November 21, 2013 15:10
How can I use absoluteEnthalpy in thermo type in2.2.1 zqlhzx OpenFOAM Running, Solving & CFD 4 October 15, 2013 08:46
dieselFoam: how to implement thermo for liquid/gas continuous phase natrask OpenFOAM Running, Solving & CFD 1 July 16, 2009 05:37


All times are GMT -4. The time now is 19:09.