|
[Sponsors] |
New Thermophysical Model for Reacting Mixtures |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 5, 2018, 21:21 |
New Thermophysical Model for Reacting Mixtures
|
#1 |
New Member
UHGAR
Join Date: Sep 2016
Posts: 12
Rep Power: 10 |
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 } 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 |
|
May 7, 2018, 12:25 |
|
#2 |
New Member
UHGAR
Join Date: Sep 2016
Posts: 12
Rep Power: 10 |
Dear Foamers,
Can someone please help me in this regard? |
|
Tags |
combustion, ioobject, mixture model, real gas model, thermophysical model |
|
|
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 |