|
[Sponsors] |
September 24, 2015, 19:43 |
What is thermo "type"?
|
#1 |
Member
Join Date: Aug 2015
Posts: 37
Rep Power: 11 |
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, sensibleEnthalpywhile Solver B allows a combination in which only the first parameter is different: heRhoThermo, reactingMixture, const, hConst, perfectGas, specie, sensibleEnthalpyAccording 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? |
|
Tags |
thermo type, thermodynamics |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding Thermo to basicKinematicCollidingCloud | bruce | OpenFOAM Programming & Development | 12 | July 7, 2022 12:23 |
Combustion model vs. chemistry model (thermo type) | wenxu | OpenFOAM | 2 | July 19, 2015 22:15 |
incompressible thermo type (in buoyantSimpleFoam) | andrea.pasquali | OpenFOAM | 8 | November 21, 2013 16:10 |
How can I use absoluteEnthalpy in thermo type in2.2.1 | zqlhzx | OpenFOAM Running, Solving & CFD | 4 | October 15, 2013 09:46 |
dieselFoam: how to implement thermo for liquid/gas continuous phase | natrask | OpenFOAM Running, Solving & CFD | 1 | July 16, 2009 06:37 |