|
[Sponsors] |
August 17, 2011, 01:43 |
Reaction Model
|
#1 |
New Member
Yopi
Join Date: Jul 2011
Posts: 7
Rep Power: 15 |
Hi everyone,
in openfoam201 i found different reaction model between chemFoam and reactingFoam (both combustion). chemFoam using chemkin and reactingFoam using something else. how to change reactingfoam case, so that can read chemkin like chemFoam ? tengkyu ... |
|
August 17, 2011, 12:55 |
|
#2 |
Member
Tibo
Join Date: Jun 2011
Posts: 68
Rep Power: 15 |
Hi Yopi,
The two applications for reading and using physical (Sutherland and Janaf coefficients) and chemical (reactions equations, preexponential factor, T-dependency of this latter one and activation energy) are chemkinReader and foamChemistryReader. Moving from one model to the other is pretty tricky as they use different "syntax" and do not require the same units. This is mentioned and further explained here for example: http://www.cfd-online.com/Forums/ope...ions-file.html. So this gets messy if you have many reactions (which is necessary if you want to get realistic results) and no automatic way to changing these data. So, answer to your question: change the file containing the reaction equations (usually chem.inp, always in constant/) as well as the name of the chemistry reader (reason why I wrote that first paragraph that seems at first to miss the point of your question) and the reaction file to be read if necessary. Those last two modifications have to be done in constant/thermophysicalProperties. I´m not an expert, but I think this is all you have to do. Good luck. |
|
August 18, 2011, 00:06 |
|
#3 |
New Member
Yopi
Join Date: Jul 2011
Posts: 7
Rep Power: 15 |
thanks Tibo ... i am using chemkinToFoam and it works
at first i am confused how to compute highcpcoeff lowcpcoeff (in thermo.compressibleGas - reactingFoam). i think there are a table or equation for every particel or molecule. but now it solved. thanks. |
|
August 24, 2011, 05:18 |
|
#4 |
Member
Tibo
Join Date: Jun 2011
Posts: 68
Rep Power: 15 |
Big correction: There actually is a nice utility called chemkinToFoam to convert your chemkin files to the foamChemistry format.
It requires the following syntax: chemkinToFoam <CHEMKINChemistryFile> <CHEMKINThermodynamicsFile> <FOAMChemistryFile> <FOAMThermodynamicsFile> The corresponding foamToChemkin utility does not seem to exist though. enjoy. |
|
April 6, 2012, 17:25 |
|
#5 |
New Member
Mostafa Moghaddami
Join Date: Oct 2009
Posts: 13
Rep Power: 17 |
Dear All
I am going to run a case includes some liquid species that react with each other. I am going to use the reactingFoam as a solver. All species have constant proprties and I want to use the following thermo type: thermoType hsPsiThermo<reactingMixture<constTransport<specieT hermo<eConstThermo<icoPolynomial>>>>>> but when I set it in the constat/thermophysicalProperties file and run the case, I get this error: ------------------------------------------------------------------------------------ --> FOAM FATAL ERROR: Inconsistent thermo package selected: hsPsiThermo<reactingMixture<constTransport<specieT hermo<eConstThermo<icoPolynomial>>>>>> Please select a thermo package based on gasThermoPhysics. Valid options include: 3 ( hsPsiMixtureThermo<singleStepReactingMixture<gasTh ermoPhysics>> hsPsiMixtureThermo<multiComponentMixture<gasThermo Physics>> hsPsiMixtureThermo<reactingMixture<gasThermoPhysic s>> ) From function autoPtr<hsCombustionThermo> hsCombustionThermo::NewType(const fvMesh&, const word&) in file combustionThermo/hsCombustionThermo/hsCombustionThermoNew.C at line 116. FOAM exiting ------------------------------------------------------------------------------------- What should I do to use the reactingFoam for constant propertie species? Thanks in advance for your help. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Eulerian multiphase model for species trnasport: UDF for reaction rate | harsh | Main CFD Forum | 3 | June 12, 2017 03:24 |
Wrong calculation of nut in the kOmegaSST turbulence model | FelixL | OpenFOAM Bugs | 27 | March 27, 2012 10:02 |
Turbulence Model and limitation to Reynolds number | qascapri | FLUENT | 0 | January 24, 2011 11:48 |
How to use the competing reaction model in CFX 11 | NewCoalman | CFX | 0 | May 5, 2008 04:15 |
discrete phase model with reaction | Art | FLUENT | 0 | September 7, 2004 11:51 |