Difference between revisions of "OpenFOAM guide/LduMatrix;;faceH"
From OpenFOAMWiki
(Created page with '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++) { fac…') |
m (moved LduMatrix;;faceH to OpenFOAM guide/LduMatrix;;faceH) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | A function built into the matrix to facilitate implementation of the [[H operator]]. Used by [[fvMatrix | + | 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++) | for (register label face=0; face<l.size(); face++) | ||
Line 10: | Line 10: | ||
A_n \boldsymbol \psi_n - A_o \boldsymbol \psi_o</math> | A_n \boldsymbol \psi_n - A_o \boldsymbol \psi_o</math> | ||
− | + | Where: | |
+ | * ''A'' are [[matrix coefficients]]; | ||
+ | * ''o'' and ''n'' are the [[owner and neighbour indices]]; and | ||
* f is a face index. | * f is a face index. | ||
[[Category:OpenFOAM coding guide]] | [[Category:OpenFOAM coding guide]] |
Latest revision as of 19:21, 30 June 2010
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]]; }
Where:
- A are matrix coefficients;
- o and n are the owner and neighbour indices; and
- f is a face index.