|
[Sponsors] |
October 28, 2016, 10:31 |
Questions about mixtures
|
#1 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
I would like to introduce mixtures at some point, where thermophysical properties are calculated using some kind of averaging or mixing law.
I have seen that OpenFOAM supports this to some extent with the multiComponentMixture class. As far as I can tell, it calculates a temporary mixture object which is created by employing the addition operators in the single phase submodels. Sutherland coefficients may be added up and weighted by the phase fractions for example. However, this is not going to work for me, as I'm using data tables to provide my thermophysical data, and adding up the whole tables would be way too slow to consider it. Instead, I would prefer to pick values from the separate tables of each phase and average these values directly. Will I have to write a new mixture class for this? If so, how can the submodels (for example the class for equation of state or transport model) know its species name so that different paths for data tables may be generated? |
|
October 31, 2016, 09:48 |
|
#2 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
Still working on this. For reference, here is a visualization of the class structure of the thermophysical library, using the tabular classes I am using and the intended multiphase configuration. I think this may help with understanding the layout of the thermophysical model library in general.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Definig a mixture including other mixtures | jipaz | Fluent Multiphase | 0 | August 22, 2015 19:23 |
NACA0012 Validation Case Questions | ozzythewise | Main CFD Forum | 3 | August 3, 2010 15:39 |
Enthalpy equation for multicomponent mixtures | alberto_cuoci | OpenFOAM | 1 | October 8, 2009 11:59 |