1 Chapter 1: Tensor mathematics

1.1 Section 1.2: Tensors

As reported in the bug report #1068, there are a couple of references to OpenFOAM 1.x, which is likely an old reference to the original FOAM 2.x version. Feel free to compare to the old documentation at Nabla: the old Programmer's Guide, section 1.2 Tensors.

Either way, feel free to disregard the 1.x reference, since its objective is reflect that tensors as a mathematical entity, are only partially implemented in OpenFOAM.

1.2 Section 1.4: OpenFOAM tensor classes

1.2.1 Subsection 1.4.1: Algebraic tensor operations in OpenFOAM

Valid versions:

In Table 1.2: Algebraic tensor operations in OpenFOAM, the following entries need fixing:

Operation

Description in OpenFOAM(wrong)

Description in OpenFOAM(correct)

Component maximum

max(a)

cmptMax(a)

Component minimum

min(a)

cmptMin(a)

Scale

scale(a,b)

cmptMultiply(a,b)

2 Chapter 2: Discretisation procedures

2.1 Section 2.1: Differential operators

2.1.1 Subsection 2.1.2: Divergence

Valid versions:

(Note: Already fixed in )

The documented divergence operator for tensors is incorrect:

It should be:

2.2 Section 2.4: Equation discretisation

2.2.1 Subsection 2.4.6: Gradient

Valid versions:

All references to timeScheme should be either gradSchemes or snGradSchemes[1].

The indication of [Check**] implies that this subsection needs to be revised.

2.2.2 Subsection 2.6.1: Physical boundary conditions

Valid versions:

The indication of [Check**] implies that this subsection needs to be revised.

3 Chapter 3: Examples of the use of OpenFOAM

4 Chapter 4: Programming techniques

5 Known forum threads on this topic

This is a unordered list of links to threads about typos and errors in the Programmer's Guide that have been found by the community: