Dear developers,
I want to monitor the heat of chemical reaction, but I’m not sure whether I operate correctly.
Firstly, I added a few lines of code to :“use discretelement, only: des_usr_var” "des_usr_var(3,NP) = RXNS_Qs(NP) " ;
Second, I checked “Enable user scalar tracking” in mfix-22.3.1;
Finally, I monitored DES user scalar 1 of the particles in the monitor plane.
In addition, I don’t know what means of “fraction assigned to fluid or solid” and how to determine their values.
Thank you, and Happy New Year!
When you specify the HoR, you need to define how much of it goes to each phase. The value is either given to you (along with the HoR value), or you need to calibrate it.
Do the monitor values seem reasonable? My recommendation is to always start with a simple test case to verify the implementation.
The MFiX “monitor” facility alllows monitoring of reaction rates but not heat of reaction.
We may add this in a future release, since it would be useful to have.
In the meanwhile you could add some print statements to the code.
You are saving the data in index 3 of the array des_usr_var(3,NP) but you only allocated one slot. This should have crashed. You should save it into slot 1 des_usr_var(1,NP) = RXNS_Qs(NP)