Use model.component(<ctag>).mesh(<tag>).feature(<ftag>).create(<ftag1>,"BndLayerProp") to define boundary layer properties for the
BndLayer feature
<ftag>.
Use model.component(<ctag>).mesh(<tag>).feature(<ftag>).feature(<ftag1>).selection() to specify the boundary selection. If you do not specify the selection, it is empty.
Use the properties blhmin,
blstretch, and
blnlayers to specify the distribution of the boundary layers.
blhmin specifies the thickness of the initial boundary layer,
blstretch a stretching factor, and
blnlayers the number of boundary layers. This means that the thickness of the
mth boundary layer (
m=1 to
blnlayers) is
blstretch(m−1)blhmin. The number of boundary layers and the thickness of the boundary layers might be automatically reduced in thin regions.
It is also possible to specify the thickness of the initial layer by using the blhminfact property. Then, the thickness of the first layer is 1/20 of the local domain element height. Use the
blhminfact property to specify a scaling factor that multiplies this default size.
The property inittype determines which of
blhminfact or
blhmin that is used. You do not need to set it explicitly because the feature automatically changes it when you set one of
blhmin or
blhminfact.
The values of blhmin,
blhminfact, and
blstretch are positive real scalars, or strings that evaluate to positive real scalars, given the evaluation context provided by the property
const.
The value of blnlayers is a positive integer scalar, or a string that evaluates to a positive integer, given the evaluation context provided by the property
const.