|
[Sponsors] |
How to add Arrhenius Reaction Rate to energy equation? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 3, 2017, 15:10 |
How to add Arrhenius Reaction Rate to energy equation?
|
#1 |
New Member
Join Date: Sep 2012
Posts: 23
Rep Power: 14 |
Hi All
I want to modify the below EEqn.H in order to add Arrhenius Reaction Rate to it. I am wondering whether I need to call it or add its equation separately to the file? Current EEqn: Code:
{ volScalarField& he = thermo.he(); fvScalarMatrix EEqn ( fvm::ddt(rho, he) + mvConvection->fvmDiv(phi, he) + fvc::ddt(rho, K) + fvc::div(phi, K) + ( he.name() == "e" ? fvc::div ( fvc::absolute(phi/fvc::interpolate(rho), U), p, "div(phiv,p)" ) : -dpdt ) - fvm::laplacian(turbulence->alphaEff(), he) // - fvm::laplacian(turbulence->muEff(), he) // unit lewis no. == reaction->Sh() + fvOptions(rho, he) ); EEqn.relax(); fvOptions.constrain(EEqn); EEqn.solve(); fvOptions.correct(he); thermo.correct(); Info<< "min/max(T) = " << min(T).value() << ", " << max(T).value() << endl; } Code:
∂(ρE)/∂t + ∂[u(ρE + p)]/∂x + ∂[v(ρE + p)]/∂y = ∂(uσxx + vσxy − qx)/∂x + ∂(vσyy + uσyx − qy)/∂y + qω ω == Arrhenius Reaction Rate |
|
January 3, 2017, 15:14 |
|
#2 |
New Member
Join Date: Sep 2012
Posts: 23
Rep Power: 14 |
Arrhenius Reaction Rate is available at :
src/thermophysicalModels/specie/reaction/reactionRate/ArrheniusReactionRate/ |
|
March 23, 2022, 08:34 |
|
#3 |
New Member
shengnan li
Join Date: Oct 2021
Posts: 6
Rep Power: 5 |
Excuse me, have you added it successfully? I have also encountered the same problem. Could you please share it (leeseungnan@163.com)
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
Porous Modeling of Energy equation in OpenFOAM | mohammad_kordo | OpenFOAM Running, Solving & CFD | 9 | November 22, 2020 08:18 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |
Segmentation fault in running alternateSteadyReactingFoam,why? | NewKid | OpenFOAM | 18 | January 20, 2011 17:55 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |