Morpphing
Morpphing
4820
Morphing Tutorials
STAR-CCM+ makes it possible to deform the computational mesh in response to various causes. This section contains a single introductory tutorial that demonstrates morphing of a cylinder in response to user-specified conditions on the wall.
Version 4.04.011
4821
Version 4.04.011
Click the Open button to start the import. The Import Surface Options dialog will appear. Click OK to accept the default options and import the cylinder. STAR-CCM+ will provide feedback on the import process in the Output window. A new geometry scene will be created in the Graphics window showing the imported cylinder. Save the new simulation to disk under file name contraction.sim.
Version 4.04.011
The surface mesh will now be shown in the Graphics window. Note that this comes from the initial tesselation that took place when the cylinder geometry was imported into STAR-CCM+.
As this surface mesh is only sufficient to define the geometry, it will be necessary to generate a new surface mesh before we can create the volume mesh. Switch back to the standard object tree by clicking the simulation button.
Version 4.04.011
Rename Boundary 1 3 to Inlet and set the Type property to Velocity Inlet in the Properties window. The boundary tree will be as shown below.
Version 4.04.011
node.
In the Properties window, change the Percentage of Base property to 65.0 and press <Enter>. The read-only Absolute Size property should update to 0.065 m.
The volume mesh can now be created. Click the (Generate Volume Mesh) button in the toolbar.
Version 4.04.011
The Physics Model Selection dialog will appear. Continue by selecting models from the various groups as follows: Select Morpher from the Motion group box. Select Implicit Unsteady from the Unsteady group box. Select Liquid from the Material group box. Select Segregated Flow from the Flow group box. Select Constant Density from the Equation of State group box. Select Turbulent from the Viscous Regime group box. Select K-Epsilon Turbulence from the Reynolds-Averaged Turbulence group box.
Version 4.04.011
(1)
where v r is the radial velocity in m s and x z is the z (or axial) coordinate of the face centroid in m . The field function for this profile is implemented as follows:
Version 4.04.011
The Properties window will be as shown below when you are done.
Version 4.04.011
Version 4.04.011
Having a Logical Rule of And means that the value of all four monitors (Continuity, X-momentum, Y-momentum and Z-momentum) must fall to 0.001 before the simulation will assume that an adequate level of convergence has been achieved and move on to the next time step. It is possible that one of the other Stopping Criteria could activate before reaching this level of convergence, in which case the simulation would move on to the next time step regardless. Select the Stopping Criteria > Maximum Inner Iterations node and, in the Properties window, set the Max Inner Iterations property to 10. Select the Stopping Criteria > Maximum Physical Time node and, in the Properties window, check that the Max Physical Time property is set to 1.0 s.
Version 4.04.011
Right-click the Plots > Inlet Pressure Plot node and select Open. The Inlet Pressure Plot will appear as shown below.
Version 4.04.011
In the Properties window, set the Verbosity to High using the drop-down menu.
The Residuals display will automatically be created and will show the solvers progress. If necessary, click on the Residuals tab to bring the Residuals plot into view. The Cylinder Wall scene at the end of the simulation is shown below. The cylinder would continue to contract if the simulation were run for longer, as
Version 4.04.011
Version 4.04.011
The morpher conditions on the cylinder wall must be modified to use the new field function. Select the Regions > Fluid > Boundaries > Wall > Physics Conditions >
Version 4.04.011
The Cylinder Wall scene at the end of this second simulation is shown below.
Summary
This tutorial covered the following features: Import of a simple CAD geometry. Splitting boundaries and renaming. Generating a trimmed cell mesh with prism layers on the wall only. Selecting the Morpher motion model. Creating a field function to provide a grid velocity vector for the Morpher motion model. Applying appropriate boundary conditions for the Morpher. Creating a scene to display the centroid on the deformed surface of the geometry. Creating a streamline derived part and using it to visualize the velocity field.
Version 4.04.011