- •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
DIESEL ENGINE: FULL-CYLINDER CLOSED-CYCLE MODEL |
Chapter 15 |
Generating the Closed-Cycle Polyhedral Mesh |
|
|
|
Importing a user intermediate surface
The user intermediate surface separates the upper portion of polyhedral cells from the lower portion, thus facilitating the addition and deletion of cell layers. For more information on user intermediate surfaces and a list of important considerations when creating them for your own cases see Chapter 6, “User intermediate surfaces” in the User Guide.
The user intermediate surface for this tutorial is supplied with the STAR-CD installation and should now be imported into es-ice.
•In the Closed cycle polymesh panel, ensure that the User intermediate surface toggle button is selected as shown in Figure 15-13
•Click the ellipsis (...) button next to the Database file box and select uisDiesel.dbs via the file browser
•Click the ellipsis (...) button next to the Database id box and select entry 1 User Intermediate Surface via the database browser
•Click the Add toggle button to add the user intermediate surface shells to the previously created spray zone meshes
•Click Read into general workspace to load the user intermediate surface in the Workspace panel, as shown in Figure 15-14
Figure 15-13 Closed cycle polymesh panel: User intermediate surface
15-10 |
Version 4.20 |
Chapter 15 |
DIESEL ENGINE: FULL-CYLINDER CLOSED-CYCLE MODEL |
|
Generating the Closed-Cycle Polyhedral Mesh |
|
|
Figure 15-14 User intermediate surface and spray zones
Checking the spray-optimised zone
If the spray zone intersects the user intermediate surface, es-ice cannot generate a closed-cycle polyhedral mesh. In addition, the spray zone must intersect the geometry surface so that it is trimmed to the injector surface. If there is a gap between the spray zone and the geometry surface, es-ice generates very small polyhedral cells in the gap which can make the solver unstable. Therefore, you should check the spray zone using a section plot before creating the polyhedral mesh. You can also view the position of the spray zone within the engine geometry.
•Specify the section using commands that define a point on the section plane and the direction of the normal to that plane:
SPoint, 0, 0, 0 SNormal, 0, 1, 0
•In the Plot Tool, change the plot type setting to Section as shown in the adjacent screenshot
•Change the Views setting to View 0, 1, 0
•Click the DPlot button to plot the spray zone, user intermediate surface and geometry surface together, as shown in Figure 15-15
Figure 15-15 Section plot of the spray zone, user intermediate surface and geometry
Figure 15-15 indicates that the spray zone does not intersect the user intermediate surface and is positioned correctly within the engine geometry. Figure 15-16 shows that the recess slightly overlaps the injector surface, thus ensuring that the spray zone is trimmed to the injector surface.
Version 4.20 |
15-11 |
DIESEL ENGINE: FULL-CYLINDER CLOSED-CYCLE MODEL |
Chapter 15 |
Generating the Closed-Cycle Polyhedral Mesh |
|
|
|
Figure 15-16 Close-up of spray zone intersecting the geometry surface
Creating the closed-cycle polyhedral mesh
Having obtained suitable spray zone parameters and a user intermediate surface, you can now proceed to generate a polyhedral mesh. At this stage, you should also check the parameters that define an extrusion cell layer on wall boundaries.
•In the Closed cycle polymesh panel, set the Polymesh cell size to 1.2
•Click Extrusion set-up
•In the Polymesh-extrusion panel, check that the parameters are set as follows:
•Global > Thickness: 0.2
•Global > Layers: 1
•Global > Ratio: 1
•Click Create polymesh
Once the child process is complete, the resulting mesh is displayed in the Template panel as shown in Figure 15-17.
Figure 15-17 Closed-cycle polyhedral mesh
15-12 |
Version 4.20 |
Chapter 15 |
DIESEL ENGINE: FULL-CYLINDER CLOSED-CYCLE MODEL |
|
Generating the Closed-Cycle Polyhedral Mesh |
|
|
Running Star Setup
Running the Star setup process will store the geometry data obtained so far and generate files required by pro-STAR and STAR.
• In the Select panel, click Star Setup
• In the Star setup panel, deselect the Use unwarper toggle button
• Select pro-STAR 4.20 from the pro-STAR drop-down menu
• Click Star setup
Creating and checking the computational mesh
You can now create the computational mesh at TDC (720 degrees crank angle) and check that it does not contain any negative-volume cells.
•In the Select panel, click Create Result
•In the Create Result panel, select the Interpolate toggle button to interpolate vertex locations between events (as opposed to using internal es-ice smoothing algorithms)
•Ensure that the Use database toggle button is selected so as to store the mesh data to a .dbs file
•Set the Angle (deg) to 720
•Click Create Result to create the mesh at 720 degrees CA. Note that a
result.d720.0.dbs file is added in your working directory. This is a
database-format file containing the mesh at the specified crank angle
Version 4.20 |
15-13 |