|
[Sponsors] |
char combustion chemistry; multi-step raection, coalChemistryFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 18, 2015, 08:12 |
char combustion chemistry; multi-step raection, coalChemistryFoam
|
#1 |
New Member
Shuai Wang
Join Date: Mar 2014
Posts: 26
Rep Power: 12 |
Hello Foam users,
I am trying to implement a 3-step char combustion chemsitry mechanism for coalChemistryFoam solver. I found that there is an available model COxidationKineticDiffusionLimitedRate.C in the following location: ~/OpenFOAM/OpenFOM-2.3/src/lagrangian/ coalCombustion/submodels/ surfaceReactionModel/COxidationKineticDiffusionLimitedRate The COxidationKineticDiffusionLimitedRate model uses a single step reaction of C+O2--> CO2 I intend to use following reactions to determine consumption of C: C + 0.5O2 --> CO ; K1 is the rate constant C + CO2 --> 2CO ; K2 is the rate constant C + H2O --> CO+H2 ; K3 is the rate constant The question I have are following: 1. Do I need to create variable for dmCO and dmH2 just as dmC and dmO2 are created? 2. How can dmC, dmCO and dmH2 be calculated using the kinetic rates of above reactions and implemented in the routine If anyone has implemented multi-step surface chemistry I would be very thankful to learn how it is being implemented. I am still learning C++ and implementation in OpenFOAM and it would be great to get a help for a faster learning curve. Many thanks WANG |
|
January 29, 2016, 11:04 |
|
#2 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hello,
In the following source file: Code:
OpenFOAM-2.3.x/src/lagrangian/intermediate/submodels/ReactingMultiphase/SurfaceReactionModel/SurfaceReactionModel/SurfaceReactionModel.C Code:
template<class CloudType> Foam::scalar Foam::SurfaceReactionModel<CloudType>::calculate ( const scalar, const label, const scalar, const scalar, const scalar, const scalar, const scalar, const scalar, const scalarField&, const scalarField&, const scalarField&, const scalarField&, const scalar, scalarField&, scalarField&, scalarField&, scalarField& ) const { notImplemented ( "Foam::scalar Foam::SurfaceReactionModel<CloudType>::calculate" "(" "const scalar, " "const label, " "const scalar, " "const scalar, " "const scalar, " "const scalar, " "const scalar, " "const scalar, " "const scalarField&, " "const scalarField&, " "const scalarField&, " "const scalarField&, " "const scalar, " "scalarField&, " "scalarField&, " "scalarField&, " "scalarField&" ") const" ); return 0.0; } |
|
May 17, 2018, 07:36 |
|
#3 |
New Member
SURAJ
Join Date: Jun 2017
Location: IIT KANPUR,India
Posts: 15
Rep Power: 9 |
Were you able to implement the multistep char combustion reaction.
Can you please guide. |
|
February 18, 2019, 07:32 |
|
#4 |
New Member
Xiang Zhao
Join Date: Nov 2018
Posts: 6
Rep Power: 7 |
Hi, have you figured it out? I encounter the same problem
|
|
Tags |
char combustion chemistry, coalchemistryfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2 Step Methane-Air Chemistry Model | Prateep Chatterjee | FLUENT | 3 | November 1, 2016 14:30 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 11:08 |
Problems in combustion of char | Cleiton | CFX | 2 | December 12, 2008 12:35 |