4.2 Fixed value and fixed gradient

In an equation for eqn that is discretised to form a matrix equation eqn, there are two terms that include properties interpolated to faces:

  • an advection term of the form eqn which is discretised by Eq. (3.8 ) in extensive form (see Sec. 3.5 ) as eqn;
  • a Laplacian term of the form eqn which is discretised by Eq. (3.2 ) in extensive form as eqn.

The advection term requires the value eqn and Laplacian term requires the surface normal gradient eqn at faces. When a face is part of a boundary patch, any gradient eqn and/or value eqn must be specified through boundary conditions.

The fixed value, or Dirichlet condition,1 is the first type of boundary condition, where the boundary value eqn is specified. For example, at an inlet patch, we might specify a temperature eqn K of the fluid flowing into the domain.

The fixed gradient, or Neumann condition,2 is the second type, in which the gradient normal to the boundary eqn is specified (where eqn). In many cases, the applied normal gradient is zero, which is a common condition applied to many fields, including eqn, at an outlet patch, i.e. where the fluid flows out of the domain.

PICT\relax \special {t4ht=

When an advection term is discretised, a fixed value condition is applied by substituting the face value eqn with the patch value eqn, i.e. setting eqn. When a fixed gradient eqn is specified, the face value is expressed as follows, where eqn is the value in the cell adjacent to each face:

 r f = P + --n--b: C \relax \special {t4ht=
(4.2)
When a Laplacian term is discretised, a fixed gradient boundary condition is applied by substituting the face normal gradient eqn with the patch face normal gradient eqn, i.e. setting eqn. When a fixed value eqn is specified, the face normal gradient is expressed by
rn f = C ( b P): \relax \special {t4ht=
(4.3)

1Peter Dirichlet, Über einen neuen Ausdruck zur Bestimmung der Dictigkeit einerunendlich dünnen Kugelschale, wenn der Werth des Potentials derselben in jedem Punkte ihrer Oberfläche gegeben ist, 1850.
2after Carl Neumann 1832-1925.

Notes on CFD: General Principles - 4.2 Fixed value and fixed gradient