Correct orientation of boundary normals is essential for accurate SPH
simulations, as it directly influences the boundary-normal solution quantities.
In SPH flow, fluid particles consider
boundary conditions only on the positive side of a boundary. For closed surfaces, the
positive side is facing outwards by default. In case surfaces lack a clear
inside/outside definition, for example a flat surface, you examine the normal directions
in a vector scene to determine if the normals are accurate or require reversing. If
required, you can reverse the orientation of the normals for individual boundaries by
using part subgroups.
To orient boundary face normals:
-
Click (Initialize Solution).
-
Create a vector scene to visualize the face normals.
-
Select the node and set Parts to the boundaries for which you want to
assess the orientation of the normals.
-
Select the node and set Function to Normal.
-
Examine the normals.
-
Select the node and activate Reverse
Orientation.
You can reverse the orientation of individual boundaries in
the same surface region by using per-part for the subgroup that contains the parts
of interest.
-
If you want to reverse the orientation for an individual boundary do the
following:
-
Right-click the node activate Allow Per-Part
Values
-
Right-click the node and create a new subgroup.
-
Select the node and set Objects to the part for which
you want to reverse the orientation.
-
Select the node and activate Specify by Part
Subgroup.
-
Select the node and activate Reverse
Orientation.
The following image shows the orientation of the boundary
normal vectors of a cylinder geometry before and after reversing their
orientation:
Normals Before
Reversing the Orientation (Default) |
Normals After
Reversing the Orientation |
|
|
By default, the surface normals are oriented inward for closed geometry parts,
that is, the positive side of a boundary is facing outwards. SPH particles interact with
a boundary only on the positive side. Therefore, for external flow around a closed
geometry part, the default orientation is correct. However, for internal flow within the
geometry part, the default orientation is incorrect and must be reversed.