Академический Документы
Профессиональный Документы
Культура Документы
ESE Diesel
AVL FIRE®
VERSION 2013
All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored
in a retrieval system or translated into any language or computer language, in any form or by any
means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without prior
written consent of AVL.
This document describes how to run the FIRE software. It does not attempt to discuss all the
concepts of computational fluid dynamics required to obtain successful solutions. It is the user’s
responsibility to determine if he/she has sufficient knowledge and understanding of fluid dynamics
to apply this software appropriately.
This software and document are distributed solely on an "as is" basis. The entire risk as to their
quality and performance is with the user. Should either the software or this document prove
defective, the user assumes the entire cost of all necessary servicing, repair, or correction. AVL and
its distributors will not be liable for direct, indirect, incidental, or consequential damages resulting
from any defect in the software or this document, even if they have been advised of the possibility
of such damage.
FIRE® is a registered trademark of AVL LIST. FIRE® will be referred as FIRE in this manual.
All mentioned trademarks and registered trademarks are owned by the corresponding owners.
ESE Diesel FIRE v2013
Table of Contents
1. Introduction _____________________________________________________1-1
1.1. Symbols _____________________________________________________________________ 1-1
1.2. Configurations _______________________________________________________________ 1-1
AST.08.0304.2013 – 28-Feb-2013 i
FIRE v2013 ESE Diesel
List of Figures
Figure 2-1: Project Settings Window....................................................................................................................... 2-3
Figure 2-2: General Engine Data Windows ............................................................................................................ 2-6
Figure 2-3: Sketcher - Piston Window .................................................................................................................. 2-10
Figure 2-4: Recessed Injector ................................................................................................................................. 2-14
Figure 2-5: Constant Compression Ratio .............................................................................................................. 2-17
Figure 2-6: Fields in Piston tab .............................................................................................................................. 2-18
Figure 2-7: 2D Parameters for Mesher ................................................................................................................. 2-20
Figure 2-8: Diesel Bowl with Compensation Volume - Type ‘Valve recess’ ...................................................... 2-22
Figure 2-9: Cell Size Specification Window - default ............................................................................................ 2-24
Figure 2-10: Cell Size Specification Window – cell size defined .......................................................................... 2-24
Figure 2-11: Mesh Created with Cell Size 0.001 for 0 to 28.7 degCA (left: mesh at 18.8 degCA; right: mesh
at 28.7 degCA) .................................................................................................................................... 2-24
Figure 2-12: Mesh Created with Cell Size 0.005 for Crank Angles > 28.7 degCA (left: mesh at 28.7 degCA;
right: mesh at 54.0 degCA)................................................................................................................ 2-25
Figure 2-13: 3D Parameters for Mesher ............................................................................................................... 2-26
Figure 2-14: Refined Spray Line Volume.............................................................................................................. 2-27
Figure 2-15: Mesh Quality Check Window ........................................................................................................... 2-29
Figure 2-16: Simulation Parameters Window ...................................................................................................... 2-33
Figure 2-17: Simulation Window ........................................................................................................................... 2-34
Figure 2-18: Simulation Window for ESE Diesel / BOOST Coupling ................................................................. 2-36
Figure 2-19: Analyser Window............................................................................................................................... 2-37
Figure 2-20: Engine Data Window ........................................................................................................................ 2-38
Figure 2-21: Analyser – Quantity Graph Comparison with Foreign Data......................................................... 2-42
Figure 2-22: Friction Model Window .................................................................................................................... 2-43
Figure 2-23: Quality Plot – Engine Segment Simulation .................................................................................... 2-44
Figure 2-24: Report Generator Window................................................................................................................ 2-45
Figure 2-25: Spray Adjustment – General Engine Data Window ....................................................................... 2-49
Figure 2-26: Spray Adjustment – Sketcher – Spray Box Window ...................................................................... 2-50
Figure 2-27: Spray Adjustment – Sketcher – Injector Window .......................................................................... 2-51
Figure 2-28: Spray Adjustment – Mesher – 2D Parameters Window................................................................. 2-52
Figure 2-29: Spray Adjustment – Mesher – 3D Parameters Window................................................................. 2-52
Figure 2-30: Simulation Parameters Window ...................................................................................................... 2-55
Figure 2-31: Spray Adjustment – Quantity Plot .................................................................................................. 2-56
Figure 2-32: Relation of Gas Exchange Data........................................................................................................ 2-89
1. INTRODUCTION
This manual describes the usage of the 2D Sketcher. The 2D sketcher allows the interactive
generation of sketches consisting of points, lines, arcs and the definition of constraints and
dimensions. Sketches can be exported as in the standardized dxf- and in our native s2d-
format. The main application of the sketcher for 8.5 is providing geometrical descriptions
for ESE Diesel. ESE Diesel supports the import of both, the dxf- as well as the s2d- files.
The advantage of the s2d-files is that all information contained in the file is parameterized.
Therefore all dimensions of sketches that are imported into ESE Diesel can be still
modified. This is of particular advantage when the user intends to perform parameter
studies or optimization tasks including geometrical parameter variations.
1.1. Symbols
The following symbols are used throughout this manual. Safety warnings must be strictly
observed during operation and service of the system or its components.
Convention Meaning
1.2. Configurations
Software configurations described in this manual were in effect on the publication date.
It is the user’s responsibility to verify the configuration of the equipment before applying
procedures.
28-Feb-2013 1-1
ESE Diesel FIRE v2013
2. ESE DIESEL
ESE Diesel is the first CFD simulation tool, which allows beginners, intermediate users
and experts to set up, perform and analyze the injection and combustion process in diesel
engines reliably and accurately with minimum effort.
Although extremely simple to handle, online help is offered to assist the users of our
software in any situation, giving general information about the product and explaining
details useful to know for making use of all the capabilities of the tool.
The menu bar contains the File and the Help pull-down menus.
File
New or Ctrl N Opens a new ESE Diesel project by opening the Project Settings
window and creating the new ESE Diesel project.
Project settings – define type of project to be used in ESE Diesel.
Save or Ctrl S Saves the input specified during the present ESE Diesel session.
When saving the input for the first time, the user is requested to
specify a file name. The default file name is <EngineName.ese>
and the default location is the projects-directory in the ESE Diesel
installation directory.
Default directory for saving and loading ESE Diesel projects can be
changed in configuration window (section 2.3).
Save as Saves the input specified during the present ESE Diesel session in
any location on network mounted hard disks using an arbitrary file
name. The default file name is <EngineName.ese> and the
default location is the projects-directory in the ESE Diesel.
installation directory.
28-Feb-2013 2-1
FIRE v2013 ESE Diesel
The default directory for saving the *.ese file is the projects-
directory in the ESE Diesel installation directory. The default name
of the *.ese file is <EngineName.ese>.
Configuration Opens the configuration window which is used for setting different
working parameters.
Help
2-2 28-Feb-2013
ESE Diesel FIRE v2013
In the input area the user is prompted to specify all input to describe the geometry to be
investigated, meshing parameters, initial and boundary conditions.
Geometries displayed in the drawing area can be zoomed using the middle mouse button
and moved using the right mouse button.
28-Feb-2013 2-3
FIRE v2013 ESE Diesel
2.3. Configuration
The user can change some running parameters for ESE Diesel in the configuration window.
Select File | Configuration to access the following parameters:
Directories
ESE-D projects This projects directory is a default location for loading/saving .ese
projects.
Engine database This is the default directory for calculation results. It is used to
store .fl2 files that contain 1D calculation results together with
their .ese files. Saving results in engine database directory has
advantages over saving in some other directory, i.e. when user
selects Load from database option in Analyser, a list of all
simulation results in engine database directory is given. This list
can be further filtered by specifying different filter criteria like
engine name, bore, stroke, engine speed, friction power and lower
calorific value.
Injector templates Directory in which ESE Diesel looks for injector templates.
Piston templates Directory in which ESE Diesel looks for piston templates.
External Applications
AWS installation Directory in which AVL Workspace applications are installed, e.g.
directory BOOST. It has to be setup correctly in order to enable ESE
Diesel / BOOST coupled simulations.
2-4 28-Feb-2013
ESE Diesel FIRE v2013
Pdf browser The Pdf browser used to view the manual is specified here.
28-Feb-2013 2-5
FIRE v2013 ESE Diesel
2-6 28-Feb-2013
ESE Diesel FIRE v2013
General engine data allows the user to specify general parameters of the engine simulated
in the present project, i.e., data which is characteristic for this engine and therefore helps
to identify it among a number of previously performed or ongoing investigations.
Parameters are separated into two tabs:
• General engine parameters contains input fields for engine name, number of
cylinders, bore, and compression ratio.
• Piston movement specification contains input fields for crank radius, connecting
rod length, piston pin offset, etc.
Engine layout Select Inline or V-type from the pull-down menu (information
only).
Bore [m] The bore of the engine has to be specified in [m]. The value is
required to complete the description of the parameterized engine
geometry in the Sketcher, when using Create piston from
Template. For Simulation based on BOOST data and BOOST
coupled simulation project settings this parameter is disabled
because it is imported from the BOOST file.
Care has to be taken about the fact that the parameter Bore is
not taken into account when using Sketcher - Import piston. In
that case any value entered in this field is overwritten with the
actual dimension of the imported curve.
Stroke [m] The stroke of the engine has to be specified in [m]. Together with
the Connecting rod length the value is required to calculate the
piston position depending on the actual crank angle when
running the simulation. For Simulation based on BOOST data
and BOOST coupled simulation project settings this parameter
is disabled because it is imported from the BOOST file.
Connecting rod The connecting rod length of the engine has to be specified in
length [m] [m]. Together with the Stroke the value is required to calculate
the piston position depending on the actual crank angle when
running the simulation. For Simulation based on BOOST data
and BOOST coupled simulation project settings this parameter
is disabled because it is imported from the BOOST file.
28-Feb-2013 2-7
FIRE v2013 ESE Diesel
ε = VBDC / VTDC.
Note that the value entered for the Compression ratio does not
effect the generation of the computational model unless the
meshing parameter Compensation volume at is set to either
Head or Piston in the Mesher.
Connecting rod The connecting rod length of the engine has to be specified in [m].
length [m] Together with the Crank radius the value is required to calculate
the piston position depending on the actual crank angle when
running the simulation.
Piston pin offset Piston pin offset is a distance in [m] from crankshaft rotation
[m] center and piston movement axis. If this offset is 0, Crank radius
will be equal to 2*Stroke and piston movement will be pure sinus
function.
Stroke deflection If the engine has a very high cylinder pressure which influences
[m/Pa] piston movement, this curve can be loaded to adjust calculated
piston movement curve.
P-curve must be loaded from a text file which has two columns
separated with tab or space character. First column specifies crank
angle in degrees and second column specifies pressure in Pascal.
However, if user has pressure curve in non-SI unit, this unit can
be specified in the first line of the file and can be "MPa" (Mega
2-8 28-Feb-2013
ESE Diesel FIRE v2013
1 0.00947905
2 0.0379116
3 0.0852841
4 0.151573
5 0.236748
6 0.340766
7 0.463579
8 0.605126
9 0.76534
10 0.944143
...
If a piston movement curve has already been calculated in another application, this curve
can be loaded in ESE Diesel by selecting Curve and clicking on Load curve.
The curve must be loaded from the plain text file that contains two columns separated with
tab or space character. The first column specifies crank angle in degrees and the second
column specifies piston position in meters (for that crank angle).
A different length unit than SI unit can also be specified in the first line of the file. Allowed
units are "km" (kilometer), "dm" (decimeter), "cm" (centimeter) and "mm" (millimeter).
28-Feb-2013 2-9
FIRE v2013 ESE Diesel
2.4.2. Sketcher
2.4.2.1. Piston
The piston bowl shape can be defined by
using a template
or
using a curve
2-10 28-Feb-2013
ESE Diesel FIRE v2013
Create piston from Allows choosing a piston geometry among available templates.
template Select Create piston from template to list all available piston
bowl templates with sketches.
After selecting a template the parameterized curve describing the
piston bowl shape is shown in the drawing area. In the input area
all parameters belonging to the selected template (white input
fields) and additional measures (gray fields) are listed. In the
lower part of the input area a sketch of the template containing
all parameter names (black font) and measures (green font) is
shown.
The names of the parameters as well as their number depend on
the template.
Each template consists of a number of circles and lines. The
parameters, which define a template, can be modified by
changing the respective values in the Input area. The piston
curve on the right hand side changes according to the users input
when pressing the ENTER key.
A curve is a model consisting of lines and points describing the shape of a piston.
Import piston Imports a curve from a file in DXF or AVL S2D or AVL flm
format.
Select Import piston to list all available files in DXF-format
(actually all files with the extension .DXF). flm-format files can
be viewed by selecting a different file filter. The same holds for
.S2D files.
The imported curve is parameterized during importing. The
curve describing the piston bowl shape is shown in the drawing
area. In the input area all parameters belonging to the selected
template (white input fields) are listed.
The parameter list of imported files starts with the inner bowl
radius Ri followed by numbered points. For each point the x and
the z component is listed. Modifying these parameters is only
recommended for models imported from S2D files.
The number of the parameters depends on the curve.
A sketch is not available for imported files.
Note: DXF-specific: To use the import filter, the curve describing the
geometry which should be modeled, should be on a separate layer. This layer
must not contain any other objects.
S2D-specific: To modify a parameter of a 2D sketch it is necessary that the
respective parameter is correctly dimensioned in AVL’s Sketcher2D.
flm-specific: The flm contour has to be in the x-y plane, otherwise the import
process is not possible.
28-Feb-2013 2-11
FIRE v2013 ESE Diesel
2.4.2.2. Injector
The shape of an injector and recessed injector can be included into the description of the
engine shape. Injector models are available as template only. Each injector template is a
parameterized model consisting of a curve describing the shape of the injector.
Create injector from Select Create injector from template to list all available injector
template templates with sketches.
After selecting a template the parameterized curve describing the
injector shape is shown in the Drawing area. In the Input area all
parameters belonging to the selected template (white input fields)
and additional measures (gray fields) are listed. In the lower part
of the Input area a sketch of the template containing all
parameter names (black font) and measures (green font) is
shown.
The names of the parameters and their number depend on the
template.
Each template consists of a number of circles and lines. The
parameters, which define a template, can be modified by
changing the respective values in the Input area. The injector
curve on the right hand side changes according to the users input
when pressing the ENTER key.
Number of injection Specifies the number of injection holes of the nozzle applied to
holes [m] the engine presently modeled.
This parameter is always shown in the parameter list in the
input area and needs to be specified independent of whether or
not the injector geometry should be included in the description of
the engine. The default value of the Number of injection holes is
4.
Based on that parameter the circumferential dimension of the
engine segment to be created is decided. A value of 4 corresponds
o
to an engine segment of 90 , or one quarter of a full model.
o
Entering a number of 3 creates an engine segment model of 120 ,
or one third of a full model.
In general the number entered here should correspond to the
number of holes of the injector belonging to the engine to be
investigated. If the user only wants to simulate aerodynamics, it
is allowed and sometimes useful to specify a Number of injection
holes different from the given facts. In that case it is
recommended to specify a larger number, such as 36, keeping the
size of the model to be created as small as possible and thus
reducing the required simulation time effectively.
2-12 28-Feb-2013
ESE Diesel FIRE v2013
Inj. Nozzle position Specifies the Z-coordinate of the nozzle hole position. It is
Z-coordinate [m] identical to the Nozzle position/Z-coordinate under Simulation
parameters/Spray/Particle Introduction
methods/Nozzles/Nozzle/Geometry Data/Nozzle position Z-
coordinate [m]. The change of this parameter will automatically
update the value in Solver GUI and also the value under
Sketcher/Block structure/Nozzle position Z-coordinate [m]. The
value of this parameter graphically represents in case there is no
injector contour defined the intersection of the red spray
direction line with the contour center axis (x=0). In case injector
contour (template) has been defined, this value is graphically an
intersection between red spray direction line and injector
contour.
Inj. Spray angle Specifies the half injection angle measured from contour center
delta 1 [deg] axis (x=0). Also this value will update the Solver GUI value for
spray (Simulation parameters/Spray/Particle Introduction
methods/Nozzles/Nozzle/Geometry Data/Spray angle delta 1
[deg]) as well as the value under Sketcher/Block structure/Spray
angle delta 1[deg].
If the injector contour is defined a set of additional parameters have to be defined (depends
from the type of injector template). For all injector templates a parameter of Nozzle point
X coord [m] is shown as information. It represents the horizontal distance of nozzle hole of
the segment center axis. This value is automatically transferred to the Spray solver GUI.
The recessed injector can be added or removed from the geometry and also the properties
can be changed. Select the check box to activate the fields for geometry manipulation.
Width Specifies half of the recessed injector radius measured from the
contour center axis (x=0).
Height Specifies the height of the recessed injector.
Angle of line to If the standard injector is added then it is possible to make a line
standard injector that connects the standard injector top point to the top of the
recessed injector on a user defined angle.
28-Feb-2013 2-13
FIRE v2013 ESE Diesel
The topology for models with a recessed injector are changed, 2 new block are added in the
recessed part and blocks that lie under the recessed part are split.
The displayed parameters are identical, disregarding whether a template (see figure below)
or a DXF-file is used.
2-14 28-Feb-2013
ESE Diesel FIRE v2013
If DXF/FLM/S2D-files are used to describe the engine geometry, the block structure
contains only the injector block and the spray block. There are additional lines displayed,
but not taken into account for meshing.
The block structure should always be checked before starting the meshing process and care
should be taken especially about the block boundaries of the injector block and the spray
block. These boundaries must not intersect with other block boundaries (green lines in
above figure) or the geometrical description of the piston and the injector (blue lines in
above figure).
Topology type For each topology there are few block structures to cover that
part of movement.
Blocks Lists of blocks for which type of meshing can be specified. Blocks
to display depend on the specified topology type. If the
interpolation check box is set, then the block will be interpolated,
if it is unchecked the block will be paved. Changing the check box
is displayed in the model sketch with change of green lines.
Blocks for which meshing can be changed are mostly injector and
spray blocks, and blocks under injector and spray.
Piston The Piston position specifies the position (crank angle) for
displacement [m] which the mesh block structure should be displayed.
Spray block: This value defines the spray block’s end corner position on the
cylinder top.
Top length B1 [m]
Spray block: This value defines the spray block’s end corner position in the
Bottom length B2 bowl volume.
[m]
Injector block: The Injector block height is the distance between point A and
Height A1 [m] the firedeck of the engine.
28-Feb-2013 2-15
FIRE v2013 ESE Diesel
Injector block: The Injector block width is the distance between point B and the
Width A2 [m] cylinder axis of the engine.
Nozzle position Z- This value describes the nozzle orifice Z-position, as it is defined
coordinate C [m] in the SSF file.
Spray angle delta 1 This value is the spray injection angle. Graphically it is
[deg] represented by its half value in the viewer. Modifying this value
changes the opening angle of the spray block and the inclination
of the red spray direction line. This value is only for mesh
generation purposes and will not be transferred to the
Sketcher/Injector/Inj. Spray angle delta 1 [deg]. Alternatively the
change of the Sketcher/Injector/Inj. Spray angle delta 1 [deg]
value will modify also this value. With that an option for
independent mesh topology and Spray GUI parameters is also
possible. By major cases all these values will be the same.
Injector block: Ranges from 0.0 to 1.0. It defines the vertical position of point C.
Bottom factor [m] It is the ratio of the Z-coordinate of C over the Z-coordinate of A.
Thus, a factor equal to 1.0 means that C is at the same vertical
position as A, whereas a factor of 0.0 would shift point A to a
position at Z = 0. It is recommended, that this value is <1 for
contour without injector and >1 for contour with injectors.
2-16 28-Feb-2013
ESE Diesel FIRE v2013
The desired compression ratio, parameters and strategy are defined with:
28-Feb-2013 2-17
FIRE v2013 ESE Diesel
Weight ESE Diesel will try to find a value of parameters in the given
range to satisfy the compression ratio condition. It will change
values with a rate that is proportional to a given weight, i.e. for
larger weights, the value will reach the boundary range faster
and for smaller weights it will reach the boundary slower.
When compression ratio is locked and some parameters are defined, it is not possible to
change the locked parameters in the Piston tab. These fields are disabled as schown in the
following figure:
After changing the values of other parameters in the Piston tab, the actual compression
ratio is changed. Now it is possible to manage the locked compression ratio with the Match
button.
2-18 28-Feb-2013
ESE Diesel FIRE v2013
2.4.2.5. Selections
Meshes created using the ESE Diesel environment can have different types of selections.
The creation of these selections is specified in Selections folder and creation of a selection
(or set of selections) can be switched on or off. By saving the ESE project these selections
will be transferred to cell selections by rotation.
Radial selections Splits model into radial parts. The number of parts can be
specified by Number of selections or radial Length of each part.
Selections are named R_nnn, where nnn is number of kind 001,
002,
Circumferential Splits model into circumferential parts. The number of parts can
selections be specified by Number of selections, or circumferential Angle
of each part. Selections are named C_nnn, where nnn is number
of kind 001, 002, ...
Piston Rim Defines a circular selection in the piston rim area. The user can
selection specify Blow factor of circle to make it a desirable size.
If activated, then piston rim circle is displayed in the Drawing
area.
Oil wetted liner Defines the region on the cylinder liner where oil in the soot
selection module will be active. This module can be switched on under
Simulation parameters (for selection oilsoot_domain only). The
default value proposed in the input field corresponds normally to
the distance from the piston top to the first compression ring
(depending from the clearance gap and bore diameter). In this
region no oil is assumed to be present, thus no soot in oil
treatment is necessary there.
Bowl volume [m3] The box behind this entry shows the volume of the piston bowl in
o
[m3]. The value refers to the volume of a full model (360 ).
Actual compr. ratio The box behind this entry shows the compression ratio calculated
[-] from the current bowl shape.
28-Feb-2013 2-19
FIRE v2013 ESE Diesel
2.4.3. Mesher
The Mesher allows the user to define all meshing parameters which describe the entire
computational grid to be created for the engine geometry defined in the Sketcher.
1. 2D meshing
2. 3D meshing
1. 2D parameters
2-20 28-Feb-2013
ESE Diesel FIRE v2013
Piston Select to add a cylindrical volume in the area of the outer piston
top land to each mesh of the set to be created. The height is
calculated according to the input of the Compression ratio in the
General engine data and the input made for Compensation
volume width.
It is not possible to set both Blow by and Piston compensation
volume.
Head Center Select to add a conical volume in the center of the cylinder head
area. The height is calculated according to the input of the
Compression ratio in the General engine data and the input
made for Compensation volume width.
28-Feb-2013 2-21
FIRE v2013 ESE Diesel
Figure 2-8: Diesel Bowl with Compensation Volume - Type ‘Valve recess’
Refine spray block Specifies if the spray block will be refined in the computational
model. To activate this, the user has to switch on the creation of
Standard selections in the Sketcher window, Selections folder.
The user can specify for which crank angles to make the
refinement. Default values are from 0 deg - 40 deg (that includes
also 320 deg - 360 deg).
2-22 28-Feb-2013
ESE Diesel FIRE v2013
Refine Piston Rim Specifies if the piston rim area will be refined in the
selection computational model. To activate, the user has to switch on the
creation of Piston Rim selection in the Sketcher window,
Selections folder.
Average cell size Enter the size in [m], which the computational elements should
[m] have in average. The Average cell size is the sole influence
factor for the number of elements in each of the two-dimensional
meshes.
Comparing the specified Average cell size with the actual value
during a background simulation of the piston movement, all
rezone events are defined by the software. A rezone occurs when
the size of particularly checked elements increases to 1.4 times,
or decreases to 0.7 times the specified value.
Dependent cell size Select the toggle switch and click on with the left mouse
[m] button to open a window which contains two (grayed out) entries
by default (see Figure 2-9). These entries correspond to 0 degCA
and the CA where a block topology change is scheduled. These
entries cannot be removed or altered.
For each range it is possible to specify the aspect ratio for that
CA range.
28-Feb-2013 2-23
FIRE v2013 ESE Diesel
Figure 2-11: Mesh Created with Cell Size 0.001 for 0 to 28.7 degCA (left: mesh at 18.8
degCA; right: mesh at 28.7 degCA)
2-24 28-Feb-2013
ESE Diesel FIRE v2013
Figure 2-12: Mesh Created with Cell Size 0.005 for Crank Angles > 28.7 degCA (left:
mesh at 28.7 degCA; right: mesh at 54.0 degCA)
If the compensation volume is specified, then the meshing process can inform about
parameter values non-consistency.
If the given compression ratio from General data is larger than the actual compression
ratio then adding compensation volume cannot resolve it. There are 2 possibilities:
1. If the given compression ratio is slightly larger than the actual, then it is possible
to handle it with squish volume. In this case the following message is displayed:
2. If the given compression ratio is much larger than the actual, so that squish
volume cannot handle the difference, then the following message is displayed:
28-Feb-2013 2-25
FIRE v2013 ESE Diesel
2. 3D parameters
Angle of cyclic If selected, then the first and last layer in the angular direction
boundary layers are set to defined angle.
[deg]
Bowl center offset For asymmetric bowls the X and Y offset relative to the cylinder
axis has to be specified.
Recessed injector For asymmetric recessed injectors the X and Y offset relative to
offset the bowl center has to be specified.
Injector offset For asymmetric injectors the X and Y offset relative to the bowl
center has to be specified.
2-26 28-Feb-2013
ESE Diesel FIRE v2013
Refine spray line The volume around the spray line can be refined (red line). Spray
line properties are defined in the Injector tab of Sketcher frame.
Spray line is defined with the Nozzle point and spray angle.
Refinement is defined in 3D meshing parameters in the Mesher
frame. Volume to refine is cylinder with user defined diameter of
base around nozzle point and length in spray line direction.
Cylinder length Depth of refinement is set in Local grid refinement dialog with
parameter Constant refinement depth.
The following figure is an example of refined cells in spray line part. The displayed
selections are mostly refined cells.
It is important to take a care about refinement parameters, since it is quite easy to get
meshes with a large number of cells. In the above example the spray line selection has
around 60% of all cells in the mesh. The example is done with parameters in Figure 2-13:
28-Feb-2013 2-27
FIRE v2013 ESE Diesel
With these parameters it is easy to calculate that each spray line volume has to have more
than 15000 small cells. Since there are layers of cells that compensate for the shrinking of
the cell size, theoverhead of one spray line is around 20000 cells in this example. That is
usually around or more than the number of cells in the initial 3D mesh. With a smaller
cylinder diameter or a larger number of subdivision, it is easy to get meshes with more
cells.
Export 3D meshes Select to create all sets of the three-dimensional engine segment
model based on the two-dimensional meshes displayed in the 2D
Mesh view. Afterwards the meshes will be exported to a user-
specified location.
MeshFileName.flm
MeshFileName.fmo
In the drawing area of the Mesher the following options are available:
Display start mesh Activate to display the first mesh of the selected pair in the
drawing area.
Display end mesh Activate to display the second mesh of the selected pair in the
drawing area.
Freeze zoom After zooming the required area of the mesh, activate this toggle
switch to keep the zoom fixed when another mesh is selected.
2-28 28-Feb-2013
ESE Diesel FIRE v2013
Mesh statistics The mesh statistics consists of the following output values:
Number of faces
Displays the number of faces of the two-dimensional mesh shown
above the output.
For both meshes of each pair of the set, the Number of faces and
the Number of boundary faces must be identical.
28-Feb-2013 2-29
FIRE v2013 ESE Diesel
Criteria The name of the criterion which a cell has to fulfill. Turn on the
relevant toggle switch on the left to include it in the quality
check. The following types are available:
• Negative area
• Aspect ratio
• Skewness
Percent The percentage of the cells compared to the total number of cells,
which fulfill the criterion.
Lower limit If a criterion has bounds, then this is the lower bound for the
criterion.
Upper limit If a criterion has bounds, then this is the upper bound for the
criterion.
Save defaults The criteria and limits are stored in the configuration file. If they
are contained in the configuration file they will be used as default
whenever the ‘Mesh quality’ window is opened.
Restore defaults The default values stored in the configuration file are restored.
Defaults from The user-defined defaults are replaced by those of the standard
installation installation.
Summary This section gives the user an overview of the result of the
performed checks.
Total number of cells is the total number of the cells the mesh
contains.
Sum of failed cells is the sum of all the Number values listed in
the criteria section.
Create Selection A cell selection is created that includes cells which failed the
marked quality checks.
Check After the desired criteria is selected and bounds are defined, the
check is performed by clicking Check.
2-30 28-Feb-2013
ESE Diesel FIRE v2013
C ... cell center, vi ... i-th vertex, ei ... i-th edge; where i = 1,2,3,4.
1. Negative area
A negative area occurs when the cell area is smaller than the given upper limit.
If any triangle ΔviCvi+1 has a negative area then the cell containing it has a partially
negative area.
If any triangle Δvivi+1vi+2 has negative area then the cell containing it has a partially
negative area (alternative).
4. Aspect ratio
Aspect ratio is defined as a = emax / emin, where emax (emin) is maximum (minimum)
edge length.
28-Feb-2013 2-31
FIRE v2013 ESE Diesel
8. Skewness
2-32 28-Feb-2013
ESE Diesel FIRE v2013
In the case of Simulation based on BOOST data and BOOST coupled simulation project
settings in Initial conditions part for Phase_1, the parameters ‘Pressure’, ‘Temperature’,
‘Turb. kin. energy’ and ‘EGR mass fraction’ are disabled because they are imported from
the BOOST file.
28-Feb-2013 2-33
FIRE v2013 ESE Diesel
2.4.5. Simulation
The Simulation allows the user to start the CFD simulation of the bowl aerodynamics, the
injection and the combustion process.
Start calculation Starts calculation wizard which is used for setting calculation
wizard parameters and starting the calculation.
2-34 28-Feb-2013
ESE Diesel FIRE v2013
Prepare calculation does all necessary steps used to create a runable case and creates a
script called run_calculation.csh (located in the case directory) containing the correct
command to start the calculation out of the shell.
If Restart option is available but not required, select Next and proceed with User-
functions.
If Restart is required, activate the Start mode toggle switch and select the desired restart
or backup file from the pull-down menu of available files. Select Next to continue.
If User-functions are required, select Add File to open the File Manager window. Check if
the file filter is set to FORTRAN file (*.f). Select the appropriate files from the location
and select OK. If two or more .f-files are required, select them by pressing Ctrl and then
OK. The selected files are displayed in a list with the full path. Select Calculate to start the
simulation with user-functions.
28-Feb-2013 2-35
FIRE v2013 ESE Diesel
Simulation allows the user to start the BOOST-coupled CFD simulation of the high
pressure cycle.
When BOOST coupled simulation is used, the following options are available:
These values will be written in the BOOST dat file which will be used by BOOST solver.
Start calculation Starts calculation wizard which is used for setting calculation
wizard parameters and starting the calculation.
2-36 28-Feb-2013
ESE Diesel FIRE v2013
2.4.7. Analyser
The Analyser is used for result evaluation based on average two-dimensional data
calculated during the simulation of the aerodynamics, the injection and the combustion in
the diesel engine segment model.
2. To display a summary of engine specific output in graphs and table (only for
diesel engine segment model)
Engine specific To display the engine specific output as graphs (only for diesel
output graphs engine segment model).
Engine specific To display a summary of the engine specific output graphs (only
output for diesel engine segment model).
Quantity plots To map the FL3 results temperature and equivalence ratio as
two-dimensional graphs.
Performing either task is based on evaluating the average two-dimensional data stored in
the file FileName.fl2, usually Case.fl2. If there is available appropriate
FileName.fl3 file in the same folder, its content will be loaded for Quality plot data.
28-Feb-2013 2-37
FIRE v2013 ESE Diesel
The width of each of the five columns of the File list can be changed using the left mouse
button, after moving the pointer above any vertical gridline of the table. If the total width
of the five columns exceeds the width of the input area, a scroll bar appears below the input
area.
The following options are available by pressing the right mouse button, after moving the
pointer above any entry in the File list:
Note: If the simulation was set up using ESE Diesel, only Friction power
should be modified using this option. Modifying the Friction power causes
quantities like BSFC, FMEP, BMEP and Mechanical efficiency to be re-
calculated. Click Compute to calculate friction power parameter (see
Friction power window below).
2-38 28-Feb-2013
ESE Diesel FIRE v2013
Line color
Line width
Line style
Symbol type
Offset (on graph’s X-axis)
for
Save to database Results loaded to the Analyzer can be saved to the database. A
file selection box opens and a filename can be specified. Together
with the fl2 and fl3 file, the ese file is copied to the database
location.
<!--add key="application.engineDatabaseDirectory"
value="" /-->
must be changed to
<add key="application.engineDatabaseDirectory"
value="NewDefaultPath" />
Load results from Loads fl2 and fl3 files stored in the database (DB) location.
DB
28-Feb-2013 2-39
FIRE v2013 ESE Diesel
Import foreign data Imports external data sets for temperature (1dT format),
pressure (1dp format) (e.g. BOOST data or measurement data)
in the following format:
Pa
151300
151305
....
#.......comment line
User must use the quantity notation of the two comment lines.
Use this option to extend the engine specific output for full cycle
values of IMEP and BMEP.
Region Select the cell selection for which the analysis should be
performed. At present only “wholeModel” is available. In case of
loading foreign data an additional selection Verification will
appear and automatically (Figure 2-21)
2-40 28-Feb-2013
ESE Diesel FIRE v2013
Quantity group Select the group which contains the quantity to be displayed.
Quantity Displays one quantity from the list of quantities offered in each
Quantity group.
Draw average curve Activate to display the average value of the quantity displayed in
the upper diagram in the drawing area as a horizontal line.
Show legend Activate to display a legend in the lower right corner of the
drawing area.
28-Feb-2013 2-41
FIRE v2013 ESE Diesel
Show whole curve Activate to allow the simple graph scaling manipulation. Using
left and right mouse allows interactive scaling manipulation in
the graph.
Select Compute in the Engine data window (Figure 2-20) to open the following window
which is used to calculate friction power. Change the parameters and then click Friction
power [W] to refresh friction power value in the friction power window. Select OK to copy
the calculated friction power value into engine data parameters.
The underlying physical friction power models are described in detail in section 2.7.3
2-42 28-Feb-2013
ESE Diesel FIRE v2013
Note: Engine specific output is not stored in the fl2 file. It is calculated
via formulae based on data contained in the fl2 file and the Friction
power [W]. The default value of the Friction power is 1000 W.
After results have been loaded (see Load results and Load results from DB), a table with
two columns is displayed in this folder. If more than one result file (fl2 file) has been
loaded, the number of columns increases accordingly.
The width of each of the columns of the table can be changed using the left mouse button,
after moving the pointer above any vertical gridline of the table. If the total width of the
columns exceeds the width of the page, a scroll bar appears at the bottom of the page.
The table of engine specific result data can be saved by Export table which exports the
contents of the table in xml or txt format
28-Feb-2013 2-43
FIRE v2013 ESE Diesel
Temperature and equivalence ratio for every cell at crank angle with maximal heat release
rate (which is read from fl2 file) and -10, -20, -30, +10, +20, +30 (or closest) degrees from
that crank angle are imported.
Two plots are supported --- the Temperature/Equivalence Ratio plot and the
Temperature/Lambda plot (note: Lambda = 1/Equivalence Ratio). The user can select in
between these two plots. Refer to Figure 2-23.
Reference:
2-44 28-Feb-2013
ESE Diesel FIRE v2013
The Report generator enables the user to create a standardized analysis report. Settings
have to be defined in the following tabs:
General Enables the user to select the chapters which should be included
in the report. Available chapters are listed below.
Data steps Enables the user to select the data steps for which colored plots
should be created.
Cuts Enables the user to select the cuts for which colored plots should
be created.
Image properties Enables the user to define the properties of the colored plots,
which should be created.
Create report Allows creating a report containing the selected features. The
format of the report is xml.
It is available in each folder of the Report generator.
28-Feb-2013 2-45
FIRE v2013 ESE Diesel
2.4.8.1. General
General allows the contents of the report to be defined. Up to four chapters can be included
in the document.
• A project including Meshes directory, Calculation and Case directory must exist.
• Mesh data must be located in the Meshes-directory.
• The *.ese file, the *.fl2 file and the *.fl3 file of the simulation case for which
the report should be created, must be located in the Case-directory.
• The fl2 file of this simulation case must be loaded.
A correct set-up of the project directory is ensured by using File | Export | CFDWM project
from the Windows menu bar after creating two-dimensional computational meshes.
The fl2 file can be loaded using Select fl2-file.
The contents of the report can be defined by selecting the following chapters:
Engine data / Writes the data listed on the right hand side of the sheet into the
Injector data report (Engine segment simulation / Spray adjustment).
Mesh statistics Writes the mesh statistics of each mesh set to into the report.
Engine specific Writes all engine specific output data into the report (Engine
output segment simulation only).
Note: If any switch is disabled, the data required could not be found.
If a *.ese file or a *.fl2 file is missing, report generation is not possible.
If a *.fl3 file is missing, Impress offline cannot be included in the report.
If a *.flm file is missing, mesh statistics cannot be included in the report.
Data step list This displays all data sets available in the fl3 file of the actually
analyzed simulation.
Select the data steps for which two-dimensional plots should be
created.
Select all Enables the user to activate all data steps shown in the list.
Deselect all Enables the user to deactivate all data steps shown in the list.
Result data list This displays all quantities available in the fl3 file of the actually
analyzed simulation.
Select the quantities for which two-dimensional plots should be
created.
2-46 28-Feb-2013
ESE Diesel FIRE v2013
Select all Enables the user to activate all quantities shown in the list.
Deselect all Enables the user to deactivate all quantities shown in the list.
2.4.8.3. Cuts
Cuts enables the cross-sections to be defined for which two-dimensional plots can be
created. By default two Predefined cuts are defined.
Formula (half This definition creates a horizontal cut (z is constant) at half the
stroke) distance between firedeck and actual piston position.
y constant This definition creates a vertical cut through the center of the
segment model.
The user can create additional cuts. The following types can be added:
• surface cuts
• phi cut - phi is an angle, describing how many degrees the cutting plane is rotated
around the z axis. phi=0 is identical to y constant = 0.
Add cut Defines additional cuts. Specify the cut type - surface or x / y / z
or phi constant in the pop-up window.
If nozzle phi cut is selected, a phi cut for each nozzle with values
from the corresponding ssf file will be generated (Modules / Spray
/ Particle introduction methods / Nozzles / Nozzle[n] / Geometry
Data / Circumferential hole distribution).
If nozzle orifice cut is selected, a cut along the spray line (spray
line data from ese file) will be generated.
User defined cuts are listed in the table for Additional cuts.
Remove cut Removes a cut from the table of the Additional cuts.
Rotated copies This option generates 'copies' of cuts to simulate a full model.
28-Feb-2013 2-47
FIRE v2013 ESE Diesel
Image size Enter the size of the image in [pixel] in x and y direction. The
[pixel x pixel] default value of the image size is 400 x 400 pixel.
Image background Enables the background color of the image to be selected. Double
[-] click on the icon to change the background color of the images.
Vector scaling Defines a scaling factor for velocity vectors. The unit of the
[m/(m/s)] scaling factor is [m / (m/s)].
Velocity line width Defines the width of the lines representing velocity vectors in
[pixel] [pixel].
Vector point size Defines the point thickness representing the start positions of
[pixel] the velocity vectors in [pixel].
Show color bar Enables the color bar to be included in the image.
All images of the report are stored in *PNG format in the newly created directory
report_images.
2-48 28-Feb-2013
ESE Diesel FIRE v2013
General engine data allows the user to specify general parameters for the spray model
simulated in the present project, i.e. data which is characteristic for this injector and
therefore helps to identify it among a number of previously performed or ongoing
investigations.
2.5.2. Sketcher
The Sketcher allows the user to define spray adjustment model geometry. Spray
adjustment models are simple pyramid/cylinder geometries that have the same topology on
both bases. Each model has parameters for specifying bases geometry and model height.
28-Feb-2013 2-49
FIRE v2013 ESE Diesel
Truncated cone Base parameters are the length of the core and core-arc distance.
with hexahedral
core
The Sketcher enables the user to define spray box model geometric properties:
Width Specifies the width of the spray box model. Values are defined in
meters.
Height Specifies the height of the spray box model. Values are defined in
meters.
Box volume [m3] The box behind this entry shows the volume of spray box in [m3].
The value refers to the volume of a full model (360 deg).
After changing the input parameters the spray box shape is redrawn and the Box volume
value will be recalculated.
2-50 28-Feb-2013
ESE Diesel FIRE v2013
2.5.2.2. Injector
The Injector enables the user to specify injector and spray cone parameters. Spray cone is
displayed with a gray area in a model.
2.5.3. Mesher
The Mesher allows the user to define meshing parameters, create a 2D mesh and export a
3D mesh. In the 2D parameters tab it is possible to specify meshing parameters:
28-Feb-2013 2-51
FIRE v2013 ESE Diesel
In the 3D parameters tab the user can set the spray line refinement and set which
segments of the 3D model to export in the mesh file.
The Mesher allows the user to define all meshing parameters. These parameters describe
the entire computation grid to be created for the spray box geometry defined in the
Sketcher.
1. 2D meshing
2. 3D meshing
1. 2D parameters
2-52 28-Feb-2013
ESE Diesel FIRE v2013
Number of cells in Specifies the number of cells in each direction. The default value
radial directions is 15.
(x and z)
Grid compression Specifies the desired compression factor in each direction. The
factor in directions default value is 1.
(x and z)
2. 3D parameters
Export 3D meshes Select to create the three-dimensional mesh based on the two-
dimensional mesh displayed in the 2D Mesh view. Afterwards the
mesh will be exported to a user-specified location.
In the drawing area of the Mesher the following mesh statistics of output parameters are
available:
28-Feb-2013 2-53
FIRE v2013 ESE Diesel
Number of faces Displays the number of cell faces of the two-dimensional mesh.
The Number of faces multiplied with the Number of subdivisions in angular direction is
the number of elements of the three-dimensional mesh.
To use different default Case.ssf files for a calculation, use the following procedure:
2-54 28-Feb-2013
ESE Diesel FIRE v2013
2.5.5. Analyser
Refer to section 2.4.7 for details on Quantity graphs and the Analyser.
All spray quantities for all time steps are imported. The z axis is the penetration length (in
mm), the x axis the length (in mm) of the projected spray particle (projected into x-z plane).
The color of the particles shows the quantity value (scaling in between minimal and
maximal value). Refer to Figure 2-31.
28-Feb-2013 2-55
FIRE v2013 ESE Diesel
2.6.1. Elements
Parameter real number value
Point 2D point
Direction 2D vector, angle value (in radian or degrees)
Line Segment between 2 points
Arc Arc between 2 points
Sets of elements:
Contour Elements that defines model contour (boundary)
2-56 28-Feb-2013
ESE Diesel FIRE v2013
Predefined elements:
Set Parameters:
Stroke 1
CRLength 1
BoundaryLayer_Num 0
BoundaryLayer_Width 0.0005
Set Contour:
Origin Point (0.,0.)
x Direction (1.,0.)
-x Direction (-1.,0.)
z Direction (0.,1.)
-z Direction (0.,-1.)
Offset 0
Bore 1
if not = 0
if not = 0
Every element has a unique name and it is referenced by it in model functions ('Point1').
Most elements are formed from other simpler elements (e.g. point from 2 coordinates.)
These parts of elements can be referenced by part specifier. Syntax for referencing element
part is <element name>.<part specifier> (e.g. 'Point1.X'.)
Point
X X coordinate parameter
Z Z coordinate parameter
Direction
R Parameter with direction value in radians
Line
S Segment starting point
28-Feb-2013 2-57
FIRE v2013 ESE Diesel
Tangents in arcs are oriented. Tangent in starting point points 'in' arc, and tangent in
ending point points 'out' of arc. It is also the same for line element, but in that case these 2
tangents have the same value.
2.6.2. Functions
Functions are model functions, so they have to be prefixed with object model.
Most functions have (first) parameter set name (e.g. 'Contour', 'Injector', ...) and (second)
parameter name.
Parameter functions
Parameters:
setn Set name
n Parameter name
v Parameter value
CreateParameterPy( string setn, string n, string fs )
Parameters:
setn Set name
n Parameter name
fs Python string that sets parameter value. See below.
2-58 28-Feb-2013
ESE Diesel FIRE v2013
Examples of expressions.
sqrt( 2 )
P('Offset') + 0.03
P('Offset') + P('TDC')
Description: <later>
Parameters:
n Parameter name
v Parameter value
SetParameter( string n, double v )
Parameters:
n Parameter name
v Parameter value
double GetParameterValue( string n )
Parameters:
n Parameter name
Parameters:
setn Set name
n Parameter name
x x coordinate parameter
y y coordinate parameter
CreatePointOnEdgeLambda( string setn, string n, string edge, string p, double lambda )
Creates new point element on an existing edge. New point is placed on relative
distance from the given point.
Parameters:
setn Set name
n Parameter name
edge Edge name.
p Point on the edge from where to measure
lambda Relative distance parameter
28-Feb-2013 2-59
FIRE v2013 ESE Diesel
Examples
Creates new point element on an existing edge. New point is placed on absolute
distance from the given point.
Parameters:
setn Set name
n Parameter name
edge Edge name.
p Point on the edge from where to measure
lambda Absolute distance parameter
Examples:
CreatePointIntersect( string setn, string n, string p1, string d1, string p2, string d2 )
Creates new point element as intersection of 2 lines. Lines are given with a point and a
direction.
Parameters:
setn Set name
n Parameter name
p1 Point on the first line.
d1 Direction of the first line.
p2 Point on the second line.
d3 Direction of then second line.
2-60 28-Feb-2013
ESE Diesel FIRE v2013
Creates new point element on a circle. Point is tangential point on circle from given
point. Circle is given with center and radius. In general position, there are 2 tangent
on a circle from given point. Last parameter (orientation) specifies which tangent
(point) will be chosen. Point orientation is defined as orientation to line c-p (center of
circle to point). Positive orientation means left (positive) from point p, looking from c.
Parameters:
Example 1:
c, r n – orientation 0 (o=0)
tangent
n – orientation 1
(o=1)
p
28-Feb-2013 2-61
FIRE v2013 ESE Diesel
Example 2:
AXIS.E
T7_A
RADIUS OF ARC, R7
'
AXIS.E
T7_A
RADIUS OF ARC, R7
2-62 28-Feb-2013
ESE Diesel FIRE v2013
CreatePointArcTangent( string setn, string n, string c1, string r1, string c2, string r2, bool
oriented, bool outer )
Creates new point element on a circle. Point is tangential point on first circle from
second circle. Circles are given with centers and radii. In general position, there are 4
tangent on 2 circles. On each 'side' one that separate circles (inner) and one that
doesn't separate circles (outer). Last 2 parameters (orientation and outer) specify
which tangent (point) will be chosen. Point orientation is defined as orientation to line
c1-c2 (line between centers). Positive orientation means left (positive) from point c2,
looking from c1. Parameter outer specifies tangent that doesn't separate circles.
Parameters:
Example 1:
outer = 1
c2, r2
outer = 0 n
c1, r1
28-Feb-2013 2-63
FIRE v2013 ESE Diesel
c2, r2
oriented = 0
c1, r1n
oriented = 1
Example 2:
R2 C2
T2_A
C3
2-64 28-Feb-2013
ESE Diesel FIRE v2013
T2_A
C2
R2
C3
C2 T2_A
R2
C3
28-Feb-2013 2-65
FIRE v2013 ESE Diesel
2.6.3. Directions
CreateDirection( string setn, string n, double r )
Parameters:
setn Set name
n Direction name
r Radian value
CreateDirectionDeg( string setn, string n, double d )
Parameters:
setn Set name
n Direction name
d Degree value
Examples:
Creates new direction element that has value specified as a shift to given reference
direction.
Parameters:
setn Set name
n Direction name
r Referenced direction element
p 1 - shifted in positive direction
0 - shifted in negative direction
a Direction element that specifies shift.
Example:
2-66 28-Feb-2013
ESE Diesel FIRE v2013
2.6.4. Lines
CreateLine( string setn, string n, string p1, string p2 )
Parameters:
setn Set name
n Direction name
p1 Starting point
p2 Ending point
CreateLine( string setn, string n, string sp, string d, string l )
Creates line element with a given starting point, direction and length.
Parameters:
setn Set name
n Direction name
sp Starting point
d Line direction
l Segment length
2.6.5. Arcs
CreateArcRPF2T( string setn, string n, string r, string pf, string tf, string tt, bool pos )
Creates arc element with a given radius, starting point, tangent in starting point and
tangent in ending point.
Parameters:
setn Set name
n Direction name
r Radius parameter
pf Starting point
tf Tangent (direction) in starting point
tt Tangent (direction) in ending point
pos 1 - Arc is constructed in positive orientation from starting point.
0 - Arc is constructed in negative orientation from starting point.
CreateArcCPP( string setn, string n, string c, string pf, string pt, bool pos )
Creates arc element with a given centre point, starting point, and ending point.
Parameters:
n Direction name
pf Starting point
pt Ending point
28-Feb-2013 2-67
FIRE v2013 ESE Diesel
Example:
2.6.6. Alias
CreateAlias( string setn, string n, string a )
Parameters:
setn Set name
n Alias name
a Referenced element name
Parameters:
setn Set name
n Parameter name
s String value.
2.6.8. Sets
CreateMeshTopology( string setn, double o )
Note: After creating new topology and before creating elements in that topology, it is
required to set offset to same value as second parameter in function
CreateMeshBlocking().
2-68 28-Feb-2013
ESE Diesel FIRE v2013
2.6.9. Blocks
CreateBlock( string setn, [string block_name,], string p1, string p2, string p3,
string p4 [, int subset] )
CreateBlockPaving( string setn, [string block_name,], string p1, string p2, string p3,
string p4 [, int subset] )
CreateBlockHybrid( string setn, [string block_name,], string p1, string p2, string p3, string
p4 [, int subset] )
Creates new block in the given topology. Function name defines which type of meshing
will be used for that block:
CreateBlock Interpolation.
CreateBlockPaving Paving.
Block can be named with optional parameter block_name. Named blocks can be
manipulated by SetBlock*() functions.
Each set (Topology:*) can contain more subsets of blocks. A subset in which there is a
block, is given with optional parameter subset. Default value is 0. Definition of more
subsets is useful when a boundary is required inside paving region (e.g. if user wants
to have paving on whole model, but to separate spray or injector region to prevent cell
deformation in that part.)
Parameters:
setn Set name.
block_name Block name. Optional parameter.
p1, p2, p3, p4 Corner of the block.
subset Subset number. Optional parameter.
SetBlockInterpolation( string setn, string block_name [, int subset] )
SetBlockInterpolation() Interpolation.
SetBlockPaving() Paving.
SetBlockHybrid() Hybrid.
Parameters:
setn Set name.
block_name - Block name.
subset Subset number. Optional parameter. Default value is 0.
SetHybridMeshWithPaving( string setn, bool seted [, int subset] )
Parameters:
28-Feb-2013 2-69
FIRE v2013 ESE Diesel
2.6.10. Selections
CreateContourSelection( string setn, string n, string p1, string edge, string p2 )
Parameters:
setn Set name
n Selection name
p1 Starting point of selection
edge Edge in which direction look for selection elements. Edge is line or
arc.
p2 Ending point of selection
Note: One of the points has to be corner (point between 2 edges) and one has to be the
point on the edge.
UnsetCompensationVolume()
Note: boundary selection should be defined in the positive orientation. That is required for
finding inner area of contour.
2-70 28-Feb-2013
ESE Diesel FIRE v2013
2.6.14. Miscellaneous
Model can be positioned in positive or negative x half-plane. Moving of points from axis and
injector points depends on that. To set in which half-plane is contour use function
SetModelPositioning( bool p ).
Parameters:
setn Name of topology set. 'Topology' or 'Topology:<index>'
edge_point1 First edge point.
edge_point2 Second edge point.
d Number of distribution.
SetNullEdgeFactor( double factor )
SetNullEdgeFactor( int topo, double factor )
Parameters:
Parameters:
p Parameter name.
d Parameter description.
28-Feb-2013 2-71
FIRE v2013 ESE Diesel
Sets factors for calculating edge lengths for edges on stretching paths on the start and
the end of the rezones. Length of edges are calculated as factor * average edge size.
Parameters:
setn Name of topology set. 'Topology:<index>'
s Edge factor for rezone start.
e Edge factor for rezone end.
SetStretchingFactors2Rezone( string setn, int n, double s1, double e1, double s2, double
e2 )
If rezone number <= n then sets first pair of factors, otherwise sets second pair of
factors.
Parameters:
setn Name of topology set. 'Topology:<index>'
n Index of rezone to change factors
s1 Starting factor of first set of rezones
e1 Ending factor of first set of rezones
s2 Starting factor of second set of rezones
e2 Ending factor of second set of rezones
SetStretchingFactorsLinear( string setn, double f_c, double f_n, double s_c, double s_n )
Parameters:
setn Name of topology set. 'Topology:<index>'
f_c, f_n Variables for first factor
s_c, s_n Variables for second factor
Default parameters are:
Parameters:
setn Name of topology set. 'Topology:<index>'
o Offset for new rezone.
Note:
2-72 28-Feb-2013
ESE Diesel FIRE v2013
If this value is set, then the number of rezones in topology will be linear to length of
topology offset range. In original case the number of rezones is around logarithmic to
length of topology range.
Example:
Note: Testing is only useful in models which have stretching paving region.
SetMaxNumberOfMeshCheckings( int n )
Sets maximal number of meshes that are created and tested to used for rezone second
mesh.
Parameters:
chech_par Defines 'relaxation' factor used for testing if second mesh is good.
Second mesh is good if:
enlargement_factor <= check_par * stretch
Recommended value is > 1.
new_dist Defines new distance for second rezone mesh. New distance is:
new_dist * old_distance * stretch / enlargement_factor
Recommended value is < 1.
Default values are 1.5, 0.9.
2.6.17. Print
Print()
Print( string n )
28-Feb-2013 2-73
FIRE v2013 ESE Diesel
First the function needs to be interpolated, in order to have x-values spaced uniformly.
Then the function needs to be transformed from time domain to frequency domain using
discrete Fourier transform (DFT). The algorithm for DFT is Cooley-Tukey and is described
in section 2.7.1.3. Afterwards the frequencies, amplitudes and phases for the transformed
function will be calculated and also the mean amplitudes for frequency band. From these
values noise will be calculated. Depending on given filters four different values will be
calculated for combustion noise.
2.7.1.1. Interpolation
Given a discrete function
y i = y (t i ) , i = 0,..., N − 1 .
2.7.1.2. FFT
The Fourier transform is a mathematical transform from a time domain to a frequency
domain. For any given continuous signal the Fourier transform provides a decomposition of
the signal into the amplitudes and frequencies of a set of sine waves which would reproduce
the original signal when summed.
2-74 28-Feb-2013
ESE Diesel FIRE v2013
To perform the transform by machine the signal has to be sampled and the discrete Fourier
transform (DFT) used.
For a finite duration discrete time signal x m of length N samples the discrete Fourier
transform (DFT) is defined as N uniformly spaced spectral samples
N −1 −2 iπ
X k = ∑ xm e
mk
N
, k = 0,.., N − 1
m =0
Where x m is the sample at time index of N and X k is a vector of N values at frequency
index k corresponding to the magnitude of the sine waves resulting from the
decomposition of the time indexed signal.
The inverse discrete Fourier transform (IDFT) is given by
N −1 2 iπ
1
∑X
mk
xm = k e N
, m = 0,.., N − 1
N k =0
From Equation above the direct calculation of the Fourier transform requires N (N − 1)
multiplications and a similar number of additions. Algorithm that reduces the
computational complexity of the discrete Fourier transform are known as fast Fourier
transforms (FFT) method. FFT method utilizes the periodic and symmetric properties of
2 iπ
−
e N
to avoid redundant calculations.
Examining the equation we can see that the calculation of the DFT would be of complexity
O(N 2 ). The direct implementation of this equation would require considerable hardware
complexity and would be slow. The complexity of the DFT calculation is greatly reduced
with the use of fast algorithms based on the nested decomposition of the summations
within the DFT. The seminal work produced on fast Fourier algorithms are the Cooley-
Tukey radix-r decimation in time (DIT).
The Cooley-Tukey algorithm is the most common FFT algorithm. It re-expresses the DFT
of an arbitrary composite size N = N 1 N 2 in terms of smaller DFTs of sizes N 1 and N 2 ,
recursively, in order to reduce the computation time to O(n log n) for highly-composite N .
Due to the algorithm's importance, specific variants and implementation styles have
become known by their own names, as described below.
As the Cooley-Tukey algorithm breaks the DFT into smaller DFTs, it can be combined
arbitrarily with any other algorithm for the DFT, for example the Prime-factor algorithm
(PFA) can be exploited for greater efficiency in separating out relatively prime factors.
28-Feb-2013 2-75
FIRE v2013 ESE Diesel
The Good-Thomas FFT algorithm is a variation of the Cooley-Tukey algorithm. This time,
assume that the block length N can be factored as the product of two relatively prime
integers N 1 and N 2 . That is,
N = N 1 N 2 , gdc( N 1 , N 2 ) = 1 .
Let
M 1 = ( N 2 ) −1 mod N 1 , M 2 = ( N 1 ) −1 mod N 2
and
x ( k1 , k 2 ) = x ( N 2 k1 + N 1 k 2 N
)
and
X (n1 , n2 ) = X ( M 1 N 2 n1 + M 2 N 1 n2 N
).
Then we get
N1 −1 N 2 −1
X (n1 , n 2 ) = ∑ ∑ x(k , k
k1 = 0 k 2 = 0
1 2 )W Nn11k1W Nn22 k2
This decomposition procedures can be extended for composite sequence lengths. Then the
sequence N is a composite number expressed by
N = 2 m p1 p 2 ⋅ ⋅ ⋅ p M −1 p M ,
where pi , i = 1,.., M are different odd integers and relatively prime, and m is a
nonnegative integer.
r −1 2πi
−
x j ← ∑ x jMODm * e
* j *k
n
, j = 1,.., m
k =0
For calculation of FFT we use functions written by Peter Valkenburg (no documentation).
2-76 28-Feb-2013
ESE Diesel FIRE v2013
X k = a k + ibk , k = 0,..N − 1
Let
X k ak b
Ak = = + i k , k = 0,..N − 1 .
N N N
n
Given N input points, the FFT returns n frequency components, of which the first are
2
valid. (The other components are mirror images of the first n and are considered invalid)
N +1
n= .
2
Amplitudes, phases and frequencies are given with formulae:
ampl j = 4 ∗ Re 2 (A j ) + 4 ∗ Im 2 (A j ) , j = 1,.., n
1
freq j = * j , j = 1,.., n
x N −1 − x0
Im(A j ) 180
phas j = arctg ∗ , j = 1,.., n
Re(A ) π
j
28-Feb-2013 2-77
FIRE v2013 ESE Diesel
fc f lower f upper
1
1 100 0.01 112
1
0.01 is used in our calculation. Lower frequency for the center frequency 100 is 89.1.
2-78 28-Feb-2013
ESE Diesel FIRE v2013
The interval is closed at the lower end and open at the other end, i.e. the lower frequency
belongs to the frequency band, whereas the upper frequency does not.
[
freq _ band = f lower , f upper )
The Y value for the interval for a specific band is calculated as mean amplitudes by
∑ ampl ( f )2
Y freq _ band =
f _ in _ freq _ band
.
number _ of _ f _ in _ freq _ ban
Convert it to dB:
Y freq _ band
Y freq _ band _ dB = 20 ∗ log 10( ) , where refValue = 2 * 10 −10 bar .
refValue
Noise in dB:
Y freq _ band
nr _ of _ f _ in _ freq _ band
).
28-Feb-2013 2-79
FIRE v2013 ESE Diesel
2-80 28-Feb-2013
ESE Diesel FIRE v2013
⋅ ∫ y (α ) ⋅ dα
1
y=
CD CD
y (α ) variable depending on α
α crank angle
y average value of y
CD cycle duration
∫ T (α )⋅ m (α )⋅ dα
TMS = CD
∫ m (α )⋅ dα
CD
T (α ) temperature depending on α
m (α ) mass flow rate depending on α
VD displacement
Note: The same definition is used for two and four stroke engines.
28-Feb-2013 2-81
FIRE v2013 ESE Diesel
1
IMEP = ⋅ ∫ pc ⋅ dV
VD CD
pc cylinder pressure
V cylinder displacement
Indicated torque:
IMEP ⋅ VD
IT =
k cycleπ
IT indicated torque
n
ncycle = for four-stroke engines
2
n crankshaft-revolutions per second
Indicated power:
Pi = IMEP ⋅ VD ⋅ ncycle
Pi
Pis =
VD
Inj. Fuelmass:
2-82 28-Feb-2013
ESE Diesel FIRE v2013
Asp. Fuelmass:
mastr , FV = mc , FV − minj , FV
Fuelmass (tot.):
mc , FV
ηtr , F =
mt , FV
mc , FV ⋅ ncycle
ISFCtr =
Pi
mt , FV ⋅ ncycle
ISFCtt =
Pi
Friction mean effective pressure:
Pfr
FMEP =
VD ⋅ ncycle
Note: FMEP does not contain the Work caused by Scavenging Pumps,
Crankcase Scavenging or mechanically driven Supercharging Devices
PS
SMEP =
VD ⋅ ncycle
28-Feb-2013 2-83
FIRE v2013 ESE Diesel
Mechanical efficiency:
BMEP BMEP FMEP
ηm = = = 1−
IMEP BMEP + FMEP IMEP
Brake specific fuel consumption:
ISFC
BSFC =
ηm
Indicated efficiency:
∫p c ⋅ dV
ηT = CD
mc , FV ⋅ H u
360
1
VD α =∫180
IMEPex = ⋅ pc ⋅ dV
540
1
VD α =∫360
IMEPin = ⋅ pc ⋅ dV
2-84 28-Feb-2013
ESE Diesel FIRE v2013
IMEP gas exchange (= pumping mean effective pressure PMEP; only four-stroke):
540
1
VD α =∫180
PMEP = ⋅ pc ⋅ dV
mc , A t
AFCmb =
mc , FV
AFCmb
λ=
AFStc
λ Excess air coefficient
Airmass at SHP:
Airpurity:
mc , A t
AP =
mc , SHP
mc , CP
RG =
mc , SHP
28-Feb-2013 2-85
FIRE v2013 ESE Diesel
Air delivered:
m as , A mas , A
λ D ,a = =
ρ a ⋅ VD ⋅ ncycle m DR , a
m as , A mas , A
λ D ,m = =
ρ m ⋅ VD ⋅ ncycle m DR , m
Mass delivered:
mas mass of fresh charge aspirated
Airmass trapped:
mtr , A mass of air trapped
mtr , A
ηtr =
mas , A
m tr , A mtr , A
ηV , a = =
ρ a ⋅ VD ⋅ ncycle m DR , a
m tr , A mtr , A
ηV , m = =
ρ m ⋅ VD ⋅ ncycle m DR , m
2-86 28-Feb-2013
ESE Diesel FIRE v2013
Scavenge ratio:
m as m
SR = = as
ρ ref ⋅ (VD + VC )⋅ ncycle mSR
m as aspirated mass flow
Scavenge Loss:
m sl msl
SL = =
m as mas
m sl mass flow lost during scavenging
Scavenging efficiency:
mtr
η SC =
mC
mtr total mass trapped
⋅ ∫ hw (α ) ⋅ dα
1
hw =
CD CD
hw (α ) wall heat transfer coefficient depending on crank angle
Effective mean gas temperature for wall heat transfer in the cylinder (M. Eff. Temp.):
⋅ ∫ TG (α ) ⋅ h(α ) ⋅ dα
1
Tg ,eff =
CD ⋅ hw CD
TG gas temperature
mc , CP , EVO − mc , FB , EVO
AFEO =
mc , FB , EVO
28-Feb-2013 2-87
FIRE v2013 ESE Diesel
Note: Gas Exchange data is defined in accordance with SAE standard
J604 (Engine Terminology and Nomenclature – General, NN, SAE -
Standard J604, sl, June 1995).
2-88 28-Feb-2013
ESE Diesel FIRE v2013
28-Feb-2013 2-89
FIRE v2013 ESE Diesel
2.7.2.3. Abbreviations
The following abbreviations are used:
µσ Flow coefficients of the ports
The last term takes the effect of a changing oil viscosity (as a function of oil temperature)
into account (Shayler et al). The specific contributions are described in the following
sections.
2-90 28-Feb-2013
ESE Diesel FIRE v2013
2.7.3.1.1. Crankshaft
The crankshaft mean effective pressure can be expressed as follows:
N Db3 Lb nb Db N 2 Db2 nb
FMEPCS = ccb 2
+ C
cs 2
+ C
td
B S nc B S nc nc
where:
B Bore [m]
S Stroke [m]
Db bearing diameter [m]
Lb bearing length [m]
nb no. of bearings [-]
nc no. of cylinders [-]
N Engine rotational Speed [rpm]
Ccb Coefficient of the hydrodynamic losses in main bearings [Pa/rpm m]
Ccs Coefficient of friction losses in main bearing seals [Pa m2]
Ctd Coefficient of friction losses due to viscous dissipation [Pa s2/m2 rpm]
N Db3 Lb nb Vp 103 1
FMEPP = c pb 2
+ C ps B + C pr 1 + N B 2
B S nc
P
(
Co × i 0.088 rc + 0.182 rc
Pa
−
)
(1.33− 2.38×10 VP )
2
where:
103 nv
FMEPCF = Cvf 1 +
N S n c
N n
FMEPCF = Cvr ⋅ v
S nc
where:
28-Feb-2013 2-91
FIRE v2013 ESE Diesel
105 ⋅ VD
FMEPIP = ⋅
0.0025
(
0.0785 + 4.02 × 10 −5 N + 1.06 ×10 −8 N 2 + 4.64 × 10 −8 IMEP + 2.17 × 10 −10 N ⋅ IMEP )
VD is the engine’s total displacement.
2.7.3.2.1. Crankshaft
The FMEP in the crankshaft group is calculated using the following equation:
n
N 0.6 Db3 Lb nb µ
FMEPCS = ccb + Ccs 2 Db
B S nc µ ref
2
B S nc
where:
2-92 28-Feb-2013
ESE Diesel FIRE v2013
n
N 0.6 Db3 Lb nb V p0.5 V p0.5 µ
FMEPP = c pb + C ps
B 2 S nc B + C pr B 2 µ
ref
where:
Cpb Coefficient for connecting rod bearing hydrodynamics) [kPa /rpm0.6 mm]
Cps Coefficient for skirt-cylinder wall hydrodynamics [kPa mm0.5 s0.5]
Cpr Coefficient for piston ring-cylinder wall [kPa mm1.5 s0.5]
n viscosity index (=0.4) [-]
10 nv
FMEPCF = Cvf 2 +
5 + µN S n c
Roller Cam Follower
N ⋅ nv
FMEPCF = Cvr
S n c
where:
28-Feb-2013 2-93