Simulation Based Engineering
Simulation Based Engineering
Simulation-Based Engineering
M. Cakmakci (&)
Department of Mechanical Engineering, Bilkent University, Ankara, Turkey
e-mail: melihc@[Link]
G. Kiziltas Sendur
Mechatronics Engineering Program, Faculty of Engineering and Natural Sciences,
Sabanci University, Istanbul, Turkey
e-mail: gkiziltas@[Link]
U. Durak
Institute of Flight Systems, German Aerospace Center (DLR), Braunschweig, Germany
e-mail: [Link]@[Link]
Keywords Engineering design cycle V-process Waterfall model Hardware-
in-the-loop simulations Feature-in-the-loop simulations Component-in-the-loop
simulations Continuum mechanics Computational electromagnetics Partial
differential equations (PDE) Finite element method (FEM) Finite-difference
method (FDM) Multi-scale methods Lumped parameter models Model-based
control system design Vehicle dynamics models Networked control systems
Discretized systems Quantization Observer models Iterative learning
3.1 Introduction
System System
Sub-System Sub-System
Component Component
DESIGN VALIDATION
steps are stressed. Simulations of varying resolution and fidelity become important
tool in the V-process, in order to conduct validations as well as the evaluations of
design decisions before the actual prototype of the system can be build.
In Fig. 3.2, the typical steps of the V-process is given based on (Ulsoy et al.
2012). The essence of the V-process is to cascade from the system level to the
smaller scale such as the component level and the level-based validation of the
work to catch problems at early stages. The different levels of validation and design
work in the V-process increase the importance of effective simulations throughout
the whole process.
Today almost all of the engineering community is using the iteration based
V-diagram process. One of the early hesitation points regarding the engineering
V-process was also its strongest feature, namely the existence of stepwise iterations
and the cost they bring to the overall development. However, the evolution of
42 M. Cakmakci et al.
Fig. 3.4
Component-in-the-loop Simula
simulations
emulated using computers using simulations and part of the system is the actual
hardware, which already designed or carried over from the previous version of the
system. In many cases the benefit of the HIL simulations are bidirectional in the
sense that they can both be used for improving the quality of the simulations using
it against the actual hardware or testing a specific prototype hardware for func-
tionality while emulating the rest of the system.
Figure 3.5 shows a hardware-in-the-loop scenario for the system and features
given in Figs. 3.3 and 3.4. This time the actual hardware of the component that
includes Features A and B are run against the rest of the system (Features C–E) all
simulated in the computer environment. It is also important to note that the
preparation of the simulations in the earlier stages help to build successive versions
of the feature, component and hardware-in-the-loop simulations. For example the
physical and electrical based build of the interface in the component level increase
the reuse of the component representation in the hardware-in-the-loop simulations.
A good example of the simulation-based V-process development is the so-called
mode-based controller development process (MBCD) in the automotive industry. In
(Ulsoy et al. 2012), a technical requirements development method is shown for a
specific battery control module example. This example shows how the vehicle
100,000-mile requirement affects specific features (control problems) for a partic-
ular vehicle application. The effect of this requirement and others define the feature
control problem to be solved. The solutions obtained from all of the features
represent the control algorithm for a vehicle.
In the design step, first the control design problem is formulated based on the
given performance requirements and developed mathematical formulation. There
will be more than one control design approach, which will provide a solution for the
control problem. By using analytical methods and/or computer simulations, the best
alternative among these candidate algorithms is selected. If the control problem is
similar to an earlier application, development teams often prefer to start with an
Fig. 3.5
Hardware-in-the-loop
simulations
Simula
3 Simulation-Based Engineering 45
existing control algorithm and try improve the solution by building upon the
existing (and proven) solution.
Then the design is implemented on the actual hardware. During the imple-
mentation phase the objective is to develop a real-time application, which will be
executed in the control module using the desired control algorithm. While devel-
oping the executable code the real-time constraints of the target hardware (i.e., the
controller module) should also be considered. Software implementation of the
algorithm should be matched to the computing resources available and if there are
overruns during the real-time execution simplifications in the algorithm should be
made, or new target hardware should be selected. In today’s modern vehicles,
controller modules also communicate with other controllers via communication
networks. The effects of the loss of this communication with one or more contacts
or the cases of limited communications should be investigated and necessary
modifications should be made.
Testing in the MBCD process starts as early as in the algorithm development
step. By testing the algorithms open-loop (Fig. 3.6a) developers can feed in simple
test vectors and analyze the test output for expected functionality. These simple
algorithms can also be tested against the simpler conceptual vehicle models, which
are available in the earlier stages of the program (Fig. 3.6b). These models are later
Engine
HIL Simulator
Dyno
or
Plant Model
Desktop Computer
Engine Controller Module
fortified with improvements based on component and vehicle testing data, which
makes them suitable for more complex testing procedures such as module, com-
ponent and vehicle in the loop types of testing.
In the later stages of the vehicle development process, a hardware-in-the-loop
simulation can be run to see the proper operation of the vehicle controller using part
real hardware and part simulations run in the computer environment as shown in
Fig. 3.7.
Models are purposeful abstractions of the real world. With abstraction while certain
aspects of the system are explicitly represented, other aspects are omitted that are
not of concern (Topçu et al. 2016). They can be physical, mathematical, and/or
logical (Sokolowski and Banks 2010). The scaled aircrafts that are used in wind
tunnels are very good examples of physical models. When they are not physical,
models are composed of a series of mathematical equations and/or logical
expressions. These models can be physics-based, data-based, or hybrid (combined).
Physics-based models can be defined as the ones which are essentially mathe-
matical and the governing equations are based on physical principles such as
thermodynamics laws or Newton’s law of motion.
The application of physics-based models in engineering domain is so common.
Since early the days of engineering, Newton’s law of motion has been used for
modeling rigid bodies. Dynamics of machinery is an engineering field that deals
with forces and moments and their effects on the motion. The theory of machines
studies the relative motion of machine elements under the effects of external forces
(Khurmi and Gupta 1976).
Modeling the mechanical behavior as a continuous mass is the topic of con-
tinuum mechanics. It is concerned with the stress in the continuous medium (solids,
liquids or gases) and their deformation or flow (Malvern 1969). Continuous as an
adjective is used to express the approximation that assumes the mass without gaps
3 Simulation-Based Engineering 47
and empty spaces thereby representing the mathematical functions as well as their
derivatives are continuous. This hypothetical medium is called continuum. The
governing physical laws in this case are conservation of mass, momentum, and
energy. These equations will be summarized in Sect. 3.2.6. The motion of viscous
fluids is mostly computed by applying Navier–Stokes equations which encom-
passes time-dependent equations for conservation of mass, momentum, and energy.
Euler equations are well-employed simplification of Navier–Stokes equations
which neglects the effects of viscosity (Schetz and Fuhs 2013). Computational
Fluid Dynamics (CFD) is the area of study which applies numerical methods like
finite difference or finite volume to solve the approximations of these equations.
Physical model of heat has also been built considering it as a fluid inside the matter.
Heat equation is a partial differential equation that concerns the distribution of heat
in material over time (Widder 1976). Solid mechanics deals with the behavior of
solid materials under load. While elasticity is the study of body that retains its
original state after releasing the load, plasticity governs the nonreversible defor-
mation of solid. Euler–Bernoulli beam equation and plate theory are well-applied
simplifications in modeling and simulation of elastic behavior. They both define the
relations between the applied forces and the resulting deflections (Fung 1965).
Finite Element Method (FEM) as will be discussed later in Sect. 3.2.3., is com-
monly employed for approximating partial differential equations within Navier–
Stokes equations, heat equation and Euler–Bernoulli beam equation (Dhatt et al.
2012). It promotes using simple approximation of unknown variables to transform
partial differential equating to algebraic equations.
Data-based models utilize the data that describes the particular aspects of the
system that is subject to modeling. It is also named as empirical modeling since the
model depends on empirical observations rather than mathematical equations
(Sokolowski and Banks 2010). While the computing power as well as the optimized
implementations of finite element analysis and computational fluid dynamics soft-
ware getting better, engineering design optimization of complex systems like air-
crafts or cars requires long lasting simulations which are sometimes unacceptable in
practice (Wang and Shan 2007). Additionally, sometimes it is required to incor-
porate data from the real world into the simulation. Data-based models, or simply
called metamodels approximate computation-intensive functions or real-world data
to analytical models. The modeling process starts with data collection using sam-
pling methods such as fractional refactoring, or Latin hypercube. Then the model is
constructed is a particular method of choice. Polynomial equations, splines,
Multivariate Adaptive Regression Splines (MARS), artificial neural networks are
some of these methods. Model fitting is done with an appropriate approach like
least squares or backpropagation.
Hybrid modeling combines previously mentioned two modeling paradigms.
While a part of a physical process is approximated using data models, the rest of the
physical process is modeled using equations that represent the law of physics. In
modeling and simulation of air vehicles, it is a common practice to develop data
models for the aerodynamics modeling, where the flight dynamics is modeled using
Newton’s laws of motion (Jategaonkar et al. 2004). The aerodynamics data may be
48 M. Cakmakci et al.
collected from the flight experiments, wind tunnel tests or with CFD runs.
Nowadays, the design of complex multidisciplinary systems such as aircrafts,
automobiles and similar is carried out using hybrid models within a Multi-
Disciplinary Design Optimization (MDO) framework (Martins and Lambe 2013).
Such procedures allow designers to incorporate all relevant disciplines simultane-
ously. The optimum of the coupled problem is superior to the design found by
optimally designing each module sequentially, since it can exploit the synergistic
coupling between them. However, this concurrent consideration results in a much
more complex problem. Therefore, systematic structuring, modeling, and approx-
imation tools have to be employed within MDO, which has been applied with
successfully to the design of many commercial products.
including EM. Some of the most popular methods used for this purpose are the
Finite Element Method (FEM), Finite Volume Methods (FVM), Finite Difference
Methods (FDM), and Boundary Element Methods (BEM). These methods are
applied to the simulation of matter in all forms, i.e., solids, liquid, and gas, based on
a major assumption of continuum media, thus Computational Mechanics of
Continua. Namely, the term continuum describes the nonseparability of the con-
sidered domain and validity of continuity between any points in the domain so that
differentiation is possible. Therefore, continuity between elements in any
continuum-based numerical technique is maintained as well. Unlike analytical exact
solutions of differential equations, which allow the solution at every point, the
numerical solution is only calculated at chosen finite number of nodes, yielding in
turn a reduction in complexity of the system. Well-known methods to conduct
continuum-based simulation are described in the next section.
One of the earliest and widely used numerical method for solving PDE’s within
continuum mechanics is the Finite-Difference Method (FDM). The main idea of
FDM is based on replacing the differential terms with respective to the spatial
coordinates with the so-called finite differences over small enough distances based
on the Taylor’s series approximation. For that purpose, the domain of interest needs
first to be discretizedinto vertical and horizontally located nodes, on which finite
differences are defined. Several finite difference integration schemes exist known as
forward, backward, and central difference schemes. It is worth noting that the FDM
is equally applicable to time differentiations. As a result of discretizing the domain
into nodes, a system of algebraic equations in terms unknowns at the chosen nodes
are constructed. Each algebraic equation belonging to its corresponding node is
expressed as a combination of function values at its own node and its neighboring
nodes. Next step is to impose boundary conditions, which leads to the solution step
of the equation system using either direct or iterative solution methods. Finally,
unknowns at each node are solved. This solution is only an approximate solution
since the finite differences are first-order approximations of the partial derivatives.
The FDM when compared with the FEM or BEM allows for a direct discretization
of the equations and does not rely on the use of interpolation functions. Therefore, it
is one of the most direct and intuitive techniques that exist for the solution of PDEs.
Moreover, for material nonlinearities, the FDM proves to be favorable as it allows
their simulation without the need of iterative techniques. However, it suffers from
relying on regular noded discretization scheme which makes modeling of irregular
geometries a challenging task. This also results in difficulties when heterogeneous
material compositions and unusual boundary conditions are present. However, the
FDM has been generalized to overcome related shortcomings through methods
based on irregular node/grid structures with methods such as irregular quadrilateral,
triangular, and Voronoi grids.
50 M. Cakmakci et al.
The Finite Volume Method is similar to the FDM method and evolved as its
successor to solve PDE’s with one major difference: these differential equations are
expressed in integral form. Its formulation leads to the concept of finite volumes,
which essentially correspond to volumes around and encompassing each node in a
mesh. Similar to the FDM, algebraic equations of unknowns at nodes are built by
replacing the integrals and by considering boundary and initial conditions. Thereby,
the system of equations to be solved is constructed. The FVM, similar to the FDM
has certain advantages such as allowing the usage of irregular unstructured mesh
and modeling capabilities of nonhomogeneous material compositions.
The Finite Element Method (FEM) was introduced in the 1960s as an alternative
method to FDM for the numerical solution of stress concentration. More impor-
tantly, it is the first numerical solution method which was capable of dealing with
complexities such as nonlinearities, nonhomogeneous materials, complex geome-
tries, and sophisticated boundary conditions. As a result, FEM was soon recognized
as the most popular numerical method in continuum mechanics, mainly so because
unlike FDM, it allowed for nonuniform discretization. The method was found more
extensive and used a decade later with the theoretical developments made by Bathe
(2006) and Zienkiewicz and Taylor (2005). Many researchers have contributed to
the development of the method which is by far the most favorite method for the
approximate solution of many sophisticated continuum mechanics problems of
dynamic, anisotropic, and inelastic behavior. It is a generic numerical solution
technique for boundary value problems coming from various disciplines. The main
principle rests on the idea of dividing the problem domain into smaller subregions
(areas or volumes) called finite elements. This is followed by typical steps of
defining local element approximations, performing assembly of finite elements and
ultimately solving the resulting global matrix equation. More specifically, the
unknown function (e.g., displacement field, temperature field, electric field, velocity
and pressure fields) is approximated via trial/interpolation functions of the nodal
values (or edge unknowns in EM problems) using polynomial functions. Numerical
integration is performed in each element using Gauss quadrature points. After
assembly, the algebraic global system of equations is obtained. Because of con-
tinuum assumptions, standard FEM methods cannot be directly and efficiently
applied to discontinuum problems involving cracks, damage-induced discontinu-
ities or singularities and failure analysis.
In addition to the well-known superiority of the FEM which is well suited for
complex analysis of systems composed of heterogeneous materials and irregular
geometries owing to the possibility of using an irregular mesh, it also proved to be
3 Simulation-Based Engineering 51
an appropriate tool for modeling various nonlinear geometries and inelastic material
behavior and nowadays material hardening and softening. Moreover, it has the
capability of representing geometric nonlinearities, contact mechanisms,
fluid-structure interaction, multi-scales, etc., as will be discussed in separate sec-
tions below. Therefore, the FEM will stand out as the mostly used and diverse
numerical method in continuum mechanics.
All products whether man-made or natural are composed of multiple scales. Taking
an example from the aeronautical industry, the Airbus A380 consists of many
thousands of structural components and many more sub-structural details.
Similarly, its fuselage consists of 750,000 holes and cutouts with different structural
and material scales. When viewed at the roughest material scale, fuselage com-
posites’ part consists of woven/textile composite and laminate scales; at the inter-
mediate scale, it is composed of a tow or yarn, which consists of a bundle of fibers.
When looked at a more discrete scale, including atomistic and ab initio scales, the
aircraft’s metal part consists of a polycrystalline scale, a single crystal scale, a
discrete dislocation scale, and also time atomistic and ab initio scales.
52 M. Cakmakci et al.
140 140
2 120 5 120
100 10 100
4
80 15 80
6
60 20 60
8 40 25 40
20 20
2 4 6 8 5 10 15 20 25
Fig. 3.8 Optimal material distribution (dielectric ranges from 20 to 140) of designed unit cell
(left) and array (right) for a desired permittivity tensor of e = [45.0;’0.70] using mathematical
homogenization and topology optimization.[reproduced courtesy of The Electromagnetics
Academy]
54 M. Cakmakci et al.
Fig. 3.9 Automated fabrication of design in Fig. 3.8 using dispensing machine within DPD in
action (left) and resulting desired deposited substrate (right). [Reproduced courtesy of The
Electromagnetics Academy]
Two main branches exist within the application of the principles of mechanics to
bulk matter: the mechanics of solids and fluids. When viewed from a global per-
spective, the common subject is that of continuum mechanics. More specifically,
continuum mechanics conceives the useful model of matter as continuously
divisible, and does not make any reference to its discrete structure at microscale,
which is well below those scales of the phenomenon of interest. Solid mechanics is
concerned with stresses, deformation, and failure of structures and solid matter.
A material is called a solid and not a fluid if it is able to support significant amount
of shear force over a certain time period of a natural process or technological
application of interest.
The main equations of continuum physics can be presented by separating them
into global and local laws. The former serve as the foundations of continuous media
theory and are summarized here (Muntean 2015). In all these formulations, X′
(t) denotes arbitrary configuration of partial volume B′ of B. More specifically,
global balance laws for the five major conservation principles are presented here for
mass, linear and angular momentum, energy, and entropy.
Mass:
The conservation of mass is expressed in its most general form as
d
mðX0 ðtÞ; tÞ ¼ 0 ð3:1Þ
dt
for all X′(t) X(t), where m(t) stands for the total mass in X′(t), i.e.,
X0 ðtÞ X0 ðt Þ
3 Simulation-Based Engineering 55
with q(t, x) denoting the density. Assuming that there is no internal mass pro-
duction, (3.2) states that the total mass of any material partial volume is conserved.
Linear Momentum:
The conservation of linear momentum or balance of forces is expressed in its
most general form as: For every part X′(t) X(t) we have
d
‘ðX0 ðtÞ; tÞ ¼ F ð3:3Þ
dt
X0 ðtÞ
d
aðX0 ðtÞ; tÞ ¼ M ð3:5Þ
dt
X0 ðtÞ
The conservation of energy balance is expressed in its most general form as: The
time rate of change of the total energy within B′ which is composed of the kinetic
energy K and internal energy E and is equal to the rate of work, say P, done by both
the body force and the contact force, plus the heat supply Q from internal heat
production and heat fluxes across the boundary of B′. So for every part X′(t)
(t), this can be written as
56 M. Cakmakci et al.
d
ðK ðtÞ þ EðtÞÞ ¼ PðtÞ þ QðtÞ ð3:7Þ
dt
where
jvj2 jvj2
K ðt Þ ¼ dlm ¼ q dx; ð3:8Þ
Z Z
X0 ðtÞ
2 X0 ðtÞ
2
X0 ðt Þ X0 ðtÞ
PðtÞ ¼
Z
v ðTnÞdr ¼
Z
~
f ~
v qdx; ð3:10Þ
X0 ðtÞ X0 ðtÞ
X0 ðt Þ X0 ðt Þ
In Eq. (3.9), e represents the inner energy density. The first term in Q(t) accounts
for the heat source. The measure lm in the equations of K(t) and E(t) corresponds to
the mass measure associated with the material body B.
Entropy:
The entropy increase within B is greater than or equal to the internal entropy
supply, i.e., internal heat source over h, which is the absolute temperature, plus the
entropy flux across the boundary of B′, which can be expressed as follows:
0 1
d@ Z fHeat qn
s dlm A ð3:12Þ
Z Z
dlm dr:
dt X0 ðtÞ X0 ðt Þ
h 0 h
@X ðtÞ
Here s represents the entropy density. It is explicitly noted that all conservation
laws are in term of extensive quantities. More specifically, global balance laws can
only be written in terms of extensive quantities. However, the intensive quantities
are related to local balance laws expressed in terms of PDEs and inequalities as well
as boundary conditions and can be derived based on global laws of the preceding
section (Muntean 2015).
Various theories govern the physics of fluid mechanics and different methods are
proposed and used in literature to provide numerical solutions/simulations primarily
depending on the spatial and temporal scale of the phenomenon. Instead of going
3 Simulation-Based Engineering 57
Fig. 3.10 Typical numerical methods used in fluid mechanics based on temporal and spatial scale
into detail with all methods, these theories and typical numerical methods employed
according to the temporal and spatial scales are summarized in Fig. 3.10. As
depicted in the graph, continuum mechanics prevails for above microscale and
below tens of meters with a time scale between 1 s and hours. When the continuum
assumption breaks down, the fluid has to be described by an atomistic point of
view, such as the molecular dynamics as a microscale method or statistical rules
govern the molecular group behavior, i.e., kinetic theories as mesoscopic methods
for larger scales. On the spatial and time scale limit, if the characteristic length is
smaller than 1 nm or the characteristic time is shorter than 1 fs, the quantum effect
may not be negligible for the system of interest and quantum mechanics has to be
brought into describe the transport. In fact, modeling at a smaller scale may present
a more accurate description of the problem, but is likely to cause a much higher
computational cost. Therefore, as always in numerical simulations, in engineering
an appropriate tradeoff is considered when trying to determine in an accurate and
fast way, the fluid behavior of interest.
Despite the emergence of high-speed platforms and the advances in efficient and
accurate numerical methods, some computational fluid dynamics (CFD) problems
still present themselves as challenging problems for the practical solution via
numerical simulation techniques. For example, NASA has recently modified its
aerospace design codes for earth science applications, thereby speeding up super-
computer simulations of hurricane formation (Kazachkov and Kalion 2002). An
example of such a CFD simulation using a 512-processor supercomputer is referred
to in (Kazachkov and Kalion 2002). More specifically, actual data from a variety of
different sources and climate models were integrated to generate high fidelity
simulations so as to reproduce a hurricane forming in the Gulf of Mexico. As a
result, engineers were able to simulate the formation and movement of a hurricane.
However, the weather forecast of global earth based on CFD atmospheric and ocean
58 M. Cakmakci et al.
simulation is still a challenging problem, and calls for even larger amount of
computing power and more accurate data. Overall, this is a multi-phase CFD
problem with very complex geometry and dynamic boundary conditions.
3.2.8 Electromagnetics
qðrÞ
r2 uðrÞ ¼ : ð3:13Þ
e
Typical examples of parabolic equations, the second group of PDE’s, are the
Schrodinger and diffusion equations. These equations are characterized by their first
time derivative and second space derivative. These are fundamental equations in
quantum mechanics and heat transfer as well as low-frequency EM propagation in
conductive media, respectively. A diffusion equation in standard form is
1 @
r2 uðrÞ uðrÞ ¼ 0: ð3:14Þ
c s @t
The third class PDE’s refers to hyperbolic equations, and an example belonging
to this group is the wave equation. It has second-order space and time derivatives.
3 Simulation-Based Engineering 59
1 @2
r2 uðrÞ uðrÞ ¼ 0: ð3:15Þ
c2 @t2
Solution of differential equations as earlier denoted are carried out by three major
methods: a subspace projection method (e.g., FEM), the FDM, and the pseudo-
spectral method. Various basis/interpolation functions are introduced to fit the
unknown field (Chew 1995) in the subspace projection method. It covers a sub-
space of the larger space that the field is defined over due to the finite characteristics
of basis functions. Thereby, the PDE is easily converted to a time dependent
ordinary differential equation. For the solution of the equation via time stepping or
marching, the derivatives can further be approximated using finite difference or the
subspace projection method. Or as an alternative, time domain Fourier transform
can be used to remove the time derivatives resulting in a matrix equation to be
solved via iterative or inversion techniques.
A major alternative exists to the numerical solution of the governing Maxwell’s
equations in EM expressed in PDE. Specifically, initially a point source response
called Green’s function can be introduced. Based on linear superposition and as a
result of an arbitrarily distributed source, the unknown field is obtained via spatial
convolution of the distributed source expressed via Green’s function. This corre-
sponds to the equivalence principle (Harrington 2001) which allows the field in a
given region to be expressed as Green’s operator acting on the sources. Hence, the
resulting equations are of integral equation type (IE). When compared with PDE, IE
have an important advantage where the EM unknowns correspond to only surface
unknowns, or to volume unknowns that occupy only a spatial finite region.
Therefore, the number of unknowns in the IE formulation may be much less than
those in the PDE formulation. More importantly, this IE formulation leads to the
automatic satisfaction of the radiation condition if a suitable Green’s function is
chosen. However, in the PDE formulation absorbing boundary conditions or the
so-known boundary integral equations replace the radiation condition. Additionally,
using the subspace projection method (Harrington 2001), these IE can be converted
into matrix equations. Equivalently, operators of the integral are replaced with
matrix operators. However, the matrix representation of Green’s operator corre-
sponds to a matrix system which is dense because of its non-local nature. Hence,
the computational storage and operations such as matrix vector products with that
type of a matrix system can be computationally expensive. In literature, some
methods have been developed to overcome these expensive matrix solutions. These
include fast Fourier transform based methods, fast-multipole-based methods,
rank-reduction methods, the nested equivalence principle algorithm, recursive
algorithms, etc. (Weng et al. 2001).
As a final class of numerical techniques for EM radiation and scattering prob-
lems, hybridized versions of the two main classes combining their advantages have
been developed. The FE-Boundary Integral (BI) method is one of the most pow-
erful techniques belonging to this class. More specifically, it offers the flexibility of
the FEM to analyze structures with highly complex geometrical and material details
60 M. Cakmakci et al.
Fig. 3.11 Design results of novel material distributions of a patch antenna via integration of
FE-BI method and topology optimization (Kiziltas et al. 2003)
but at the same time imposes a rigorous boundary condition via the use of the BI
formulation. This tool’s efficient and accurate analysis capability has allowed
researchers to conduct numerous designs (Volakis et al. 2006).
It is especially noted that these efficient and accurate codes allowed for the first
metamaterial-based antenna design using topology optimization based techniques
as shown in Fig. 3.11 (Kiziltas et al. 2003). The design developed from scratch as
shown in Fig. 3.11 was based on 5 individually textured layers which were also
fabricated and measured. The agreement between measurements and calculations is
truly impressive for the complex dielectric design. Above all, the threefold
improvement in bandwidth is a clear demonstration of the remarkable potential of
efficient and accurate numerical techniques in delivering novel designs not only in
EM but also in other engineering disciplines.
Multi-scale problems as discussed in Sect. 3.2.5, present themselves in circuits,
packages, and chips at various levels of complexity. Similarly, they exist also in
antennas on complex platforms, in nano-optics and nanolithography applications.
Therefore, multi-scale solutions of problems are critical for many applications.
Similar to other applications, the size evaluation of the EM multi-scale problem is
of great importance. More specifically, one needs to evaluate the multi-scale
structures relative to the wavelength to determine which physics of the three to
apply for their solution: circuit physics, wave physics, or optics physics. Avoidance
or identification of ill-conditioned numerical systems plays a great role in the
effective solution of multi-scale EM problems.
It is finally noted, that one of the biggest challenges today in the numerical
solutions of EM problems is the model size of realistic problems which deems
high-performance computing a vital necessity. Significant speedups have been
achieved by hardware scaling and additional efforts have resulted in three main
types of HPC platforms: (1) supercomputers, (2) computer clusters, and (3) cloud
3 Simulation-Based Engineering 61
Many realistic problems present themselves as very complex problems due to their
multi-physics nature. Scientists and engineers from various fields have been
working on the combination of different numerical techniques with the goal of
addressing these elaborate physical processes, such as the transition from contin-
uum to discontinuum (e.g., fracture processes) or the interaction of multi-phases of
matter (e.g., hydrofracture processes). As a result, a new class of numerical methods
called hybrid/multi-physics methods evolved. It is due the developments in
high-performance computing and computational science and computer hardware
that this group of methods evolved. Major examples are: Combined Finite-Discrete
Element Method (F-DEM), Hybrid Lattice Boltzmann-FEM, Lattice
Boltzmann-DEM, etc. Areas of interest include algorithms and novel solutions for:
– Coupling of FEM and DEM simulations
– Coupling of FEM and/or DEM with CFD solvers
– Coupling of different solvers of continuum mechanics, e.g., FEM-FVM.
– Coupling of continuum and discontinuum mechanics solvers, e.g., FEM-DEM,
FEM-MPM, FEM-LBM, etc.
– Coupling of solid and fluid mechanics solvers, e.g., FEM-LBM, FEM-FVM,
etc.
– Coupling of discontinuum mechanics solvers, e.g., DEM-SPH, DEM-LBM, etc.
– Coupling of solvers for different scales, e.g., coupling of FEM-DEM.
reported in Rajamani et al. (2000), Ulsoy et al. (2012). However for many vehicle
engineering studies such as axle-based traction control (Cakmakci et al. 2011;
Dokuyucu and Cakmakci 2016) more complicated representations (i.e., higher
fidelity simulations) that are also suitable for V-process development model dis-
cussed in Sect. 3.1 is needed.
One way to improve the fidelity of the simulations is to increase the degree of
freedom of its underlying mathematical model. This can be done by increasing the
number of flow variables representing the inertia element, or adding more inertia
elements to the system simulation. As an example of increasing the fidelity of the
model by adding new flow variables to the inertia representing is the half-car model
for vertical motion given in Fig. 3.13.
In Fig. 3.13, the vertical motion of a vehicle is represented with two degrees of
freedom (translation and rotation about the center of mass) rather than only the
vertical motion of the mass of the vehicle. A detailed mathematical model describing
this system can be found in (“Automotive Suspension—MATLAB Simulink
Example,” n.d.) 2017, using road elevations, q, as input and vertical movement of
the center of mass, z, and body rotation, h as outputs. With this representation in
simulations, the vertical motion of the occupant area can be studied as well as the
wheel based vertical road force, which is critical for traction control studies such as
wheel-based braking, and acceleration with so-called load transfer.
Another way of increasing the content is to increase the number of inertial
elements considered in simulations. In this case, rather than using a single system
boundary, where all of the components were lumped together before, can be broken
into components and their relative interaction can be studied.
A good example for this kind of situation is the quarter car model shown in
Fig. 3.14. In this model, a quarter of vehicle vertical dynamics is studied using
quarter of the mass of the vehicle with the suspension system represented by ks and
cs, f, tire parameters, kus and cus and vertical motion variables, z.
The mathematical equations representing this simulation is given in (3.18) based
on Newton’s second law:
K1 C1 K2 C2
Road
excitation q1 q2
64 M. Cakmakci et al.
W. H
ub
W. H
ub
on
a
l ev
a dE
Ro
C(s), where s is the Laplace variable. The dynamic controller relationship can also
be represented by a matrix equation pair generally given in the form x_ ¼
Ax þ Bu; q ¼ Cx þ Du where u is the controller input, q is the controller input, and
x is the controller states. These representations both imply a continuous system
where calculations or events take place instantaneously using a specific order.
However, when implemented in a real-time control system, algorithm computations
take certain amount of time to finish before an updated command can be issued. For
many systems with fast dynamics, the effect of implementation generates a defi-
ciency in performance since the optimal performance was designed for a medium
where events take place instantaneously.
More realistic and predictable results can be obtained by using discrete control
systems that take into consideration of the digital timing in their formulation
(Franklin et al. 2009; Ogata 1995). Algorithms can be designed and simulated as
digital controllers using adaptations of the continuous methods. Alternatively,
continuous controller functions can be digitized afterwards using simple methods.
For example by using a direct conversion approach, a controller transfer function C
(s) can be converted to its discrete version by replacing the s operator with
ðz 1Þ=Tz using a backward difference transformation. In this recipe z is the dis-
crete variable and T is the sampling period.
Another important aspect of implementation of an algorithm in the digital world
is the effect of quantization. Real numbers can have infinitely large digits during
calculations, however for computers, it is more practical and maintainable to do
operations in chunks of bits causing the calculations to take place in limited digits,
which cause round off errors [Franklin et al.]. The effects of digitization and
quantization can both be included in simulations to predict possible controller
performance degradation in engineering systems.
Another important aspect in implementation of the control systemsis to include
the hardware related properties such as un-modeled sensor/actuator dynamics (S
(s) and A(s) respectively) and the effect of sampling as shown in Fig. 3.17.
In many controller development activities, the controller is designed based on
the plant dynamics P(s) only without including the sensor (S(s)) and actuator (A(s))
dynamics. The dynamic response effects provided by actuators and sensors can be
included in simulations by using time delays, noise, and offsets. The effect of digital
to analog conversion in the actuator is modeled as a zero-order hold (ZOH) element
that keeps the value of the actuator output constant for one time step. This element
also represents the fact that the actuator has internal dynamics and cannot change its
output instantaneously. A sampler element is used at the sensor to represent the
(b) C A
Controlled
S
System (P)
u r,s u y
Network
(c) Controlled
System
A1 S1 A2 S2 A3 S3
C1 C2 C3
Network
analog to digital sampling with rate T. This models the behavior of the sensor that it
can only report plant outputs in every T seconds. Adding these effects to the overall
simulation of the system provides more realistic performance studies.
Finally, in today’s engineering applications, a common approach is to use
communication networks instead of dedicated digital communication lines as
shown in Fig. 3.18a, b. In fact, the benefit of this networked structure is being able
to integrate as many components together with the capability of increased resources
and easy maintenance as shown in Fig. 3.18c (Cakmakci and Ulsoy 2009).
However, with the introduction of networks, the communication among system
components can experience delays (or even loss of contact) as reported and studied
by many researchers (Lian et al. 2002; Walsh et al. 2002). To remedy this effect, the
overall system can be simulated using worst communication delays possible to
measure the performance using step size-based delay elements and the controllers
are calibrated accordingly.
One of the important use of simulations that predict system performance after the
product design phase is to employ them as observers and/or monitoring threads in
actual systems running in parallel and making predictions/modifications to improve
system performance.
A good example of this type of utilization is the friction observers in robotic
locomotion devices such as the one developed in Ristevski and Cakmakci (2015) as
shown in Fig. 3.19. Many non-wheeled robotic systems observe the friction force
during translation. Inside the controller, a simulation of the whole system based on
the dynamic force balance is run to predict the effective friction force called the
friction observer. The friction predictions from this observer is used to update level
68 M. Cakmakci et al.
of the actuator force given to the system as an offset in parallel with its feedback
controller so that the response performance can be improved almost 25%.
Another application of after-design simulation work in engineering systems is
the pre-analysis and optimization of inputs embedded in computers of the manu-
facturing systems. Manufacturing of small parts can be costly and cumbersome
since it often requires trial and error of adjustment of the machine settings.
However, a remedy to this can be found by use of virtual iterative learning as
reported in (Türeyen et al. 2016). A simulation of the additive-manufacturing
system can be developed and used in parallel with a learning algorithm on the
dimensional error of the final part before the real production is actually ran as
shown in Fig. 3.20a. Researchers report using this method can improve the
dimensional accuracy of a representative part up to 75% (Fig. 3.20b).
It is finally noted that similar to MDO based efforts for designing multidisci-
plinary systems such as automotive and aerospace products, there has been a con-
tinuous effort to design controlled mechanical systems using co-design strategies
(Patil et al. 2010). The ultimate goal in these studies is to develop design frameworks
that allow to reach system optimal designs from both the control and the mechanical
design perspectives. Toward that goal, one such recent study is performed in
(Kamadan 2016) where co-design strategies are proposed for robotic systems.
3 Simulation-Based Engineering 69
First Run
The ultimate objective within nearly all engineering projects is to reach a functional
design without violating any of the performance, cost, time, and safety constraints
while optimizing the design with respect to one of these metrics. Generally, in the
beginning of each project, wish list like high-level requirements for the msyste
70 M. Cakmakci et al.
performance are specified. Then, high-level requirements are cascaded down to the
lower levels of the system allowing systematic design steps to be applied to these
well-defined engineering design problems. The resulting problems are concrete
problem constructs that contain quantifiable performance and constraint metrics. In
time, two primary approaches emerged for the solution of complex engineering
design projects. With the early approach also known as the “Waterfall Design
Process”, the subproblems can be tackled and solved sequentially. In recent years,
as an extension of “Waterfall Design Process”, a new approach has emerged called
the “V-model” where scalable and varying fidelity simulations plays an important
role before the actual prototype of the system can be build.
A good mathematical model is at the heart of each powerful engineering sim-
ulation being a key component in the design process. These models can be obtained
by using physics-based methods, empirical collections and analysis or a combi-
nation of these two for balanced fidelity and complexity. Another important aspect
of developing simulations is its resolution, or in other words its building blocks. In
the simulation of the continuum, systems can be built from their smallest elements
using the most fundamental forms of the governing equations. Sometimes, a
lumped parameter-based simulation of machinery approach can be taken to simplify
the simulations and the forthcoming engineering work such as in the case of the
model based control system design.
The introduction of efficient and powerful platforms enabled researchers to
solve/simulate the constitutive laws of continuum in mechanics in combination with
the laws of conservation of mass, energy, and momentum. The same is valid for
other fields including fluid mechanics and EM. Some of the most popular methods
used for this purpose are the Finite Element Method (FEM), Finite Volume
Methods (FVM), Finite-Difference Methods (FDM), and Boundary Element
Methods (BEM). These methods are applied to the simulation of matter in all forms,
i.e., solids, liquid, and gas, based on a major assumption of continuum media, thus
Computational Mechanics of Continua. Namely, continuum describes the non-
separability of the considered domain and validity of continuity between any points
in the domain so that differentiation is possible. Therefore, continuity between
elements in any continuum based numerical technique is maintained as well.
Many realistic problems present themselves as very complex problems due to
their multi-physics and multi-scale nature. More specifically, scientists and engi-
neers from various fields have been working on the combination of different
numerical techniques with the goal of addressing these complex and elaborate
physical processes, such as the transition from continuum to discontinuum (e.g.,
fracture processes) or the interaction of multi-phases of matter (e.g., hydrofracture
processes) at micro–macro scales. As a result, new classes of numerical methods
called hybrid or multi-physics and multi-scale methods evolved.
In today’s world, developing multidisciplinary systems such as for instance
cyber-physical systems that consist of both mechanical and electrical components
constitute a key part of the engineering projects. These types of systems contain
software algorithms, digital sampling and power electronics, mechanical compo-
nents as well as communication networks that have to be developed concurrently to
3 Simulation-Based Engineering 71
work coherently. This critical need for coherence has rapidly increased the
importance of developing multi-domain simulations and engineers capable of
supporting multidisciplinary analysis and design methodologies.
Review Questions
1. What are the primary phases of the engineering design cycle and how is sim-
ulation work used in each of them?
2. Name some of the numerical methods that exist to solve continuum problems.
3. Which type of problems can be classified as multi-physics and multi-scale
continuum problems?
4. What challenges exist today when solving continuum problems?
5. What do all numerical methods suited to solve continuum problems have in
common?
6. What are the effects of not-considering supporting hardware (networks, digital
computers, etc.) to simulation performance in engineering systems?
7. What are possible uses for the simulations developed for the design cycle after
product release to improve performance?
References
Franklin, G. F., Powell, J. D., & Emami-Naeini, A. (2009). Feedback Control of Dynamic Systems
(6th ed.). Prentice Hall. Retrieved from [Link]
Fung, Y.-C. (1965). Foundations of solid mechanics. Prentice Hall.
Gurel, L., & Ergul, O. (2007). Fast and accurate solutions of extremely large integral-equation
problems discretised with tens of millions of unknowns. Electronics Letters, 43(9), 499–500.
Harrington, R. F. (2001). Time-Harmonic Electromagnetic Fields. New York. IEEE Press.
Jategaonkar, R. V, Fischenberg, D., & Gruenhagen, W. (2004). Aerodynamic modeling and
system identification from flight data-recent applications at dlr. Journal of Aircraft, 41(4),
681–691.
Kamadan, A. (2016). Development of Co-design frameworks for optimal variable compliant
actuation. Sabanci University.
Karnopp, D. C., Margolis, D. L., & Rosenberg, R. C. (2000). System Dynamics- Modeling and
Simulation of Dynamic Systems (Third Edit). Wiley-Interscience.
Kazachkov, I. V, & Kalion, V. A. (2002). Numerical Continuum Mechanics. Lecture notes. KTH.
Khurmi, R. S., & Gupta, J. K. (1976). Theory of machines. Eurasia.
Kiziltas, G., Psychoudakis, D., Volakis, J. L., & Kikuchi, N. (2003). Topology design optimization
of dielectric substrates for bandwidth improvement of a patch antenna. IEEE Transactions on
Antennas and Propagation, 51(10), 2732–2743.
Lian, F., Moyne, J., & Tilbury, D. (2002). Network Design Consideration for Distributed Control
Systems. IEEE Transactions on Control Systems Technology, 10(2), 297–307.
Malvern, L. E. (1969). Introduction to the Mechanics of a Continuous Medium.
Martins, J. R. R. A., & Lambe, A. B. (2013). Multidisciplinary Design Optimization: A Survey of
Architectures. AIAA Journal, 51(9), 2049–2075. [Link]
Milton, G. W. (2002). The theory of composites (Cambridge monographs on applied and
computational mathematics).
Muntean, A. (2015). Continuum Modeling: An Approach Through Pratical Examples. Springer.
Ogata, K. (1990). Modern Control Engineering. Prentice Hall.
Ogata, K. (1995). Discrete-Time Control Systems (2nd ed.). Prentice Hall. Retrieved from
[Link]
Patil, R., Filipi, Z., & Fathy, H. (2010). Computationally Efficient Combined Design and Control
Optimization using a Coupling Measure. IFAC Proceedings Volumes, 43(18), 144–151.
[Link]
Rajamani, R., Choi, S. B., Law, B. K., Hedrick, J. K., Prohaska, R., & Kretz, P. (2000). Design
and Experimental Implementation of Longitudinal Control for a Platoon of Automated
Vehicles. Journal of Dynamic Systems, Measurement, and Control, 122(3), 470–476.
[Link]
Rajamani, R., & Hedrick, J. K. (1995). Adaptive observers for active automotive suspensions:
theory and experiment. IEEE Transactions on Control Systems Technology, 3(1), 86–93.
[Link]
Ristevski, S., & Cakmakci, M. (2015). Mechanical design and position control of a modular
mechatronic device (MechaCell). In 2015 IEEE International Conference on Advanced
Intelligent Mechatronics (AIM) (Vol. 2015–August, pp. 725–730). IEEE. [Link]
1109/AIM.2015.7222623.
Schetz, J. A., & Fuhs, A. E. (2013). Fundamentals of fluid mechanics. John Wiley & Sons.
Sokolowski, J. A., & Banks, C. M. (2010). Modeling and simulation fundamentals: theoretical
underpinnings and practical domains. John Wiley & Sons.
Topçu, O., Durak, U., Oğuztüzün, H., & Yilmaz, L. (2016). Distributed Simulation. Cham:
Springer International Publishing. [Link]
Tureyen, E. B., Karpat, Y., & Cakmakci, M. (2016). Development of an iterative learning
controller for polymer based micro-stereolithography prototyping systems. In 2016 American
Control Conference (ACC) (pp. 852–857). IEEE. [Link]
Ulsoy, A. G., Peng, H., & Çakmakci, M. (2012). Automotive Control Systems [Hardcover].
Cambridge University Press. Retrieved from [Link]
Systems-Galip-Ulsoy/dp/110701011X.
3 Simulation-Based Engineering 73
Volakis, J. L., Mumcu, G., Sertel, K., Chen, C.-C., Lee, M., Kramer, B., … Kiziltas, G. (2006).
Antenna miniaturization using magnetic-photonic and degenerate band-edge crystals. IEEE
Antennas and Propagation Magazine, 48(5).
Walsh, G. C., Ye, H., & Bushnell, L. (2002). Stability Analysis of Networked Control Systems.
IEEE Transactions on Control Systems Technology, 10(3), 438–446.
Wang, G. G., & Shan, S. (2007). Review of metamodeling techniques in support of engineering
design optimization. Journal of Mechanical Design, 129(4), 370–380.
Widder, D. V. (1976). The heat equation (Vol. 67). Academic Press.
World-Record Algorithm from Jülich Calculates Over Three Trillion Particles - Research in
Germany. (2011). Retrieved February 15, 2017, from [Link]
research-landscape/news/news-archive/2011/08/2011-08-02-world-record-algorithm-from-
[Link].
Zienkiewicz, O. C., & Taylor, R. L. (2005). The finite element method for solid and structural
mechanics. Butterworth-heinemann.
Author Biographies
Gullu Kiziltas Sendur is Associate Professor with the Mechatronics Engineering Program,
Sabanci University. She received the [Link]. and [Link]. in Mechanical Engineering from the Middle
East Technical University, Ankara, in 1995 and 1998, respectively, and the Ph.D. in mechanical
engineering from the University of Michigan, Ann Arbor, in 2003. She was a Postdoctoral
Researcher with both the Electro-Science Laboratory, Ohio State University and the University of
Michigan. She also coordinated with the Ceramic Research Group, Material Science and
Engineering Department, University of Michigan, on the advanced fabrication of dielectric
composites. Her research efforts center on the design, analysis, and fabrication of complex
engineering systems, such as miniaturized electromagnetic, electromechanical, and biomedical
devices and multidisciplinary design optimization techniques. She has published a book chapter,
numerous journal and conference articles and was honored with Career Award by TUBITAK
(2007) and Young Scientist Award by the Science Academy of Turkey (2008). She is a member of
the IEEE, ASME, and ACerS.
Umut Durak is a research scientist in the Institute of Flight Systems at the German Aerospace
Center. He is also Adjunct Lecturer in the Department of Informatics at Clausthal University of
Technology. His research interests include model-based simulation engineering, simulation-based
systems engineering and ontologies in simulation. He received his BS, MS and Ph.D. degrees in
Mechanical Engineering from Middle East Technical University (METU) in Turkey. He is a
member of the Society for Computer Simulation International (SCS) and Arbeitsgemeinschaft
Simulation (ASIM) and a senior member of the American Institute of Aeronautics and
Astronautics (AIAA). And, he is a part of AIAA Modeling and Simulation Technical Committee
and editorial teams of the Simulation: Transactions of the Society for Modeling and Simulation
International; and the International Journal of Modeling, Simulation, and Scientific Computing.