In some cases, a boundary condition is sometimes needed which applies a diﬀerent underlying type — ﬁxed value or gradient — to diﬀerent components of a non-scalar ﬁeld.
The condition is most readily applied to velocity , where diﬀerent conditions are applied to its normal and tangential components to the patch, and respectively.
The direction mixed condition combines the mixed condition from Sec. 4.9 with the transform conditions of Sec. 4.11 . The mixed condition can be ﬁrst expressed in the form of a general transform condition Eq. (4.13 ) as
Imagine an example of at a face oriented with normal vector , for which the condition is ﬁxed gradient and is ﬁxed value. The value fraction must be 1 in the tangential direction and 0 in the normal direction, which gives:
The factor corresponds to . For a vector ﬁeld, it is calculated, as in the symmetry condition in Eq. (4.19 ), by
The condition is implemented using value and gradient factors according to the transform condition, summarised in the table on page 284 . Any boundary condition which is based on this direction mixed condition then only requires a description of the , and parameters.