How to run cold flow in reactingFoam?
Hello all,
I have just started using OpenFoam for my dissertation on jet flame calculations. I am trying to simulate axisymmetric cold flow in reactingFoam. I switched off chemistry and reactions in the "constants" folder to simulate cold flow. Is that the correct way to go about doing it ? Also even if I switch off my chemistry, i still have default product species H2O and CO2 as output files. Why is that? Would really appreciate any help. Thanks :) |
Greetings Harshad
I really didn't get what is exactly your problem. You have switched off the combustion and want to get rid off CO2 and H2O species in results?? (why does it matter):confused: I think you have used one-step reaction in your case i.e. sth like this: Code:
species Regards Bobi |
Thanks Bobi!, appreciate your help :)
I didnt check the CO2 and H2O species files. I was just confused about why they were output when I was solving a cold flow solution. Can you also let me know how is the perfect gas equation of state used in a combustion solver in OpenFoam? I am assuming that since reactingFoam is a compressible solver, rho would be obtained from the continuity, velocity from the momentum equations and pressure, temperature from a laplacian and the enthalpy respectively. How is the equation of state used then? |
Greetings Harshad
There is a difference between rhoReactingFoam and reactingFoam solvers. In reactingFoam, rho equation is not solved (although it uses compressible LES sub-grid scale models) and the density is computed from the equation of state. However, in rhoReactingFoam rho equation is solved. (take a look at their src solvers i.e. reactingFoam.C and rhoReactingFoam.C ) Regards Bobi |
Quote:
From what I see, in both solvers the actual equation is included in the source code (in the .C files, as well as in the respective pEqn.H files): Code:
#include "rhoEqn.H" -Armin |
Why can't I see the velocity residuals in my log file?
Hello,
I am running a simulation using reactingFoam. There is an inlet of fuel and an inlet of air. After running everything ok, I can't see the velocity residuals in my log file. Why? Code:
Courant Number mean: 0.0774694 max: 0.394132 Regards, Lisandro |
I have done something similar, I could not understand why rho's residual is always 0.
Ayush |
All times are GMT -4. The time now is 17:08. |