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

Multiphase solid reactions

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2019, 11:28
Default Multiphase solid reactions
  #1
New Member
 
Join Date: Oct 2017
Posts: 13
Rep Power: 8
Paulo SPS is on a distinguished road
Hi there,
I am new to openfoam, so hopefully a solution to my problem is achievable.
I am trying to model a two phase problem, one solid phase and one fluid phase, multi species problem in which species from the fluid phase diffuse into the solid and vice-versa. There are a different set of reactions in both phases and I need to see the species gradient in the solid region.


1)Is there a solver that can do that straight away?


2)Because I didn't find a better way I'm trying to add reactions and mass transport to chtMultiRegionFoam. With "solidReactionThermo.H" I managed to get composition fields into the solid region but I'm struggling to add the reactions and evaluate the rates because as far as I can see all reaction models are for fluid phase reactions. Do I have to write code from scratch for solid phase reactions?


3)The other idea I have is to run reactingTwoPhaseEulerFoam with alpha.fluid and alpha.solid fixed, is that possible?


Cheers and thanks in advance
Paulo SPS is offline   Reply With Quote

Old   August 1, 2019, 20:27
Default
  #2
New Member
 
Gavin Ridley
Join Date: Jan 2019
Location: Tennessee, USA
Posts: 25
Rep Power: 7
gridley2 is on a distinguished road
Hey Paulo,


I'm currently encountering a similar difficulty, namely that there seems to be no built-in way to model interfacial chemistry between phases. My current thoughts are to code a new phase system into reactingMultiPhaseEulerFoam for myself that does this.


Have you made any headway on the issue?
gridley2 is offline   Reply With Quote

Old   August 2, 2019, 10:11
Default
  #3
New Member
 
Join Date: Oct 2017
Posts: 13
Rep Power: 8
Paulo SPS is on a distinguished road
Hey Gavin,
so far I haven't made much headway into this subject. I'm dedicating myself more to the chtMultiRegionFoam solution because it appear to suit my needs a bit better.
I found a constructor for a class of gas/solid reactions in "/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C" but it appears to be only for reactions of the type "Solid1 = Solid2 + Gas", which is nice but I would need more.


Cheers,
Paulo
Paulo SPS is offline   Reply With Quote

Old   August 2, 2019, 10:54
Default
  #4
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 348
Rep Power: 11
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello Paulo,
Hope in your case two solvers are mainly involved. One is Firefoam and other is chtmultiregionfoam.

Its super complex to add reactions in chtmultiregionfoam. Instead, modify the firefoam solver as per your need depending upon fluid and solid regions. If Im not wrong, you are looking into chtmultiregionfoam concerning different regions. If so, simply adopt the couple boundary conditions to couple 2 or more regions as per your problem requirement. Thats how I solved my case months before.

And in above explanations, I don't find clear objective. It ll be good, if you explain right on the content related to applications with figures.

Nothing is impossible. Cheers.. Good luck ^^
Paulo SPS and erinsam like this.
Kummi is offline   Reply With Quote

Old   August 2, 2019, 11:45
Default
  #5
New Member
 
Gavin Ridley
Join Date: Jan 2019
Location: Tennessee, USA
Posts: 25
Rep Power: 7
gridley2 is on a distinguished road
Paulo, thanks for the info. I'm curious, what is the "more" you need than what you described? I'm curious to find out if what we're working on has any overlap.
gridley2 is offline   Reply With Quote

Old   August 5, 2019, 05:18
Default
  #6
New Member
 
Join Date: Oct 2017
Posts: 13
Rep Power: 8
Paulo SPS is on a distinguished road
Dear Kummi,
I understood from digging in the code that fireFoam can only handle pyrolysis reactions (Solid1 = Solid2 + Gas) in a 1D model for the solid phase, am I wrong in that?

