Professional Documents
Culture Documents
StarCCM Tutorial PDF
StarCCM Tutorial PDF
Introduction
Version 7.06
STAR-CCM+ User Guide Starting a STAR-CCM+ Simulation 6923
Defining the models in the continua and applying them to the regions.
Defining the region conditions, values, and boundary conditions.
Running the simulation.
Post-processing the results.
After a brief display of the splash screen, the STAR-CCM+ client workspace
opens without loading an existing simulation or creating a simulation. This
interface to the STAR-CCM+ software is a self-contained graphical user
interface (GUI) with panes and subwindows. Some of the GUI terminology
is shown in the following screenshot.
Version 7.06
STAR-CCM+ User Guide Starting a STAR-CCM+ Simulation 6924
The menu bar provides access to application-wide actions, with some of the
more important actions being duplicated in the toolbar.
Let the mouse hover over any of the buttons in the toolbar.
Creating a Simulation
Start a simulation by selecting File > New Simulation from the menu bar.
Version 7.06
STAR-CCM+ User Guide Starting a STAR-CCM+ Simulation 6925
Ticking the Remote Server checkbox allows you to start the server process on
another machine. The client and server can run on machines of different
architectures. The server can also run in parallel mode.
Version 7.06
STAR-CCM+ User Guide Starting a STAR-CCM+ Simulation 6926
Version 7.06
STAR-CCM+ User Guide Starting a STAR-CCM+ Simulation 6927
The tree represents all the objects in the simulation. Nodes are added in later
sections when a geometry is imported and models are defined in the
continuum. Most of your interaction with the simulation is by selecting
nodes in the tree and:
Right-clicking to expose an action menu.
Using keys to, for example, copy and delete objects.
Dragging objects to other tree nodes or onto visualization displays.
The handle next to a node indicates that subnodes exist below that one. To
open a node and show the subnodes, click the handle. To close it, do the
same for an open node.
Version 7.06
STAR-CCM+ User Guide Saving and Naming a Simulation 6928
Most objects in the tree have one or more properties that define the object.
Access to the properties is through the table.
To modify the properties of an object, click its node once to select it. Edit
most types of properties in the value cell. Otherwise, when setting values of
complex properties, click the property customizer button to the right of
the value. A property-specific dialog opens.
Version 7.06
STAR-CCM+ User Guide Importing the Geometry 6929
In the Save dialog, type bluntBody.sim into the File Name text box and
click Save.
The title of the simulation window in the Explorer pane updates to reflect the
new name.
STAR-CCM+ provides tools to generate the geometry, but for this tutorial
you start from a pre-generated Parasolid file of the design.
Version 7.06
STAR-CCM+ User Guide Importing the Geometry 6930
Version 7.06
STAR-CCM+ User Guide Importing the Geometry 6931
Version 7.06
STAR-CCM+ User Guide Importing the Geometry 6932
bluntBody part.
The imported geometry represents the fluid volume around the body in the
wind tunnel.
Save the simulation by clicking the (Save) button.
Version 7.06
STAR-CCM+ User Guide Visualizing the Imported Geometry 6933
Version 7.06
STAR-CCM+ User Guide Visualizing the Imported Geometry 6934
To translate or pan, hold down the right mouse button and drag.
To rotate around an axis perpendicular to the screen, press the <Ctrl>
key and hold down the left mouse button while dragging.
There are also several hot keys that rotate the view:
To align with the X-Y plane, press the <T> key.
To align with the Y-Z plane, press the <F> key.
To align with the Z-X plane, press the <S> key.
To fit the view within the Graphics window, press the <R> key.
Adjust the view as shown in the following screenshot.
Version 7.06
STAR-CCM+ User Guide Defining Boundary Surfaces 6935
Index Description
1 Stagnation Boundary
2 Wall
3 Symmetry Planes
4 Pressure Boundary
5 Slip Walls
Version 7.06
STAR-CCM+ User Guide Defining Boundary Surfaces 6936
Patch.
Version 7.06
STAR-CCM+ User Guide Defining Boundary Surfaces 6937
geometry as necessary.
The face is removed from the scene and the new surface appears within the
surfaces manager node belonging to the parent part.
Version 7.06
STAR-CCM+ User Guide Defining Boundary Surfaces 6938
Click Close.
Version 7.06
STAR-CCM+ User Guide Defining Boundary Surfaces 6939
To rename the Faces part surface, the previous method can be used. Use the
alternative right-click menu option:
Right-click the Geometry > Parts > subdomain-1 > Surfaces > Faces node
Version 7.06
STAR-CCM+ User Guide Assigning Parts to Regions 6940
Version 7.06
STAR-CCM+ User Guide Assigning Parts to Regions 6941
Regions...
Version 7.06
STAR-CCM+ User Guide Assigning Parts to Regions 6942
The portion of the object tree below the Regions node appears as shown in
the following screenshot. All of the surfaces appear as individual
boundaries within the region.
Version 7.06
STAR-CCM+ User Guide Setting Boundary Types 6943
For compressible flows, the most appropriate inflow and outflow types are
stagnation inlet and pressure outlet.
Change the type of the Inlet boundary to Stagnation Inlet and the type of
the Pressure boundary to Pressure Outlet.
The Slip_wall and Inner_wall boundaries retain the default Wall type. Slip
walls are boundary conditions and are set up later.
Save the simulation .
Selecting Parts
Click a part in the Geometry Scene 1 display, for example the High X face.
Version 7.06
STAR-CCM+ User Guide Setting Boundary Types 6944
The object becomes highlighted and a label appears with the name of the
object selected.
In the bluntBody object tree, the node that corresponds to this object is also
highlighted.
Version 7.06
STAR-CCM+ User Guide Setting Boundary Types 6945
Open the Scenes > Geometry Scene 1 > Displayers > Geometry 1 > Parts
node and click the ellipsis (Custom Editor) for the Parts value.
Click OK.
Version 7.06
STAR-CCM+ User Guide Setting Boundary Types 6946
Use this menu to choose which of the part displayers in the scene receive the
parts that you have dragged across.
Version 7.06
STAR-CCM+ User Guide Generating the Mesh 6947
Version 7.06
STAR-CCM+ User Guide Generating the Mesh 6948
Version 7.06
STAR-CCM+ User Guide Generating the Mesh 6949
Click Close.
Expand the Models and Reference Values managers.
Version 7.06
STAR-CCM+ User Guide Generating the Mesh 6950
Select Continua > Mesh 1 > Reference Values > Number of Prism Layers and
Version 7.06
STAR-CCM+ User Guide Generating the Mesh 6951
The run and progress of the meshers are displayed in the Output window.
Version 7.06
STAR-CCM+ User Guide Generating the Mesh 6952
Version 7.06
STAR-CCM+ User Guide Generating the Mesh 6953
Version 7.06
STAR-CCM+ User Guide Generating the Mesh 6954
To provide better definition of the blunt body, modify the surface mesh at
the inner wall:
Select the Regions > subdomain-1 > Boundaries > Inner_wall > Mesh
Conditions > Custom Surface Size node and activate Custom Surface Size.
Select the Surface Size > Absolute Minimum Size node and make sure that
Value is 0.0010 m
Version 7.06
STAR-CCM+ User Guide Setting Up the Physics Models 6955
improved mesh.
Selecting Models
To access the physics continuum:
Right-click Continua and select New > Physics Continuum.
Version 7.06
STAR-CCM+ User Guide Setting Up the Physics Models 6956
Open the Continua node, which contains the default Physics 1 node.
Version 7.06
STAR-CCM+ User Guide Setting Up the Physics Models 6957
screenshot.
Select the Gas radio button from the Material group box, since this
exercise involves an idealized gas (air).
Version 7.06
STAR-CCM+ User Guide Setting Up the Physics Models 6958
Additional model selections are required alerts you to the fact that
you have not completed the model selection.
To reverse part or all of the model selection process, simply clear the
checkboxes of the models you wish to deactivate. Other active models
require the selections that are grayed out. Therefore, deactivate the models
that are not grayed out to begin with.
Version 7.06
STAR-CCM+ User Guide Setting Up the Physics Models 6959
When complete, the Physics Model Selection dialog appears as shown in the
following screenshot:
The color of the Physics 1 node has turned from gray to blue to indicate that
models have been selected.
To display the selected models, open the Physics 1 node and then the
Version 7.06
STAR-CCM+ User Guide Setting Up the Physics Models 6960
Models node.
Version 7.06
STAR-CCM+ User Guide Setting Initial Conditions 6961
When you select the Gas model, the properties of air such as dynamic
viscosity are used by default. Since this problem uses air, the properties are
acceptable.
Save the simulation .
Version 7.06
STAR-CCM+ User Guide Defining the Region Continuum 6962
During this tutorial, there is one continuum in the above drop-down list, but
as you add more (to the Continua node in the simulation tree), they are
Version 7.06
STAR-CCM+ User Guide Setting Boundary Conditions and Values 6963
The types and conditions inform models how to deal with a boundary (or
region or interface) but they do not specify actual numerical input. Values
provide this input. Value nodes are added in response to choices made on
conditions nodes.
The boundary values are specified as gauge pressures. Therefore, using the
default reference pressure of 101,325 Pa (one atmosphere), set the inlet total
pressure to 63,579 Pa (gauge). The outlet static pressure is 0 Pa (gauge), the
default value.
Open the Regions > subdomain-1 > Boundaries node.
Open the Inlet, Physics Values and Total Pressure nodes, and select the
Version 7.06
STAR-CCM+ User Guide Setting Boundary Conditions and Values 6964
Constant node.
Version 7.06
STAR-CCM+ User Guide Setting Boundary Conditions and Values 6965
Select the Physics Values > Turbulent Viscosity Ratio> Constant node.
Set Value to 50. This value has been determined to give a reasonable
decay of turbulence in the channel core (for the default turbulence
intensity).
Version 7.06
STAR-CCM+ User Guide Setting Solver Parameters and Stopping Criteria 6966
Select the Slip_wall > Physics Conditions > Shear Stress Specification node.
Version 7.06
STAR-CCM+ User Guide Visualizing the Solution 6967
The solution does not converge in this number of iterations. The solution
does not run for more than 300 iterations, unless this stopping criterion is
changed or deactivated.
Save the simulation .
Hide all parts except the blunt body itself and the vertical symmetry plane.
Select the new Scenes > Scalar Scene 1 > Displayers > Scalar 1 > Parts
Version 7.06
STAR-CCM+ User Guide Visualizing the Solution 6968
node.
Click the (Custom Editor) in the right half of the Parts property.
In the Parts dialog, expand Regions > subdomain-1, select Inner_wall and
Symmetry_plane1, and click OK.
Version 7.06
STAR-CCM+ User Guide Visualizing the Solution 6969
Select Mach Number > Lab Reference Frame from the pop-up menu.
Since the geometry of this example is symmetric, the mesh was cut into
quarters with two symmetry planes to reduce computing costs. However,
the symmetric repeat transform lets you create the visual effect of the
complete geometry by setting up the mirror image of the model in the
Graphics window. In this case, you only do one repeat so that half the model
is shown.
Select the Scalar 1 node.
Version 7.06
STAR-CCM+ User Guide Visualizing the Solution 6970
Version 7.06
STAR-CCM+ User Guide Monitoring Simulation Progress 6971
For this case, force is monitored on the body in the x-direction of the flow,
which effectively is the total drag force. This process starts with the report
definition.
Version 7.06
STAR-CCM+ User Guide Monitoring Simulation Progress 6972
Setting Up a Report
Right-click the Reports node and select New Report > Force Coefficient.
This action creates a Force Coefficient 1 node under the Reports node.
Select the Force Coefficient 1 node and enter the settings for the report in the
Properties window.
Enter 1.277 for Reference Density, the density of the freestream air.
Enter 264.6 for Reference Velocity, the velocity at the inlet.
Enter a value of 0.0161269 for Reference Area, the projected area of the
quarter of the blunt body that is used in the simulation.
Make sure that Direction is [1.0,0.0,0.0] (for drag).
Version 7.06
STAR-CCM+ User Guide Monitoring Simulation Progress 6973
Use the drag-and-drop method to select the monitored part, namely the
Inner_wall boundary:
Open the Regions > subdomain-1 > Boundaries node and then drag the
Inner_wall node onto the Force Coefficient 1 node.
The Inner_wall entry is now listed in the Parts property of the Force Coefficient
1 node.
The setup for the report is now complete, and a monitor and a plot can be
made from that report.
Version 7.06
STAR-CCM+ User Guide Monitoring Simulation Progress 6974
from Report.
This action creates a Force Coefficient 1 Monitor node under the Monitors node.
The existing monitors in this branch of the simulation tree are the residual
monitors from the solvers that the models use. With the new monitor node
selected, the default settings for the Force Coefficient 1 monitor are seen.
These settings update the plot every iteration while the solution is running.
Version 7.06
STAR-CCM+ User Guide Monitoring Simulation Progress 6975
In addition to the new monitor node, a Force Coefficient 1 Monitor Plot node
is created in the Plots node.
Additional properties of the plot can be adjusted using the subnodes of the
Force Coefficient 1 Plot node.
Or
Right-click the Force Coefficient 1 Monitor Plot node and select Open from
the pop-up menu.
Version 7.06
STAR-CCM+ User Guide Running the Simulation 6976
This plot display is automatically updated with the drag force coefficient
when the solver starts to run.
Or
Use the Solution > Run menu item.
The Residuals display is created automatically and shows the progress of the
solver. If necessary, click the Residuals tab to bring the Residuals plot into
view. An example of a residual plot is shown in a separate part of the User
Guide. This example looks different from your residuals, since the plot
depends on the models selected.
Version 7.06
STAR-CCM+ User Guide Adjusting Solver Parameters and Continuing 6977
The tabs at the top of the Graphics window allow you to select any one of the
active displays for viewing.
To see the results, click the tab of the Scalar Scene 1 display.
Rotate and zoom if desired for a better view.
During the run, it is possible to stop the process by clicking the (Stop)
button in the toolbar. If you do halt the simulation, you can resume it by
clicking the (Run) button. If left alone, the simulation continues until the
stopping criterion of 300 iterations is satisfied.
After the run is finished, save the simulation.
Once the solution has reached the stopping criterion of 300 iterations:
Version 7.06
STAR-CCM+ User Guide Adjusting Solver Parameters and Continuing 6978
Select the Stopping Criteria > Maximum Steps node and set the Maximum
Steps to 1500
This setting instructs STAR-CCM+ to iterate 1200 steps in addition to
the 300 already done.
Version 7.06
STAR-CCM+ User Guide Adjusting Solver Parameters and Continuing 6979
check on results. You can also reconnect from a different machine, even a
machine of another architecture.
Version 7.06
STAR-CCM+ User Guide Adjusting Solver Parameters and Continuing 6980
The client disconnects from the server, but both are still running, although
the simulation window no longer appears in the client. If desired, the client
can be shut down using File > Exit.
The Servers window of the Explorer pane lists all server processes
(simulations) that are running locally.
Selecting the node in the tree displays the server process properties.
If the Clients property is empty (as shown above), then that server process
does not have a client that is connected to it and it is possible to connect.
Connect by right-clicking the server process node in the Servers tree and
selecting Connect from the pop-up menu.
When you reconnect, none of the previously created scenes and plots are
displayed in the Graphics window.
Or
Right-click the node and select Open.
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6981
Visualizing Results
Once the solution is finished, you can examine the results in scalar and
vector scenes.
Examining Scalars
Make the Scalar Scene 1 display active to see the Mach number results
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6982
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6983
Display two scalar values at the same time: one on the symmetry plane, the
other on the inner wall:
Add another scalar displayer by right-clicking the Displayers node and
selecting New Displayer > Scalar.
The creation of the second displayer has added a second scalar bar in the
display.
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6984
to a different location.
In the display, right-click the scalar bar (blue) of the new displayer and
select Pressure.
Right-click the inner wall in the display, select Displayers, and open its
submenu.
Among the checkboxes to the right of in, clear the checkbox under Scalar
1 and tick the one under Scalar 2.
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6985
This single step transfers the part from one displayer to another.
Select the Scenes > Scalar Scene 1 > Displayers > Scalar 2 node.
The blunt body shows pressure values while the symmetry plane shows
Mach number.
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6986
Examining Vectors
This section demonstrates how to examine velocity vectors in the model. In
this example, you set up vectors in a reflected symmetry plane around a
solid-colored blunt body.
First, create a scene by right-clicking the Scenes node.
Select New Scene > Vector.
You do not need the outlines that the Outline part displayer provides by
default, so reuse that displayer to show the blunt body as a solid object.
Select the Vector Scene 1 > Displayers > Outline 1 > Parts node and click
the (Custom Editor) button.
In the Parts dialog, expand the Regions and subdomain-1 nodes.
Click Clear Selection.
Select the Inner_wall node.
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6987
Click OK.
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6988
Select the Vector 1 > Parts node and click the ellipsis (Custom Editor)
for the Parts value.
In the Parts dialog, expand the Regions and subdomain-1 nodes. Select
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6989
Version 7.06
STAR-CCM+ User Guide Visualizing Results 6990
These settings show a solid blunt body with velocity vectors surrounding it.
It is possible to make the arrows shorter to see the vectors more clearly.
Select the Vector 1 > Glyph > Relative Length node and change Glyph
Length (%) to 2.0.
Version 7.06
STAR-CCM+ User Guide Plotting Data on a Slice 6991
Version 7.06
STAR-CCM+ User Guide Plotting Data on a Slice 6992
Right-click the Scenes node and select New Scene > Geometry.
Right-click the Derived Parts node and select New Part > Section > Plane...
Version 7.06
STAR-CCM+ User Guide Plotting Data on a Slice 6993
The plane tool in the scene display allows interactive definition of the plane
that cuts the blunt body.
Rotate and pan the image as needed so that the inner wall is in front of
the plane tool rectangle as shown.
The barbell represents the normal of the cutting plane, which can be
changed by dragging one of the balls to another location.
The plane can also be dragged to change the origin of the cutting plane.
A bounding box slightly larger than the regions in the scene is displayed to
limit the movement of the plane.
Version 7.06
STAR-CCM+ User Guide Plotting Data on a Slice 6994
Move the mouse over the plane tool, then click-and-drag the rectangle
so that it cuts the blunt body close to the symmetry plane.
Version 7.06
STAR-CCM+ User Guide Plotting Data on a Slice 6995
In the bluntBody window, a node, plane section, has been added within the
Derived Parts.
An empty plot node is added to the tree and opens in the Graphics window.
Version 7.06
STAR-CCM+ User Guide Plotting Data on a Slice 6996
Select the Y Type 1 > Scalar node and set Scalar to Pressure Coefficient.
Version 7.06
STAR-CCM+ User Guide Adding Streamlines 6997
Adding Streamlines
To visualize streamlines in STAR-CCM+:
Create a scene
Create a streamline derived part
Add a streamline displayer, with suitable properties, to the new scene
based on the streamline derived part.
In this example, the streamline derived part is set up so that it shows the
recirculating flow behind the blunt body. The part is then modified to show
streamlines over the blunt body.
Version 7.06
STAR-CCM+ User Guide Adding Streamlines 6998
Version 7.06
STAR-CCM+ User Guide Adding Streamlines 6999
The entire fluid region is used as the input part for the streamline part.
Click the Input Parts button.
In the Select Objects dialog, make sure that subdomain-1 is the only part
in the Selected list.
Click Close in the Select Objects dialog.
In the Vector Field box, make sure that Velocity is selected in the
drop-down list.
Version 7.06
STAR-CCM+ User Guide Adding Streamlines 7000
To position the seed point just after the back of the blunt body (in the
direction of flow):
Enter the following coordinates under Seed Position: 0.05 for X, 0.01
for Y and 0.01 for Z.
Enter 0.002 for Seed Radius and 10 for Number of Points.
Version 7.06
STAR-CCM+ User Guide Adding Streamlines 7001
Version 7.06
STAR-CCM+ User Guide Adding Streamlines 7002
In the display, right-click the color bar and select Velocity: Magnitude.
Version 7.06
STAR-CCM+ User Guide Adding Streamlines 7003
The next step involves moving the seed point of the streamline derived part
to the front of the blunt body.
Select the 2nd Order Integrator node and change Integration Direction to
Forward.
Select the streamline > Point Seed node and set the x-value of the Center
to -0.05, so that the value of the property is -0.05, 0.01, 0.01
Version 7.06
STAR-CCM+ User Guide Closing and Reopening the Simulation 7004
The following dialog pops up to choose whether to wait for the operation to
finish before closing the window, or close the window and leave the
operation to complete in the background.
Click Disconnect.
Version 7.06
STAR-CCM+ User Guide Summary 7005
Summary
This tutorial of STAR-CCM+ introduced the following steps:
Starting the code and creating a simulation.
Saving and naming the simulation.
Importing a geometry file.
Visualizing the imported geometry.
Splitting and naming the geometry surfaces.
Renaming techniques.
Changing types of boundaries.
Designing a three-dimensional mesh
Visualizing the mesh.
Selecting the physics models.
Defining the initial conditions.
Defining the boundary conditions and values.
Setting the solver parameters and stopping criteria.
Setting up a monitoring report and plot.
Running the solver until the residuals are satisfactory.
Disconnecting from a server and reconnecting during a run.
Analyzing results using the visualization, monitor-plot, and XY-plot
features.
Creating streamlines.
Reopening a simulation.
Version 7.06