|
[Sponsors] |
April 15, 2013, 07:43 |
Firefoam fuel consumption rate?
|
#1 |
Member
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
Hi all.
I've been playing around with the firefoam solver, and have noticed the fuel seems to be dispersing too quickly. This doesn't seem to be due to the diffusion rate alphaEff, and as far as I can tell it results from the combustion->R(Yi) term for the species equation. However, all I can find out about this term is that it represents the fuel consumption rate. I can't find where this is calculated in the combustion models, and I don't understand exactly how it works. Can anyone explain exactly what this term is, and how it works? |
|
April 15, 2013, 08:26 |
|
#2 |
Member
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
It seems that commenting this term out results in less fuel dispersion, as I'd expect, however it also results in the temperature going through the roof, which I can't work out at all, as the species equation shouldn't be affecting the energy equation directly and the fuel is still at a reasonable concentration.
|
|
June 6, 2018, 18:14 |
Using OpenFoam v5.0
|
#3 |
Member
Raunak Bardia
Join Date: Jan 2015
Posts: 32
Rep Power: 11 |
This is an old thread but in case anyone else is struggling with this.
reaction->R is called in the YEqn.H If you look at it closely, the evaluation of R is dependent on the 'combustionProperties' file in the constant directory, where the combustionModel is specified.
template<class Type> Foam::tmp<Foam::fvScalarMatrix> Foam::combustionModels::laminar<Type>::R(volScalar Field& Y) const { tmp<fvScalarMatrix> tSu(new fvScalarMatrix(Y, dimMass/dimTime)); fvScalarMatrix& Su = tSu.ref(); if (this->active()) { const label specieI = this->thermo().composition().species()[Y.member()]; Su += this->chemistryPtr_->RR(specieI); } return tSu; }
protected: // Protected data //- Pointer to chemistry model autoPtr<psiChemistryModel> chemistryPtr_;
All the functions we seek for are listed out in this class definition // Functions to be derived in derived classes // Fields //- Return const access to chemical source terms [kg/m3/s] virtual const volScalarField::Internal& RR ( const label i ) const = 0; //- Return access to chemical source terms [kg/m3/s] virtual volScalarField::Internal& RR ( const label i ) = 0; //- Return reaction rate of the speciei in reactioni virtual tmp<volScalarField::Internal> calculateRR ( const label reactioni, const label speciei ) const = 0; but they are evaluated in some derived class that I am not able to locate.
I do not know how we end up from basicChemistryModel to this library but it does give a lot of insight into how the stoichiometric coefficients of the reactions for each species are stored. I still have to understand it completely to be able to access these values directly from my solver. Hope that will be of some help to the lost souls who have been struggling just like me. |
|
Tags |
combustion, consumption, firefoam, fuel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
burning of solid fuel | lizihujx | FLUENT | 8 | September 19, 2012 09:50 |
Turbulent dissipation rate effect turbine torque?? | sedongjjang | FLUENT | 0 | August 24, 2012 15:12 |
How to calculate phase flow rate? | sangramroy | FLUENT | 0 | January 11, 2012 14:02 |
particle, parcel and mass flow rate balance | flybird | FLUENT | 0 | May 24, 2007 11:44 |
fuel composition and pyrolysis rate settting | willy | CFX | 0 | March 13, 2004 02:27 |