Difference between revisions of "OpenFOAM guide/Owner and neighbour indices"
From OpenFOAMWiki
m (moved Owner and neighbour indices to OpenFOAM guide/Owner and neighbour indices: Prevent name collisions) |
m (→face fields) |
||
Line 8: | Line 8: | ||
Where: | Where: | ||
* ''A<sub>o</sub>'' is the face ''owner'' (i.e. the volume cell designated as ''owner'' by the mesh); | * ''A<sub>o</sub>'' is the face ''owner'' (i.e. the volume cell designated as ''owner'' by the mesh); | ||
− | * ''A<sub> | + | * ''A<sub>n</sub>'' is the face ''neighbour'' (i.e. the volume cell designated as ''neighbour'' by the mesh); and |
* <math>\boldsymbol \Psi_f</math> is a face field. | * <math>\boldsymbol \Psi_f</math> is a face field. | ||
Latest revision as of 07:49, 3 November 2010
Owner and neighbour indices are a shorthand notation.
1 face fields
For equations involving a face field, the owner and neighbour indices are:
Where:
- Ao is the face owner (i.e. the volume cell designated as owner by the mesh);
- An is the face neighbour (i.e. the volume cell designated as neighbour by the mesh); and
- is a face field.
For example, the main equation in lduMatrix;;faceH is:
2 volume fields
For equations involving a volume field, the owner and neighbour indices are given by:
Where:
- A are matrix coefficients; and
- o and n are the owner and neighbour indices.
For example, the main equation in lduMatrix;;negSumDiag is:
See also: