OpenFOAM guide/LduMatrix;;faceH

From OpenFOAMWiki
< OpenFOAM guide
Revision as of 19:21, 30 June 2010 by Marupio (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A function built into the matrix to facilitate implementation of the H operator. Used by fvMatrix;;flux.

for (register label face=0; face<l.size(); face++)
{
    faceHpsi[face] = Upper[face]*psi[u[face]]
        - Lower[face]*psi[l[face]];
}

\mathbf{H}_f \left ( \boldsymbol \psi \right ) =
A_n \boldsymbol \psi_n - A_o \boldsymbol \psi_o

Where: