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

coal SurfaceReactionModel

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By lliyuu
  • 1 Post By Felicity_NWU

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2023, 00:21
Default coal SurfaceReactionModel
  #1
New Member
 
xinyu
Join Date: Apr 2022
Posts: 24
Rep Power: 4
lliyuu is on a distinguished road
Hello Foam users,
I am simulating coal combustion in a rich fuel atmosphere, and the SurfaceReactionModel in Openfoam only has C (s)+O2=CO2. I need a multi-step surface reaction, and I have modified the COxidationKineticDiffusionLimitedRate, but warning has occurred. I don't know where the problem lies? Does anyone know where my mistake lies?
C (s)+O2=CO
C (s)+CO2=CO
C (s)+H2O=CO+H2

lnInclude/COxidationKineticDiffusionLimitedRate2.H:145:58: required from here
lnInclude/COxidationKineticDiffusionLimitedRate2.H:100:19: warning: ‘Foam::COxidationKineticDiffusionLimitedRate2<Foam ::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam ::ThermoCloud<Foam::MomentumCloud<Foam::ParcelClou dBase<Foam::ReactingMultiphaseParcel<Foam::Reactin gParcel<Foam::ThermoParcel<Foam::MomentumParcel<Fo am:article> > > > > > > > > >::CO2GlobalId_’ will be initialized after [-Wreorder]
100 | label CO2GlobalId_;
| ^~~~~~~~~~~~
lnInclude/COxidationKineticDiffusionLimitedRate2.H:94:19: warning: ‘Foam::label Foam::COxidationKineticDiffusionLimitedRate2<Foam: :ReactingMultiphaseCloud<Foam::ReactingCloud<Foam: :ThermoCloud<Foam::MomentumCloud<Foam::ParcelCloud Base<Foam::ReactingMultiphaseParcel<Foam::Reacting Parcel<Foam::ThermoParcel<Foam::MomentumParcel<Foa m:article> > > > > > > > > >::COGlobalId_’ [-Wreorder]
94 | label COGlobalId_;
| ^~~~~~~~~~~
In file included from lnInclude/COxidationKineticDiffusionLimitedRate2.H:191,
from lnInclude/makeReactingMultiphaseParcelSurfaceReactionModels. H:39,
from parcels/derived/reactingMultiphaseParcel/makeReactingMultiphaseParcelSubmodels.C:47:
lnInclude/COxidationKineticDiffusionLimitedRate2.C:89:1: warning: when initialized here [-Wreorder]
89 | Foam::COxidationKineticDiffusionLimitedRate2<Cloud Type>::
| ^~~~
In file included from lnInclude/makeReactingMultiphaseParcelSurfaceReactionModels. H:39,
from parcels/derived/reactingMultiphaseParcel/makeReactingMultiphaseParcelSubmodels.C:47:
lnInclude/COxidationKineticDiffusionLimitedRate2.H:98:19: warning: ‘Foam::COxidationKineticDiffusionLimitedRate2<Foam ::ReactingMultiphaseCloud<Foam::ReactingCloud<Foam ::ThermoCloud<Foam::MomentumCloud<Foam::ParcelClou dBase<Foam::ReactingMultiphaseParcel<Foam::Reactin gParcel<Foam::ThermoParcel<Foam::MomentumParcel<Fo am:article> > > > > > > > > >::H2OGlobalId_’ will be initialized after [-Wreorder]
98 | label H2OGlobalId_;
| ^~~~~~~~~~~~
lnInclude/COxidationKineticDiffusionLimitedRate2.H:96:19: warning: ‘Foam::label Foam::COxidationKineticDiffusionLimitedRate2<Foam: :ReactingMultiphaseCloud<Foam::ReactingCloud<Foam: :ThermoCloud<Foam::MomentumCloud<Foam::ParcelCloud Base<Foam::ReactingMultiphaseParcel<Foam::Reacting Parcel<Foam::ThermoParcel<Foam::MomentumParcel<Foa m:article> > > > > > > > > >::H2GlobalId_’ [-Wreorder]
96 | label H2GlobalId_;
| ^~~~~~~~~~~
In file included from lnInclude/COxidationKineticDiffusionLimitedRate2.H:191,
from lnInclude/makeReactingMultiphaseParcelSurfaceReactionModels. H:39,
from parcels/derived/reactingMultiphaseParcel/makeReactingMultiphaseParcelSubmodels.C:47:
lnInclude/COxidationKineticDiffusionLimitedRate2.C:89:1: warning: when initialized here [-Wreorder]
89 | Foam::COxidationKineticDiffusionLimitedRate2<Cloud Type>::
| ^~~~
Attached Files
File Type: c COxidationKineticDiffusionLimitedRate2.C (7.7 KB, 4 views)
lliyuu is offline   Reply With Quote

Old   July 5, 2023, 22:43
Default Sequence problem
  #2
New Member
 
xinyu
Join Date: Apr 2022
Posts: 24
Rep Power: 4
lliyuu is on a distinguished road
I solved it, it's just a matter of order.
There was no problem running the new surfacereactionmodel, but the result was incorrect. The combustion temperature was very low at only 1000k, and the CO+O2=CO2 in constant/reactions did not actually occur, which means there was no CO2 generation.
Nitesh_Sahu and Felicity_NWU like this.
lliyuu is offline   Reply With Quote

Old   August 10, 2023, 07:54
Default
  #3
New Member
 
Felicity Nthatisi
Join Date: Dec 2022
Posts: 1
Rep Power: 0
Felicity_NWU is on a distinguished road
Did you manage to get a model running with acceptable results? I am busy with coal combustion and I am struggling. If you can help please.
Nitesh_Sahu likes this.
Felicity_NWU is offline   Reply With Quote

Old   August 10, 2023, 08:46
Default
  #4
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 798
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
Greetings.

Where exactly are you stuck?
dlahaye is offline   Reply With Quote

Reply


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
coal SurfaceReactionModel lliyuu OpenFOAM Running, Solving & CFD 2 May 31, 2023 04:17
Coal combustion injection properties semo FLUENT 12 May 16, 2017 20:40
Non premixed- Coal combustion praveen2011 FLUENT 3 November 1, 2016 09:57
Fixed Bed Coal gasification nabeelicet FLUENT 0 February 2, 2014 07:36
Clean Coal Projects Clean Coal Projects Main CFD Forum 0 March 2, 2009 04:57


All times are GMT -4. The time now is 04:30.