CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Custom surface reaction solver with reactingParcelFoam doesn'd execute (https://www.cfd-online.com/Forums/openfoam-programming-development/232533-custom-surface-reaction-solver-reactingparcelfoam-doesnd-execute.html)

MetEng December 17, 2020 18:42

Custom surface reaction solver with reactingParcelFoam doesn'd execute
 
1 Attachment(s)
Hello,


I am trying to model gas-solids reactions using a customized surface reaction model with reactingParcelFoam. am able to sucessfully compile the solver with the model and run the solver but the solver doesn't seem to execute the surface reaction script.

It properly loads the particle composition and calculates the gas and particle motion without issue. To check that the script was being executed i put in a print out statement to output 'fcomb' the fraction of the particles in my solids that are available to react with oxygen but it does not output anything so i suspect the surface reaction model is not being executed by reactingParcelFoam.


do i need to edit the reactingParcel solver so that it will run a surface reaction model? i am a little confused looking through the API because under the lagrangian section there is reactingparcel and reactingmultiphaseparcel.. is there a specific flag somewhere i need to setup in my solution to execute the script?


any help would be appreciated. see attached for the output from the solver.


Thanks

Update: I have solved this issue by changing to the coalChemistryFoam solver which executes the script properly.


All times are GMT -4. The time now is 20:25.