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

char combustion chemistry; multi-step raection, coalChemistryFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By openfoammaofnepo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2015, 08:12
Default char combustion chemistry; multi-step raection, coalChemistryFoam
  #1
New Member
 
Shuai Wang
Join Date: Mar 2014
Posts: 26
Rep Power: 12
Shuai_W is on a distinguished road
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
Shuai_W is offline   Reply With Quote

Old   January 29, 2016, 11:04
Default
  #2
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Hello,

In the following source file:

Code:
OpenFOAM-2.3.x/src/lagrangian/intermediate/submodels/ReactingMultiphase/SurfaceReactionModel/SurfaceReactionModel/SurfaceReactionModel.C
It seems that in OpenFOAM, the char combustion model is not implemented:
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;
}
So not sure which one is really used in the OpenFOAM calculations. Have any ideas?
Kummi likes this.
openfoammaofnepo is offline   Reply With Quote

Old   May 17, 2018, 07:36
Default
  #3
New Member
 
SURAJ
Join Date: Jun 2017
Location: IIT KANPUR,India
Posts: 15
Rep Power: 9
surajkvs is on a distinguished road
Were you able to implement the multistep char combustion reaction.
Can you please guide.
surajkvs is offline   Reply With Quote

Old   February 18, 2019, 07:32
Default
  #4
New Member
 
Xiang Zhao
Join Date: Nov 2018
Posts: 6
Rep Power: 7
Sean Zhao is on a distinguished road
Hi, have you figured it out? I encounter the same problem
Sean Zhao is offline   Reply With Quote

Reply

Tags
char combustion chemistry, coalchemistryfoam


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
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


All times are GMT -4. The time now is 15:47.