Faster simulations with rotating bodies using Boundary Interface Caching in Simcenter STAR-CCM+

Running simulations with rotating bodies typically involves the use of interfaces, along with a repeated process of interface intersection. The interface intersection process is a necessary evil, needed to establish an accurate connection between the separate regions for each time-step, and can sometimes be a noticeable bottleneck for rotating simulations. But since the release of Simcenter STAR-CCM+ 2502, there is now a way to improve the situation, with the introduction of Boundary Interface Caching.

How it works

Let’s start with establishing the prerequisites for using this new feature. First off, you must use Metrics-Based connectivity for the interface.

Picture1 1

Secondly, Boundary Interface Caching is available only for interfaces between stationary and rotating regions. Hence it will not work between rotating regions with different rotation rates.

Now, the way the feature works is that for the first full revolution of the rotating region(s), each intersection data is stored (i.e. cached) for every specific rotational angle. This means that for the upcoming revolutions, the stored intersection data can be reused, hence omitting the need for another interface intersection procedure. For the caching to work, the rotational angles must be periodically repeated for each revolution, meaning that you must choose the rotation rate and time-step so that the sequence of rotational angles recur.

The main functionality is enabled at the Interfaces top level as depicted below.

Picture2 1

Next, the feature must be enabled for individual interfaces. This allows for using caching for a selected number of interfaces (and not necessarily all).

Picture3

The full setup process is very well described in the Simcenter STAR-CCM+ User Guide with an easy-to-follow step-by-step instruction. The guide can be found here:

https://docs.sw.siemens.com/documentation/external/PL20250327063586548/en-US/userManual/starccmp_userguide_html/STARCCMP/GUID-9DE61460-0995-4385-A910-A581D2C22650.html?hl=caching%2Csliding%2Cinterfaces%2Crepeated%2Crotational%2Cangle

How it performs

The amount of speed-up that the Boundary Interface Caching can achieve is obviously dependent on how much of a bottleneck the intersection process really is. As an attempt to demonstrate the potential gain in simulation speed we will consider a simple example with a fan inside a cylindrical duct (pictured below).

Picture4

The fan is set to spin with 20 revolutions per second, with a chosen time-step size to match a 1 degree rotational offset. We let the case run for 0.1 second total simulated time, in order to allow for two full rotations: the first rotation for sampling, and the second rotation for utilizing the caching. The case is about 100’000 cells and is run on 5 cores.

Monitoring the Solver Elapsed Time per Time-Step we get a good overview of the time needed for each time-step throughout the two revolutions. As you can see in the plot below, there is a notable shift after 0.5 seconds of Physical Time, where the sampling is finalized and the solver starts using the cached intersection data. For this particular setup, the speed-up is around 15%.

Picture5 1

I hope this feature will come to use for your simulations with rotating bodies. As always, you are welcome to send in any questions or comments to support@volupe.com.

Author

profilbild volupe

Johan Bernander, M.Sc.

Scroll to Top