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

Questions about mixtures

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By chriss85

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2016, 10:31
Default Questions about mixtures
  #1
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
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?
chriss85 is offline   Reply With Quote

Old   October 31, 2016, 09:48
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
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.
Attached Images
File Type: jpg thermophysicalModels Class Structure.jpg (167.3 KB, 33 views)
wyldckat likes this.
chriss85 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 16:27.