My problem needs to account for gas diffusion into a solid, where gas and solid react with each other (several reactions with both gas and solid products). Unfortunately I have no pictures as of this moment. The pyrolysis model solves part of my problem but I need to account for complex char reactions. (Hopefully this answers Gavin's question also).


I'll try to implement the couple boundary condition into fireFoam as you suggested because I'm also getting to the conclusion that adding reactions do chtMultiRegionFoam is more complicated.


Cheers,
Paulo
Paulo SPS is offline   Reply With Quote

Old   August 7, 2019, 01:52
Default
  #7
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 348
Rep Power: 11
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello Paulo,
Quote:
I understood from digging in the code that fireFoam can only handle pyrolysis reactions (Solid1 = Solid2 + Gas) in a 1D model for the solid phase, am I wrong in that?
Yes, pyrolysis can handle only such simple reaction. To include additional reactions, refer this article below with solver attached. It might help you to add additional reactions, and add n number of reactant and product species too.

https://www.researchgate.net/publica...ed_on_OpenFOAM
https://www.researchgate.net/publica...tallPack_10tar
Quote:
The pyrolysis model solves part of my problem but I need to account for complex char reactions. (Hopefully this answers Gavin's question also).

irreversibleSolidArrheniusHeterogeneousReaction
char + CO2 = 2 CO
(1.5e7 324 800 2 0.27)
Are you looking for such kind of reaction?
Quote:
My problem needs to account for gas diffusion into a solid, where gas and solid react with each other (several reactions with both gas and solid products).
Can you suggest any real time applications related to it ? Is that a kind of porous media problem.
Paulo SPS and erinsam like this.
Kummi is offline   Reply With Quote

Old   August 7, 2019, 04:25
Default
  #8
New Member
 
Join Date: Oct 2017
Posts: 13
Rep Power: 8
Paulo SPS is on a distinguished road
Dear Kummi,
the solver you refered solves my issues.


Many thanks
Paulo SPS is offline   Reply With Quote

Old   September 15, 2019, 14:48
Default
  #9
Member
 
Atul Kumar
Join Date: Dec 2015
Location: National Centre for Combustion Research and Development
Posts: 48
Rep Power: 10
atulkjoy is on a distinguished road
Quote:
Originally Posted by Paulo SPS View Post
Dear Kummi,
the solver you refered solves my issues.


Many thanks

Hi I can help you out if you can elaborate things more
Kummi likes this.
atulkjoy is offline   Reply With Quote

Old   December 12, 2019, 11:57
Default
  #10
New Member
 
sante junior
Join Date: Oct 2016
Posts: 11
Rep Power: 9
sante is on a distinguished road
Greeting
I followed the thread of your exchanges. And one of the solvers caught my attention. It's biomassGasificationFoam.
I have a problem with this solver. When I launch it I have no problem with the evaporation reaction of water and the pyrolysis of biomass. But when I add the equations of gasification of the char and combustion of the char, the calculation crashes after a number of iterations.
And I would also like to work in a fixed-bed combustion furnace. Please, I need your help.

Sincerely!!!
sante is offline   Reply With Quote

Old   December 12, 2019, 19:49
Default
  #11
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 348
Rep Power: 11
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello Sante,
I have checked out now for few iterations. Both combustion and gasification works well for me in biomassGasificationFOAM.
char + O2 --> CO2 + ash &
char + CO2 --> 2CO + ash

I guess, there should be some problem with your installation or chemistry setup files. Not sure though.
Kummi is offline   Reply With Quote

Old   December 23, 2019, 06:10
Default
  #12
New Member
 
sante junior
Join Date: Oct 2016
Posts: 11
Rep Power: 9
sante is on a distinguished road
Quote:
Originally Posted by Kummi View Post
Hello Sante,
I have checked out now for few iterations. Both combustion and gasification works well for me in biomassGasificationFOAM.
char + O2 --> CO2 + ash &
char + CO2 --> 2CO + ash

I guess, there should be some problem with your installation or chemistry setup files. Not sure though.


hello Kummi.
I add the combustion and gasification equations below and I still have the same problem.
When installation no worries; I think these are the chemistry configuration files.
Here is an attachment that I receive via my terminal
Attached Images
File Type: jpg erreur.jpg (89.7 KB, 39 views)
sante is offline   Reply With Quote

Old   December 23, 2019, 07:46
Default
  #13
New Member
 
sante junior
Join Date: Oct 2016
Posts: 11
Rep Power: 9
sante is on a distinguished road
Dear Kummi, here is an example of my chemistryPorperties file and the 0 (zero) test case directory below:
Attached Files
File Type: gz chemistryProperties.tar.gz (1.4 KB, 22 views)
File Type: gz 0.tar.gz (1.7 KB, 18 views)
sante is offline   Reply With Quote

Old   December 23, 2019, 21:00
Default
  #14
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 348
Rep Power: 11
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello Sante,
I ran the solver with your chemistry properties attached above.
No issues with my solver.


Quote:
Courant Number mean: 0.25 max: 0.25
Time = 0.01

Evolving pyrolysis
diagonal: Solving for Ycharm, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for Yhumm, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for Yashm, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for Ycelm, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for Yhemm, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for Yligm, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for porosityF, Initial residual = 0, Final residual = 0, No Iterations 0
DICPCG: Solving for Ts, Initial residual = 1, Final residual = 1.74732e-07, No Iterations 7
pyrolysis min/max(T) = 300, 300

Pyrolysis:
Total gas mass produced [kg] = 1.74208e-14
Total solid mass lost [kg] = -1.69453e-14
Total pyrolysis gases [kg/s] = 0
Total heat release rate [J/s] = -5.02617e-05

Solving chemistry
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for Ux, Initial residual = 0.00225005, Final residual = 8.14106e-08, No Iterations 5
DILUPBiCG: Solving for Uy, Initial residual = 0.00221622, Final residual = 9.61385e-08, No Iterations 5
DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 4.81368e-08, No Iterations 9
DILUPBiCG: Solving for CH4, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for O2, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for CO2, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for H2O, Initial residual = 1, Final residual = 2.83018e-08, No Iterations 12
DILUPBiCG: Solving for CO, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for H2, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for hs, Initial residual = 1, Final residual = 2.25876e-08, No Iterations 13
T gas min/max = 299.994, 300.002
DICPCG: Solving for p_amb, Initial residual = 1, Final residual = 9.79283e-07, No Iterations 42
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.22971e-05, global = -1.22656e-05, cumulative = -1.22656e-05
DICPCG: Solving for p_amb, Initial residual = 0.0262937, Final residual = 9.48924e-08, No Iterations 39
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.23076e-05, global = -1.22714e-05, cumulative = -2.45371e-05
ExecutionTime = 0.41 s ClockTime = 1 s
As per your error stated in above image, it seems there is some problem in evolving the pyrolysis. Have you modified the source file? If so, try to run the default case (unmodified source codes) firstly, and gradually modify step by step to figure out the error in each module. If you got error in default case, then there should be some problem with installation.


BiomassGasificationFoam compiling issue
Check this link for the proper installation file
Thank you
Kummi is offline   Reply With Quote

Old   December 23, 2019, 21:21
Default
  #15
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 348
Rep Power: 11
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello Sante,
So it stops at 3039s. I didn't notice that before.
Quote:
I have a problem with this solver. When I launch it I have no problem with the evaporation reaction of water and the pyrolysis of biomass. But when I add the equations of gasification of the char and combustion of the char, the calculation crashes after a number of iterations. And I would also like to work in a fixed-bed combustion furnace. Please, I need your help.
As you stated above, I guess there is no problem with evaporation reaction of water and the pyrolysis of biomass, your solver is converging ?
Have you tried solving gasification alone with pyrolysis, is that works? and similarly for combustion. And so we can exactly find where the problem is -- with gasification or combustion !!

Guess, no issues with A and E values, higher order of reaction - 2, will that be an issue, should think. Have you tried with first order reaction and reduce time step further when Temp reaches around 800K - where both gasification and pyrolysis occurs.
We will discuss!!
Kummi is offline   Reply With Quote

Old   February 12, 2020, 12:52
Default
  #16
New Member
 
sante junior
Join Date: Oct 2016
Posts: 11
Rep Power: 9
sante is on a distinguished road
Hello Kummi
I've read your. And sorry for my long absence, I was a little unwell.
I'll consider your suggestions. I also noticed that combustion is not present in the default test case (constant/combustionProperties). Since this is the case, should we add the CH4 and O2 files in the 0(zero)??? directory?

Thank you for your suggestions!!!
sante is offline   Reply With Quote

Old   February 12, 2020, 13:10
Default
  #17
New Member
 
sante junior
Join Date: Oct 2016
Posts: 11
Rep Power: 9
sante is on a distinguished road
Please how to separate the columns of such a file:
Attached Files
File Type: zip T.zip (8.3 KB, 9 views)
sante is offline   Reply With Quote

Old   May 5, 2022, 06:55
Default
  #18
New Member
 
Snigdha
Join Date: Jun 2021
Posts: 5
Rep Power: 0
sniggy is on a distinguished road
  1. I am modeling a counter-current gas-solid packed bed. I am interested to model a heterogeneous reaction of Iron oxide reduction through Gas. But the reaction I am interested is a multi-step reaction. These are following:
Hematite + H2 = Magnetite + H2O
Magnetite + H2 = Wustite +H2O
Wustite + H2 = Fe + H2O
All these reactions go happen in every solid particle. I have already downloaded and performed the installation of BioMassGasificationFoam. I have added the reactionRates K for this reaction in the ReactionRate folder.Can you suggest what else I need to change in order to get these step reactions.
sniggy is offline   Reply With Quote

Old   May 5, 2022, 11:42
Default
  #19
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 348
Rep Power: 11
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello Snigdha,
Your information was too abstract to guide you. Have you come across this forum page:
Need suggestions about technical difficulties - Drying + Pyrolysis of coal particle
BiomassgasificationFoam is a reference solver. It's application is related to TGA. Feel free to share your thoughts.

Thank you

**------------------------**


Hello sante, I don't know how I missed your questions. Have you solved your problem ?
Thank you
Kummi is offline   Reply With Quote

Old   May 5, 2022, 14:05
Default
  #20
New Member
 
Snigdha
Join Date: Jun 2021
Posts: 5
Rep Power: 0
sniggy is on a distinguished road
Thanks Kumaresh for your quick reply. Actually I am not looking for any pyrolysis models of coal. I am interested in modeling iron ore reduction which happens in above mentioned step by step process. Its a solid gas reaction. Hence, I was assuming that biomassGasificationFoam will work for me. However, I am only interested in iron ore reduction model with heat transfer. Do you think bioMassGasificationFoam will be suitable for me? Is there any other in general solver which will be more suitable for my case? Thanks in advance.
sniggy 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
conjugate heat transfer in OpenFOAM skuznet OpenFOAM Running, Solving & CFD 99 March 16, 2017 05:07
Multiphase VOF simulation and also Solid Fluid Heat Trasfer gerardosrez Fluent Multiphase 0 November 11, 2014 14:31
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
Question: heat conduction in multiphase solid yueke FLUENT 0 May 27, 2009 23:09
catalytic reactions - solid species? Claud FLUENT 0 February 5, 2008 02:41


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