Preparing the Geometry for SPH
The first step in SPH flow simulations consists of preparing the geometry and subsequently associating the geometry parts with their respective surface regions.
- The geometry parts and their surfaces that describe the boundaries in the simulation. For an SPH simulation, you are not required to import or create closed and error-free surfaces as a starting point for discretization.
- You define the initial shape and position of the liquid by using geometry parts. For these geometry parts, you are required to import or create closed and error-free surfaces.
- In cases where you use position-based particle removal, you create a Bounded Shape geometry part that encloses the geometry parts that describe the boundaries. Particles that cross the surfaces of this geometry part are removed automatically from the simulation. For more information, see Removing and Redistributing Particles.
A surface region represents the domain for a Smoothed-Particle Hydrodynamics (SPH) multiphase simulation. Although each geometry in SPH flow has an initial triangulation, specific (complex) surfaces may need remeshing before running an analysis to ensure an optimal solution on the surface.
-
Define the bodies and surfaces of the geometry that represent the actual
boundaries in the domain:
To define the initial shape and position of the liquid, you create a geometry part. You define this geometry part such that it conforms to the wall boundaries.
You can use boolean operations to adapt the geometry.
-
For example, one way to create the geometry part that defines the initial shape
and position of the liquid:
Refer to Generating the Particles for SPH for how to initialize the liquid within the created geometry part.
-
Create a Bounded Shape geometry part to use with position-based particle
removal:
- Right-click the node and select .
- In the Create Bounded Shape Operations dialog, select the geometry parts that the bounded shape is meant to enclose, then click OK.
- Right-click the Execute. node and select
You do not assign the bounding box to the surface region for analysis, as this specific part is only used for the Particle Remediation model.
The surface mesh is used when computing boundary values. When you analyze forces and moments the surface mesh must not be 5 times smaller than the particle size to ensure that there are ghost particles within each surface cell.
- If you want to remesh the initial surface for any complex surfaces, you use a Surface Remesher automated mesh operation and select the parts that you want to remesh. For guidelines on setting up the surface mesh, see Surface Remesher Reference.