|
[Sponsors] |
[PostProcess] Qdot - related to Arrhenius-kinetics? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 17, 2021, 14:35 |
[PostProcess] Qdot - related to Arrhenius-kinetics?
|
#1 |
Senior Member
Alain Islas
Join Date: Nov 2019
Location: Mexico
Posts: 142
Rep Power: 7 |
Hello everyone
I am working my case with coalChemistryFoam, solving for some gas and particle reactions. I am interested in knowing what is the total heat release of my reactions (in Joules). OpenFOAM exports Qdot in units [J / (m^3 s)]. Hence, I assume I can simply perform: For the volume integral, I am using a volIntegrate operation in my controlDict. Code:
functions { volFieldValue1 { type volFieldValue; libs ("libfieldFunctionObjects.so"); log yes; writeControl timeStep; writeInterval 1; writeFields true; regionType cellZone; name FLUID_SPHERE; //<-- This is my whole domain operation volIntegrate; fields ( Qdot ); } Does anyone know if Im treating Qdot correctly? |
|
November 22, 2021, 10:32 |
dear alainislas
|
#2 |
New Member
wangh
Join Date: Jul 2020
Posts: 10
Rep Power: 6 |
Can you please tell me what the full command for Qdot is? I use "postProcess -func Qdot" but it gives me an error. Thank you very much!
|
|
December 2, 2021, 00:24 |
|
#3 |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10 |
You can do it with a post-processing command below. But it doesn't work properly. The results are all zero. I guess its a bug.
Code:
reactingFoam -postProcess -func Qdot Code:
functions { #includeFunc Qdot }
__________________
Charles L. |
|
December 2, 2021, 00:46 |
|
#4 |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10 |
If you want to get the total heat release rate, one way to obtain it without programming is to use integrateVariables and plotDataOverTime features of paraFoam or paraview. When you do integrate, don't turn on "Divide Cell Data by Volume". And you do plotDataOverTime, select "Cells" in Field Association. After you plot it out, you can "save data" to get the trace.
__________________
Charles L. |
|
Tags |
coalchemistryfoam, qdot, reacting |
|
|