Faster geometry creation in Simcenter STAR-CCM+

In short

3D-CAD in Simcenter STAR-CCM+ has solid primitives for a quick block, cone, cylinder or sphere without a sketch, and Create Bounding Bodies to enclose geometry in a fluid volume. In the main tree, the bounded-shape Boolean adds inflation or offsets, for example a box 50 % larger than the part.

Did you know that Simcenter STAR-CCM+ has some built-in predefined geometrical shapes that you can use to jump start your simulation? In this blog post we will highlight some of these quick steps for geometry creation to help you become even more efficient in the software.

Quick geometry creation in 3D-CAD

As most readers are probably aware at this point, the 3D-CAD module in Simcenter STAR-CCM+ allows you to either import or sketch and build geometry from scratch, much similar to any given CAD software. But sometimes you just want to create something very simple and standardized, and then there is a shortcut. Let us present the Solid Primitives. Found by right-clicking the Features folder in the CAD tree, the Solid Primitive selection allows you to quickly create a block, a cone, a cylinder or a sphere instantly, without the need for a sketch and any following geometrical operation.

Features > Solid Primitive context menu in 3D-CAD with Block, Cone, Cylinder and Sphere

Let’s look at an example where we create a block. Either we know exactly what length, width, height and position we want our block to have and then we can simply state our dimensions in the input fields (seen in the upper left corner of the picture below). Alternatively, we can just push and pull the arrows in the scene, to create a more arbitrary shape of our liking.

Create Block panel in 3D-CAD with length, width, height and base centre inputs, and the block with drag arrows

Another useful feature to know about is the Create Bounding Bodies operation. Many times, creating a fluid volume is a matter of creating a void from the CAD solids in a surrounding volume. In a case where this surrounding fluid is not well defined, a simple way to make sure we enclose all our solids is to use the Create Bounding Bodies feature. Let’s take a look at an example with our beloved rubber duck.

Rubber duck CAD model in 3D-CAD used for the bounding body example

Let’s assume we want to enclose the duck with a fluid volume. We could of course create a solid primitive, but let’s say we would want the enclosing fluid to snap to the extents of the rubber duck. Then we can use the Create Bounding Bodies feature instead, found inside the Body Features (or Body Group Features), as seen below.

Body context menu in 3D-CAD with Create Bounding Bodies highlighted below the rubber duck

There are some alternatives to consider when using this feature, as depicted below. First, we obviously need to select what bodies we want to enclose (1). Next, we have the option to create either a bounding block, or a bounding cylinder (2). Next, we can choose whether to create a bounding body for each input body, or a single bounding body to enclose all in one (3). And finally, we can select whether we want to keep the ingoing bodies or let them merge with the bounding bodies (4).

Bounding Bodies panel with options 1 to 4 marked and one bounding block previewed per duck body

The picture above shows a preview of the option with bounding bodies for each ingoing body. Below is a depiction of an example with a single bounding body for every ingoing body instead.

Bounding Bodies preview with a single block enclosing all duck bodies and Keep Selected Bodies ticked

The resulting domain for such an operation would look like this, where you can see that the box extent coincides with the maximum coordinates of the rubber duck in each direction. From this point, we could for example use an Extend Solid operation to expand the bounding box further away from the duck.

Resulting bounding block in 3D-CAD fitted to the extents of the rubber duck

Quick geometry creation in STAR-CCM+ main GUI

Inside the STAR-CCM+ main GUI you have similar possibilities as above. To quickly create predefined geometries, you can right-click the Parts folder inside the Geometry node and select New Shape Part. Similar to Solid Primitives in 3D-CAD, you here have the possibility to create a block, a cone, a cylinder or a sphere.

Geometry > Parts > New Shape Part menu with Block, Cone, Cylinder and Sphere

Looking at an example for a new cylinder, the input dialogue window would look like below:

Create Cylinder Part dialog with start and end coordinates, cylinder radius and tessellation density

The creation could also be a bit more interactive in case you would have a scene open when creating the shape part. That would instead give you an input dialogue similar to this:

Interactive Create Cylinder Part panel with the cylinder previewed in the scene

Creating bounding bodies is possible also in the STAR-CCM+ main GUI. In this case it is treated as a Boolean operation and can therefore be found inside the geometry operations folder, as depicted below.

Operations > New > Boolean > Bounded Shape menu in the simulation tree

In this example, we want to create a bounding shape around our rubber duck again, which we have imported as a part. The dialogue window would then look like this:

Create Bounded Shape Operation dialog with the rubber_duck part selected

Now, we could have had several ingoing parts (similar to before), and then we would have had the option to create a bounding shape for each individual part, just as in 3D-CAD. But in this case we will create just one bounding shape since we treat the entire duck as one part.

Bounded Shape properties with Output Parts Creation Mode set to Single Bounded Shape

Similar to 3D-CAD, there are also a few options when it comes to the shape of the bounding body, see below.

Bounded Shape Output Part Type options: Axis Aligned Box, Sphere, Cylinder and Shape Aligned Box

Now we can execute the operation and get a bounding box similar to the one in 3D-CAD:

Axis aligned bounding box from the Bounded Shape operation around the rubber duck

Worth mentioning is that the Bounded shape Boolean operation in the main GUI has some additional controls that can come in handy as well, see below.

Bounded Shape Controls: Source Part Surfaces, Inflation Control and Centroid Offset

For example, using the Inflation Control, you can instantly scale the enclosing body directly inside the Boolean operation. Let’s say we want to make the bounding box 50% larger than the extents of the rubber duck, then we simply put a factor of 1.5 in the Inflation Control like below.

Inflation Control with Constant Factor set to 1.5 for the Bounded Shape

This would then give us a bounding shape that looks like this instead:

Bounding box around the rubber duck enlarged by an inflation factor of 1.5

You could also use specified offsets (rather than scale factors) and also enlarge the bounding shape differently in different directions.

Inflation options: Constant Factor, Individual Factors, Constant Offset and Individual Offsets

I hope these features can come in handy when preparing your geometries in Simcenter STAR-CCM+. As always, you are welcome to send in any questions to support@volupe.com.

Working with Simcenter STAR-CCM+?

More Simcenter STAR-CCM+ articles

All 255 Simcenter STAR-CCM+ articles

Johan Bernander and seven other application specialists write here.

Loading

We use your address only to send these emails and never pass it to Siemens or other partners. Every email has an unsubscribe link. Privacy policy