- •TABLE OF CONTENTS
- •Chapter 1 INTRODUCTION
- •The es-ice Environment
- •es-ice Meshing Capabilities
- •Tutorial Structure
- •Trimming Tutorial Overview
- •Required Files
- •Trimming Tutorial files
- •Automatic 2D Tutorial files
- •Wall Temperature Tutorial files
- •Mesh Replacement Tutorial files
- •Multiple Cylinder Tutorial files
- •Closed-Cycle Tutorial files
- •Sector Tutorial files
- •Two-Stroke Tutorial files
- •Mapping Tutorial files
- •ELSA Tutorial files
- •Chapter 2 SURFACE PREPARATION IN STAR-CCM+
- •Importing and Scaling the Geometry
- •Creating Features
- •Defining Surfaces
- •Remeshing and Exporting the Geometry
- •Chapter 3 GEOMETRY IMPORT AND VALVE WORK
- •Importing the Surfaces
- •Modelling the Valves
- •Saving the Model
- •Chapter 4 MESHING WITH THE TRIMMING METHOD
- •Modifying Special Cell Sets in the Geometry
- •Defining Flow Boundaries
- •Creating the 2D Base Template
- •Creating the 3D Template
- •Trimming the 3D Template to the Geometry
- •Improving cell connectivity
- •Assembling the Trimmed Template
- •Running Star Setup
- •Saving the Model
- •Chapter 5 CREATING AND CHECKING THE MESH
- •Chapter 6 STAR SET-UP in es-ice
- •Load Model
- •Analysis Set-up
- •Valve Lifts
- •Assembly
- •Combustion
- •Initialization
- •Cylinder
- •Port 1 and Port 2
- •Boundary Conditions
- •Cylinder
- •Port and Valve 1
- •Port and Valve 2
- •Global settings
- •Post Set-up
- •Cylinder
- •Port 1 and Port 2
- •Global settings
- •Time Step Control
- •Write Data
- •Saving the Model
- •Chapter 7 STAR SET-UP in pro-STAR
- •Using the es-ice Panel
- •Setting Solution and Output Controls
- •File Writing
- •Chapter 8 RUNNING THE STAR SOLVER
- •Running in Serial Mode
- •Running in Parallel Mode
- •Running in Parallel on Multiple Nodes
- •Running in Batch
- •Restarting the Analysis
- •Chapter 9 POST-PROCESSING: GENERAL TECHNIQUES
- •Creating Plots with the es-ice Graph Tool
- •Calculating Apparent Heat Release
- •Plotting an Indicator Diagram
- •Calculating Global Engine Quantities
- •Creating a Velocity Vector Display
- •Creating an Animation of Fuel Concentration
- •Creating an Animation of Temperature Isosurfaces
- •Chapter 10 USING THE AUTOMATIC 2D TEMPLATE
- •Importing the Geometry Surface
- •Defining Special Cell Sets in the Geometry
- •Modelling the Valves
- •Creating the Automatic 2D Template
- •Refining the 2D Template Around the Injector
- •Adding Features to the Automatic 2D Template
- •Using Detailed Automatic 2D Template Parameters
- •Saving the es-ice Model File
- •Chapter 11 MULTIPLE-CYCLE ANALYSIS
- •Setting Up Multiple Cycles in es-ice
- •Setting Up Multiple Cycles in pro-STAR
- •Chapter 12 HEAT TRANSFER ANALYSIS
- •Resuming the es-ice Model File
- •Mapping Wall Temperature
- •Exporting Wall Heat Transfer Data
- •Saving the es-ice Model File
- •Cycle-averaging Wall Heat Transfer Data
- •Post-processing Wall Heat Transfer Data in pro-STAR
- •Plotting average wall boundary temperatures
- •Plotting average heat transfer coefficients
- •Plotting average near-wall gas temperature at Y-plus=100
- •Mapping Heat Transfer Data to an Abaqus Model via STAR-CCM+
- •Chapter 13 MESH REPLACEMENT
- •Preparing the File Structure
- •Rebuilding the Dense Mesh
- •Creating Ahead Files for the Dense Mesh
- •Defining Mesh Replacements
- •Setting Up Mesh Replacement in pro-STAR
- •Setting up the coarse model
- •Setting up the dense model
- •Chapter 14 MULTIPLE CYLINDERS
- •Resuming the es-ice Model File
- •Making, Cutting and Assembling the Template
- •Setting Up Multiple Cylinders
- •Checking the Computational Mesh
- •STAR Set-Up in es-ice
- •Analysis set-up
- •Assembly
- •Combustion
- •Initialization
- •Boundary Conditions
- •Post Setup
- •Time Step Control
- •Write Data
- •Saving the es-ice Model File
- •Importing the Geometry
- •Generating the Closed-Cycle Polyhedral Mesh
- •Assigning shells to geometry cell sets
- •Specifying General, Events and Cylinder parameters
- •Creating a spray-optimised mesh zone
- •Importing a user intermediate surface
- •Checking the spray-optimised zone
- •Creating the closed-cycle polyhedral mesh
- •Running Star Setup
- •Creating and checking the computational mesh
- •Saving the Model File
- •Chapter 16 DIESEL ENGINE: SECTOR MODEL
- •Importing the Bowl Geometry
- •Defining the Bowl Shape
- •Defining the Fuel Injector
- •Creating the 2D Template
- •Creating the Sector Mesh
- •Creating and Checking the Mesh
- •Saving the Model
- •Chapter 17 DIESEL ENGINE: STAR SET-UP IN es-ice and pro-STAR
- •STAR Set-up in es-ice
- •Load model
- •Analysis setup
- •Assembly
- •Combustion
- •Initialization
- •Boundary conditions
- •Post setup
- •Time step control
- •Write data
- •Saving the Model File
- •STAR Set-up in pro-STAR
- •Using the es-ice Panel
- •Selecting Lagrangian and Liquid Film Modelling
- •Setting up the Fuel Injection Model
- •Setting up the Liquid Film Model
- •Setting up Analysis Controls
- •Writing the Geometry and Problem Files and Saving the Model
- •Chapter 18 DIESEL ENGINE: POST-PROCESSING
- •Creating a Scatter Plot
- •Creating a Spray Droplet Animation
- •Chapter 19 TWO-STROKE ENGINES
- •Importing the Geometry
- •Meshing with the Trimming Method
- •Assigning shells to geometry cell sets
- •Creating the 2D template
- •Creating the 3D template
- •Trimming the 3D template to the geometry
- •Assembling the trimmed template
- •Running Star Setup
- •Checking the mesh
- •STAR Set-up in es-ice
- •Analysis setup
- •Assembly
- •Combustion
- •Initialization
- •Boundary conditions
- •Post setup
- •Time step control
- •Write data
- •Saving the es-ice Model File
- •Chapter 20 MESHING WITH THE MAPPING METHOD
- •Creating the Stub Surface in the Geometry
- •Creating the 2D Base Template
- •Creating the 3D Template
- •General Notes About Edges and Splines
- •Creating Edges and Splines Near the Valve Seat
- •Creating the Remaining Edges and Splines
- •Creating Patches
- •The Mapping Process
- •Chapter 21 IMPROVING THE MAPPED MESH QUALITY
- •Creating Plastered Cells
- •Chapter 22 PISTON MODELING
- •Meshing the Piston with the Shape Piston Method
- •Chapter 23 ELSA SPRAY MODELLING
- •Importing the Bowl Geometry
- •Defining the Bowl Shape
- •Setting the Events and Cylinder Parameters
- •Creating the Spray Zone
- •Creating the Sector Mesh
- •STAR Set-up in es-ice
- •Load model
- •Analysis setup
- •Assembly
- •Combustion
- •Initialization
- •Boundary Conditions
- •Time step control
- •Write data
- •Saving the Model File
- •STAR Set-up in pro-STAR
- •Using the es-ice panel
- •Activating the Lagrangian model
- •Defining the ELSA scalars
- •Setting up the Lagrangian droplets
- •Defining boundary regions and boundary conditions
- •Setting up analysis controls
- •Adding extended data for the ELSA model
- •Writing the Geometry and Problem Files and Saving the Model
Chapter 2 |
SURFACE PREPARATION IN STAR-CCM+ |
|
Importing and Scaling the Geometry |
Chapter 2 SURFACE PREPARATION IN STAR-CCM+
The following tutorial data file is used in this chapter:
TRIMMING_TUTORIALS/Geometry.dbs
CAD geometry normally consists of many separate surfaces. Depending on the surface discretisation tool, vertex mismatches can occur between the various surfaces that prevent the discretised geometry surface from being closed. While an open geometry is acceptable for use with the es-ice Mapping method, the Trimming method requires a closed surface. When the engine volume is converted to a solid body within the CAD program, the separate surfaces making up the surface discretisation are closed and connected.
The following section provides a step-by-step guide for preparing a surface discretisation using STAR-CCM+ v8.02. Note that using earlier or later versions of STAR-CCM+ may require a different procedure.
Importing and Scaling the Geometry
Begin by importing and scaling the geometry in STAR-CCM+. In that environment, the default length unit is metres so the dimensions of the imported geometry are assumed to be in metres. In es-ice, there are no defined units so a dimension could be in metres, millimetres, etc. depending on the units you are working with. As the es-ice trimming tutorial assumes that dimensions are in millimetres, you need to scale the mesh by a factor of 1000.
•Launch STAR-CCM+ and start a new simulation
•From the menu bar, select File > Import > Import Surface Mesh...
•In the file browser, select Geometry.dbs
•In the Import Surface Options panel, accept the default options, as shown in Figure 2-1, and click OK to begin importing the geometry
Figure 2-1 Importing the CAD geometry
Version 4.20 |
2-1 |
SURFACE PREPARATION IN STAR-CCM+ |
Chapter 2 |
Creating Features |
|
|
|
•Right-click the Geometry > Parts > Geometry node and select Transform >
Scale
•In the Scale Parts panel, set Scale Factor to 1000
•Click Apply followed by Close
Creating Features
The next step is to define the geometry Features. These features are converted into line cells in es-ice, thus maintaining sharp edges and other points of interest when generating a volume mesh (similar to splines in previous versions of es-ice).
First, you use the Repair Features tools to define Features automatically based on a supplied Sharp edge angle criterion. Next, you manually add and remove selected Features. Generally, Features are required for the valve seats and liner top and bottom (if the Mark sharp edges operation did not capture them). It is also necessary to remove Features that were captured due to faceting but do not represent the real geometry.
To launch the Surface Repair tools and generate features at an angle of 20 degrees:
•Right-click the Geometry > Parts > Geometry node and select Repair
Surface...
•In the Surface Preparation Options panel, accept the default settings shown in Figure 2-2 and click OK to activate the Surface Repair tool
Figure 2-2 Surface Preparation options
2-2 |
Version 4.20 |
Chapter 2 |
SURFACE PREPARATION IN STAR-CCM+ |
|
Creating Features |
|
|
• |
In the top left pull-down menu, change the Mode |
|
to Repair Features |
• |
Click Mark Features by Angle (or press G on |
|
the keyboard) |
• |
In the Mark Feature Edges Options dialog, set |
|
Sharp edge angle to 20 |
• |
Clear the Mark boundary perimeters |
|
checkbox and click OK |
In the following steps, you add extra Features to the surface geometry. Surface mesh edges are highlighted in pink when selected in the display. Double-clicking selects the edge and any other edge with similar face-normal angles. You can also use the <Ctrl> button to select multiple edges.
To add Features:
•In the Graphics window, existing Features are marked with thick black lines and the surface mesh is represented with thin lines
•The mesh display can be turned on or off depending on user preference. Click Mesh Toggle in the Vis toolbar and select Mesh Off
•Tick the checkbox next to Edges to select edges with the cursor (as opposed to Faces or
Vertices)
•Double-click one of the edges that is a Feature. For example, Figure 2-3 shows a close-up of the intake port meeting the cylinder head in which Feature 3 is selected. Further examples are shown on the next page
•Click Flag edges as feature (or press F on the keyboard) to mark the edges as
Features
•Repeat the previous steps to continue adding Features, as shown in Figures 2-3 to 2-7.
Version 4.20 |
2-3 |
SURFACE PREPARATION IN STAR-CCM+ |
Chapter 2 |
Creating Features |
|
|
|
Figure 2-3 Example of missing Features on the intake port
Figure 2-4 Example of Features on the rear side of the intake port
2-4 |
Version 4.20 |
Chapter 2 |
SURFACE PREPARATION IN STAR-CCM+ |
|
Creating Features |
|
|
Figure 2-5 Example of missing Features on the exhaust port
Figure 2-6 Example of missing Features on the spark plug
Version 4.20 |
2-5 |