CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Questions concerning reactingFoam (http://www.cfd-online.com/Forums/openfoam-programming-development/122871-questions-concerning-reactingfoam.html)

gregor August 30, 2013 03:38

Questions concerning reactingFoam
 
Hi,

i have some questions about mass conservation with reactingFoam solvers:

1. could someone please enlighten why the difference between rho and thermo.rho() can be used to calculate the continuity errors ? E.g. in the compressibleContinuityErrs.H

Code:

scalar sumLocalContErr =
      (fvc::domainIntegrate(mag(rho - thermo.rho()))/totalMass).value();

2. What is the purpose/difference between reactingFoam and rhoReactingFoam ?


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