|
[Sponsors] |
September 3, 2013, 21:41 |
A question about hEqn.H in reactingFoam
|
#1 |
Member
赵庆良
Join Date: Aug 2013
Posts: 56
Rep Power: 12 |
Hi Foamers:
There is a term of "chemistrySh" in energy equation in reactingFoam,I think it is reacting source term,but what the term represents ?Is there any theroy corresponging to "chemistrySh".I have no idea with the following codes: Info<< "Solving chemistry" << endl; chemistry.solve ( runTime.value() - runTime.deltaTValue(), runTime.deltaTValue() ); // turbulent time scale if (turbulentReaction) { tmp<volScalarField> tepsilon(turbulence->epsilon()); const volScalarField& epsilon = tepsilon(); tmp<volScalarField> tmuEff(turbulence->muEff()); const volScalarField& muEff = tmuEff(); tmp<volScalarField> ttc(chemistry.tc()); const volScalarField& tc = ttc(); forAll(epsilon, i) { if (epsilon[i] > 0) { // Chalmers PaSR model scalar tk = Cmix.value()*Foam::sqrt(muEff[i]/rho[i]/epsilon[i]); kappa[i] = (runTime.deltaTValue() + tc[i]) /(runTime.deltaTValue() + tc[i] + tk); } else { // Return to laminar combustion kappa[i] = 1.0; } } } else { kappa = 1.0; } chemistrySh = kappa*chemistry.Sh()(); } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about temperature calculation in reactingFoam?? | lfgmarc | OpenFOAM Programming & Development | 0 | December 27, 2011 21:55 |
one question about turbulence + Ueqn ? | lfgmarc | OpenFOAM Programming & Development | 0 | October 25, 2011 10:57 |
Constant Volume Combustion with reactingFoam | Alish1984 | OpenFOAM Running, Solving & CFD | 2 | May 8, 2011 08:51 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 15:26 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 04:37 |