|
[Sponsors] |
July 3, 2023, 00:21 |
coal SurfaceReactionModel
|
#1 |
New Member
xinyu
Join Date: Apr 2022
Posts: 24
Rep Power: 4 |
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>:: | ^~~~ |
|
July 5, 2023, 22:43 |
Sequence problem
|
#2 |
New Member
xinyu
Join Date: Apr 2022
Posts: 24
Rep Power: 4 |
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. |
|
August 10, 2023, 07:54 |
|
#3 |
New Member
Felicity Nthatisi
Join Date: Dec 2022
Posts: 1
Rep Power: 0 |
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.
|
|
|
|
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 |