4.14 Direction mixed condition
In some cases, a boundary condition is sometimes needed which applies a different underlying type — fixed value or gradient — to different components of a non-scalar field.
The condition is most readily applied to velocity , where different 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 first expressed in the form of a general transform condition Eq. (4.13 ) as
|
(4.22) |
|
(4.23) |
Imagine an example of at a face oriented with normal vector , for which the condition is fixed gradient and is fixed value. The value fraction must be 1 in the tangential direction and 0 in the normal direction, which gives:
|
(4.24) |
The factor corresponds to . For a vector field, it is calculated, as in the symmetry condition in Eq. (4.19 ), by
|
(4.25) |
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.