Generating the Particles for SPH

You specify the particle size and the initial fluid volume to define the set of particles. The total number of particles in the system is computed by the solver based on the initial fluid volume and particle size.

SPH approach discretizes the fluid domain as a finite number of particles which represent elementary volumes of fluid. These particles interact with the triangulated surfaces of the geometry.

The initial fluid volume is determined by associating it with a specified part. You can use either parts that you import, or you can create them directly in Simcenter STAR-CCM+ (Preparing the Geometry).

You define the particle base size according to the characteristic length of the simulating flow and the required resolution for geometry details to ensure an accurate representation of the flow while avoiding an excessive particle count.

To generate the particles for SPH:
  1. Select the Regions > [surface region] > Physics Values > Particle Base Size node and set the Value to the required disretization length.
  2. Select the Physics Conditions > Particle Generation node and, using the (Custom Editor), set Parts to the geometry part that represents the initial shape and position of the liquid.

If you observe strong pressure oscillations or particles leaking through the wall at the beginning of the simulation, the SPH model allows you to set a grid offset or boundary distance ratio to adjust the initialization distance between the liquid and the surface of the geometry part that is used to define the initial liquid shape and position.

  1. If you want to adjust the grid offset or minimum distance ratio of the particles in relation to the geometry part surface, select the Physics Conditions > Particle Generation node and set the following properties:
    • Boundary Distance Ratio— the initial minimum distance ratio between the particle center and the boundary surface of the geometry part that is used to define the initial liquid shape.
    • Grid Offset Ratio—the offset ration between the particle center and the origin of the fluid initialization.

    For more information, see Particle Generation.