- •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
MESH REPLACEMENT |
Chapter 13 |
Creating Ahead Files for the Dense Mesh |
|
|
|
Figure 13-6 Exhaust flow boundary
All necessary settings have now been defined for the dense model. The only remaining action is to write the data files via the Star Controls panel.
•In the Write data view of the Star Controls panel, click Write data
Creating Ahead Files for the Dense Mesh
As the dense mesh contains considerably more cells than the coarse mesh, it is advantageous to use Ahead Files (see Chapter 11 of the User Guide). This practice avoids the possibility of STAR waiting for es-ice to complete its part in the simulation at every time step. The mvmesh.sh panel is used to define several scripts, which in turn create the Ahead Files. During the analysis, Ice reads these grids instead of generating meshes, thus reducing the calculation time. Note that the same process can be carried out on the coarse mesh if desired, although the low cell count makes it unnecessary.
To create the ahead scripts:
•In the Select panel, click mvmesh.sh to open the mvmesh.sh panel
•Select the Events ahead script toggle button to activate the Ahead Files section of the panel
•Accept the remaining default settings. You can change these settings for other cases, depending on the nature of the mesh and system resources
•Click Write to create the scripts in the
ahead subdirectory located within the current working directory.
13-6 |
Version 4.20 |
Chapter 13 |
MESH REPLACEMENT |
|
Creating Ahead Files for the Dense Mesh |
|
|
Since Ahead Files are used, you need to update the settings within the mvmesh.sh file (see Chapter 11 in the User Guide). To set up this file:
• Locate the Move mesh script section of the mvmesh.sh panel, shown in the adjacent screenshot
•Set Processes to 1
•Accept the remaining defaults. Again, you can change these settings in your own cases to optimise the analysis run time.
•Click Write
•Click Yes in the es-ice command window to overwrite the existing mvmesh.sh
file. The file is updated to reflect the changed settings.
Finally you must execute the head scripts in order to generate the event meshes. This procedure is different between Linux and Windows.
On Linux:
•Enter the following commands in a shell prompt: sh ahead/<filename>.sh
where <filename> is one of the ahead scripts in the ahead directory
•Alternatively, you can use a script to execute each ahead script in turn. For example:
for filename in ahead/*.sh do
sh $filename done
exit 0
On Windows:
•Enter the following commands in a PowerShell prompt:
Ice.exe -sB=<filename>.sh
where <filename> is one of the ahead scripts in the ahead directory
•Alternatively, you can use a batch file to execute each ahead script in turn. For example:
for %%f in(.\*sh) do Ice.exe -sB=%%f
exit 0
The set-up for the dense model is now complete.
Version 4.20 |
13-7 |
MESH REPLACEMENT |
Chapter 13 |
Defining Mesh Replacements |
|
|
|
•In the Select panel, click Write Data
•In the Write Tool, enter save_es-ice.dense_final and click Save
•Close es-ice
Defining Mesh Replacements
Mesh replacements must be defined within the master model file. In this tutorial, the coarse model is the master model, which means changing the working directory and loading save_es-ice.4-final into es-ice.
•Make the directory containing the coarse model file (save_es-ice.4-final) your current working directory and then launch es-ice in the usual manner
•In the Select panel, click Read Data
•In the Read Tool, click the ellipsis (...) button next to the Resume file box and select the coarse model file (save_es-ice.4-final) from the browser. This action loads the coarse model and displays it in the
Template window.
Mesh replacements can now be defined using the Multiple mesh panel (see Chapter 6, “Meshes for Simulation with Mesh Replacement” in the User Guide). The first mesh-replacement operation is described below in some detail while the rest of the required settings are summarised in a table.
13-8 |
Version 4.20 |