- •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 7 |
STAR SET-UP IN PRO-STAR |
|
Using the es-ice Panel |
Chapter 7 STAR SET-UP in pro-STAR
The following tutorial data files are used in this chapter:
es-ice.PNL |
|
|
|
GRID_MOVE.NULL |
|
|
|
MAKE_EV.BAT |
|
|
|
READ_TMP.BAT |
|
(Created in Chapter 6) |
|
template.bnd |
|
||
|
|
||
template.cel |
|
|
|
template.cpl |
|
|
|
template.vrt |
|
|
|
Most of the physics set-up is done via the Star Controls panel as described in Chapter 6. The Star Controls > Write data stage generates a pro-STAR panel and a series of input files that simplify the model import into pro-STAR. After importing the model, the remaining pro-STAR tasks are to set the analysis controls and then write data files for the STAR solver.
This chapter describes the analysis set-up procedure using pro-STAR Version 4.20 and covers the following stages:
1.Importing the model into pro-STAR via a special es-ice panel
2.Setting the Analysis Controls to define the solution method and analysis output
3.Writing a geometry and problem file for use by the STAR solver
Using the es-ice Panel
The es-ice panel redefines pro-STAR’s memory allocation, imports the model and defines ‘events’ that describe the piston and valve motion. These actions can be executed by issuing pro-STAR commands, but the es-ice panel simplifies the process by providing a set of special-purpose buttons. This panel was created automatically during the Star Controls > Write data process, as described in Chapter 6 of this volume.
Each region in the flow field that may potentially become separated from other regions due to valve motion is defined as a separate “material”. Different material types are automatically assigned to different regions according to how the valve motion separates them from each other.
•Launch pro-STAR in the usual manner
•In the pro-STAR launch panel, accept star as the default Case Name and click Continue
•From the menu bar, select Panels > es-ice
•In the es-ice panel (see Figure 7-1), click Resize to update the param.prp file using MEMORY commands
•Click Model to read the boundaries, cells, cell couples and vertices of the es-ice model. This button also reads in the initial and boundary conditions and sets some model defaults. A report on the result of this process is written to a file called READ_TMP.OUT.
•Click Events to define the necessary pro-STAR events and put them in a file called star.evn. A report on the result of this process is written to a file called MAKE_EV.OUT.
Version 4.20 |
7-1 |
STAR SET-UP IN PRO-STAR |
Chapter 7 |
Setting Solution and Output Controls |
|
|
|
Figure 7-1 The es-ice panel
Since the last two steps involve many commands, it is difficult to locate and inspect any pro-STAR errors. It is therefore recommended that you search the two report files for any warning or error messages. For example, the following Linux command can be used in your current working directory:
egrep ‘WARNING|ERROR’ *.OUT
Note that in this tutorial some non-critical warnings are reported in the files but these can be safely ignored.
Setting Solution and Output Controls
You now need to set various analysis and output control parameters via the pro-STAR Model Guide.
For a trimmed model, the recommended pressure correction under-relaxation factor is 0.5:
•In the Analysis Controls > Solution Method panel (see Figure 7-2), set Under Relaxation for Pressure Correction to 0.5
•Click Apply
7-2 |
Version 4.20 |
Chapter 7 |
STAR SET-UP IN PRO-STAR |
|
Setting Solution and Output Controls |
|
|
Figure 7-2 Analysis Controls > Solution Method settings
Set the analysis output controls. These determine the data available for post-processing in pro-STAR, after the analysis is complete.
•Open the Analysis Controls > Analysis Output panel
•In the Post tab (shown to the left of Figure 7-3), set the Output Frequency to
10 and the Backup Frequency to 300
•Click Apply. These settings instruct STAR to write data to the star.ccmp file once every 10 time steps and to create a back-up file every 300 time steps
•Select the Transient tab (shown to the right of Figure 7-3)
•Set the Starting at time (degCA) to 320 degrees crank angle
•Set the Output interval (degCA) to 5 degrees crank angle to define the frequency of writing solution data to the transient post file
•Deselect the Wall check-box
•Select C8H18 and then select the Post check-box to write the fuel solution data to the transient post file
•In the same way, select solution data output for density and temperature
•Click Apply
Version 4.20 |
7-3 |
STAR SET-UP IN PRO-STAR |
Chapter 7 |
File Writing |
|
|
|
Figure 7-3 Analysis Controls > Analysis Output settings
File Writing
Finally, follow the usual pro-STAR procedure for writing the geometry and problem files and for saving the model file, as shown in Figure 7-4.
•From the menu bar, select File > Save Geometry
•In the Save Geometry File panel, set the Geometry Scale Factor to 0.001 to convert the problem geometry from metres to millimetres
•Click Apply and then Close
•From the menu bar, select File > Save Problem
•In the Save Problem File panel, click Save to write the star.prob file
•From the menu bar, select File > Quit
•In the Quit pro-STAR panel, click Save & Quit to save the model data and quit the pro-STAR session
Figure 7-4 File writing and exit from pro-STAR
7-4 |
Version 4.20 |