understanding the term: fvm::Sp(fvc::div(phi), h)
when having a closer look at the energy equation as it is used by solvers for reacting cases, I cannot figure out where the term
- fvm::Sp(fvc::div(phi), h)
comes from. All I could find out is that it is a source term of some kind but when I try to derive an energy equation for enthalpy I do not get such a source term.
Could anybody please enlighten me? :-)
Thanks in advance!
I know this is an old thread, but I'm sure others run into it and have the same question. The origin of this term Sp(div(phi),h) comes from the expansion of the div(U,h) term in the transport equation.
div(U,h) = h*div(U) + U&grad(h).
In a completely converged domain the div(U) -> 0.
However, sometimes there is incomplete convergence and there is some generation (or consumption) that will throw off the energy balance. Have a look at
for maybe a little explanation.
Hi Dan, you mentioned that
again... about the div U =0... 'cause it's obviously correct in the simple single-phase incompressible flow.
However if it comes to two phase flow, where there is a phase change term on RHS of eq. for instance in alphaEqn.H, it looks like
|All times are GMT -4. The time now is 09:51.|