%H_linear%
linear smoothing length distribution with respect to a plane
Form a plane. On one side, the smoothing length is constant. On the other side, the smoothing length linearly grows.
H_min: Minimum smoothing length on the given plane
L_min: Distance in normal direction within which H is kept at the value of H_min (positive value). If set to zero, linear growth starts at the plane.
(
normal_x,
normal_y,
normal_z): Vector perpendicular to the plane. The norm of the vector gives dH/dr, i.e. the growth rate of H when tending apart from the plane.
H_max: maximum smoothing length
Linear growth on both sides
One can specify a region of constant smoothing length and linear growth on both sides of the plane via optional parameters:
SMOOTH_LENGTH(
$SLflag$) = (
%H_linear%, H_min, L_min, normal_x, normal_y, normal_z, H_max,
OPTIONAL:L_min_neg ,
OPTIONAL:dHdr_neg )
L_min_neg: Distance in negative normal direction within which the smoothing length is kept constant. If set to zero, linear growth starts at the plane.
dHdr_neg: Growth rate in negative normal direction and for distances larger than L_min_neg. If not specified, the same value is used as on the other side of the plane, i.e. the norm of (normal_x, normal_y, normal_z).
Note: H_max also applies in negative normal direction.