In general, finite difference derivative and average operators
don't commute unless the grid resolution is constant.
Assuming that
is defined at grid points within T-cells,
then the above condition is illustrated by the following
| (21.9) |
How is a term like
evaluated? It can
be expanded from the inside out as
| = | ![]() |
||
| = | ![]() |
||
| = | ![]() |
(21.10) |
or from the outside in as
Both results are equal. Now expand the following:
Equation (21.12) is only equal to Equation (21.11) when
| dxti+1 = dxui = dxui+1 | (21.13) |
Also, it is worth remembering that the results of operators are
displaced by the distance of a half cell width. For example, the
single operator
results in a quantity defined
on the eastern face21.1 of cell and the double operator
results in a quantity defined at the
grid point within
Ti+1,k,j. These results easily extend to two and
three dimensions. Mixed double operators such as
results in a quantity defined
on the grid point within cell .