Modeling Smoothed-Particle Hydrodynamics Flow
The Smoothed-Particle Hydrodynamics model is a Lagrangian approach that represents the fluid as a collection of particles with inherent material properties that move with the fluid. You use the SPH model to simulate highly dynamic free-surface flows.
For simulations with the
Smoothed-Particle Hydrodynamics (SPH) multiphase model, Simcenter STAR-CCM+ requires a sphflow
license in addition to
the other license features. See also Simcenter STAR-CCM+ 许可.
The SPH model uses an Incompressible Flow (ISPH) physics model for solving the conservation equations for SPH multiphase simulations. You can model particles that are distributed and carried freely in the computational domain by defining a fluid phase. Smoothed-particle hydrodynamics multiphase solver uses a pressure-velocity segregated approach to maintain mass conservation within the velocity field.
For an example workflow with Smoothed-Particle Hydrodynamics (SPH), see the Smoothed-Particle Hydrodynamics (SPH): Gearbox Lubrication tutorial.
To set up a Smoothed-Particle Hydrodynamics (SPH) flow simulation:- Prepare the required geometry and surface regions as appropriate to your simulation.
-
Select the physics continuum models:
- If you want to prevent numerical pressure oscillations and enhance the overall accuracy and stability of the simulation, select the node and specify the stabilizations properties to smooth the free surface and pressure.
-
Define the liquid phase:
-
To specify the initial conditions, select the Initial
Conditions node and specify the Velocity
and Pressure values.
See Initial Conditions.
- Specify the wall boundary conditions and values for the surface region.
-
To set up adaptive time-stepping, right-click the
node and select the following:
- Convective CFL—you are advised to always select this time-step provider.
- Gravity CFL—you are advised to always select this time-step provider.
- Viscous CFL—you are advised to add this time-step provider when using explicit time integration for the velocity solver.
-
Discretize the fluid by generating particles within the geometry part that
defines the initial shape and position of the fluid.
See 生成 SPH 颗粒.
- (Optional) Reverse the orientation of the boundary surfaces. Fluid particles consider a boundary condition only on the positive side of a boundary. For closed surfaces, the positive side is facing outwards by default. Depending on whether you want to simulate internal or external flow, you are required to reverse the orientation of the boundary surface normals.
-
If you want to include rotating parts in your simulation, select the
node and specify the direct rotating motion values.If there are more parts assigned to the same region, you can subgroup the parts, and then define a rotation for each subgroup. See Defining Direct Motion Rotation.
-
Set up any reports, monitors, plots, and scenes that you require to prepare for
post-processing.
For example, to determine the forces or torque exerted by the fluid on a boundary, you can create a monitor and plot the Force or Moment reports.
-
Set the solver parameters and stopping criteria, then run the simulation.
In assessing the convergence of SPH flow simulations, the residuals as an initial indicator highlight discrepancies in the monitored field variations. Additionally, it is essential to check that particles satisfy the wall conditions (minimal or no boundary crossing). To ensure result accuracy, a convergence study with multiple discretizations is also recommended.If necessary, you can enhance the convergence of the simulation by modifying the SPH flow solver numerical properties.
See 平滑颗粒流体动力学求解器参考.