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

New Thermophysical Model for Reacting Mixtures

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2018, 21:21
Default New Thermophysical Model for Reacting Mixtures
  #1
New Member
 
UHGAR
Join Date: Sep 2016
Posts: 12
Rep Power: 10
UHGAR is on a distinguished road
Dear all,

I am new to Foam but trying to add a New Thermophysical model for reaction mixtures. I have a good understanding of other programming languages like Fortran but a little knowledge of C++ programming. I really need help in starting this. Any help would be highly appreciated.

My requirement:

To read a particular type of data (critical properties) for each species involved in the chemical mechanism. I am thinking to create the data in a separate file (CriticalProperties.dat) as follows and store in "Constant" folder:

Code:
CriticalProperties
{
 "CH4"
{
  Tc  Value;
  Vc  Value;
  Pc  Value;
  omega  Value;
}
"O2"
{
  Tc  Value;
  Vc  Value;
  Pc  Value;
  omega  Value;
}
....Similarly for all the species involved in GRI3.0 mechanism
}
Now, here:
1) I need to read this data and store in a separate class of thermophysical library.
2) Then I would need to (during CFD simulation) collect the mixture composition in each cell and based on the species composition in each cell I must find the combined critical properties (Not shown the formulations here). Let say, Tcm, Vcm, Pcm, and Omegacm.

Here, I am assuming that OpenFOAM has some simple classes to read the input text and store. Maybe I have to rename the variables appropriately for my need. At this moment due to my little understanding of C++ I am unable to identify such classes and how to modify them.

Secondly, I do not know where OpenFOAM collects the mixture composition in each cell and how I need to make it useful for my purpose.

I know, it is a very basic question for expert foamers like all of you. I would be really grateful if you provide me any form of guidance so that I can do this task.

Thanks in advance,
UHGAR
UHGAR is offline   Reply With Quote

Old   May 7, 2018, 12:25
Default
  #2
New Member
 
UHGAR
Join Date: Sep 2016
Posts: 12
Rep Power: 10
UHGAR is on a distinguished road
Dear Foamers,

Can someone please help me in this regard?
UHGAR is offline   Reply With Quote

Reply

Tags
combustion, ioobject, mixture model, real gas model, thermophysical model


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
Coupling RPI wall boiling model with population balance model in Fluent softice2006 Fluent Multiphase 1 April 19, 2023 03:09
How to model species transport influencing gas mixture's properties in Fluent mashimaro_star Fluent Multiphase 0 September 27, 2013 01:49
adding thermophysical model to conjugateHeatFoam helmut OpenFOAM Programming & Development 1 December 8, 2011 11:22
adding IAPWS thermophysical model undefined reference error abcdef123 OpenFOAM Programming & Development 1 October 23, 2011 11:07
Problems bout CFD model of biomass gasification, Downdraft gasifier wanglong FLUENT 2 November 26, 2009 00:27


All times are GMT -4. The time now is 06:18.