CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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 Display Modes
Old   October 28, 2016, 09:31
Default Questions about mixtures
  #1
Senior Member
 
Join Date: Oct 2013
Posts: 376
Rep Power: 7
chriss85 is on a distinguished road
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 online now   Reply With Quote

Old   October 31, 2016, 09:48
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 376
Rep Power: 7
chriss85 is on a distinguished road
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, 8 views)
wyldckat likes this.
chriss85 is online now   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 6 September 18, 2016 16:23
Definig a mixture including other mixtures jipaz Fluent Multiphase 0 August 22, 2015 18:23
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
NACA0012 Validation Case Questions ozzythewise Main CFD Forum 3 August 3, 2010 14:39
Enthalpy equation for multicomponent mixtures alberto_cuoci OpenFOAM 1 October 8, 2009 10:59


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