MTE204
MTE204
ENGINEERING II
(Course Code: MTE204, Units: 1 )
for
Bachelor of Engineering
in
Mechatronics Engineering
Introduction to Simulink
Page 3 of 78
1.0. What Is Simulink
1. Library window: this contains several library and each library contains blocks
2. Workspace window: this is where the Simulink model is constructed
Models can easily be constructed from scratch, or an existing model can be taken and
addition made to it. Simulations are interactive, so one can change parameters in real
time and immediately see the outcome.
Simulink turns the computer into a lab for modeling and analyzing systems. The
workspace window in Simulink provides a graphical user interface (GUI) for building
models as block diagrams, using click-and-drag mouse operations. Here one can draw
the models just as you would with pencil and paper. Simulink includes a
comprehensive block library of sinks, sources, linear and nonlinear components, and
connectors. One can also customize and create his own blocks. After drawing a model,
one can simulate it, using a choice of integration methods, either from the Simulink
menus or by entering commands in the MATLAB Command Window. Using scopes
and other display blocks, you can see the simulation results while the simulation is
running. The simulation results can be put in the MATLAB workspace for post-
processing and visualization. MATLAB and Simulink are integrated, so one can
simulate, analyze, and revise your models in either environment at any point.
Simulink can be used to explore the behavior of a wide range of real-world dynamic
systems, including electrical circuits, shock absorbers, braking systems, and many
other electrical, mechanical, and thermodynamic systems.
Page 4 of 78
2.0. Building a Model
The model below integrates a sine wave and displays the result along with the sine
wave. The block diagram of the model looks like this.
Fig. 1
Page 5 of 78
Now drag a copy of the Sine Wave block from the browser and drop it in the
model window.
Examine the blocks above; observe the angle bracket on the right of the Sine
Wave block and two on the left of the Mux block. The > symbol pointing out of a
block is an output port; if the symbol points to a block, it is an input port. Signal travels
out of an output port and into an input port of another block through a
connecting line. When the blocks are connected, the port symbols disappear.
4. To connect the blocks, connect the Sine Wave block to the top input port of the
Mux block. Position the mouse pointer over the output port right side of the
Sine Wave block. Notice that the cursor shape changes to crosshairs.
Hold down the mouse button and move the cursor to the top input port of the
Mux block.
Page 6 of 78
Now release the mouse button. The blocks are connected.
However, to create the branch line; such as that connects the Sine Wave output
to the Integrator block in Fig.1 above;
i. First, position the pointer on the line between the Sine Wave and the
Mux block.
ii. Press and hold down the Ctrl key (or click the right mouse button).
Press the mouse button, and then drag the pointer to the Integrator
block’s input port or over the Integrator blocks itself.
iii. Release the mouse button. Simulink draws a line between the starting
point and the Integrator block’s input port.
Finish making block connections. When you’re done, your model should
look something like this:
Page 7 of 78
Note; the branch line carries the same signal that passes from the Sine Wave
block to the Mux block.
Now we set up Simulink to run the simulation for 10 seconds. First, open the
Configuration Parameters dialog box by choosing Configuration Parameters from the
Simulation menu. On the dialog box that appears, notice that the Stop time is set to
10.0 (its default value).
Fig. 2
Close the Configuration Parameters dialog box by clicking the OK button. Simulink
applies the parameters and closes the dialog box. Now double-click the Scope block
to open its display window. Finally, choose Start from the Simulation menu and watch
the simulation output on the Scope.
Fig. 3
The simulation stops when it reaches the stop time specified in the Configuration
Parameters dialog box or when you choose Stop from the Simulation menu or click
the Stop button on the model window’s toolbar (Windows only).
Page 8 of 78
To save this model, choose Save from the File menu and enter a filename and location.
That file contains the description of the model.
To terminate Simulink and MATLAB, choose Exit MATLAB
Simulink can be used to solve evaluate various types of dynamic systems. Consider
the first order differential equation:
The schematics of the model of solving the system problem is presented in Figure 1
Therefore, the Simulink model is presented in Figure 2 after inputting the parameters of the
sine wave, sum and integrator blocks.
Page 9 of 78
Figure 2 Simulink model 1
The simulation of the model gives the output of the system as presented in Figure 3. Obtained
by double-clicking the Scope to see the solution. Figure 3 shows the Scope plot after using the
auto-scale ( ) feature to rescale the scope view.
However, we can make further changes to the system by checking the Configuration
Parameters under the Simulation menu item. See Figure 4. In particular, changing the
Refine Factor to 10 units can lead to smoother solutions.
Page 10 of 78
Figure 4 System configuration parameter - Data Import/Export Parameters. Changing
the Refine Factor to 10 units for smoother solution
Until now we have inputed the initial condition for the integrator internally. However,
there are instances whereby we will like to do same externally. Double-click the
Integrator block and change the initial condition source from internal to external
Figure 6. This adds another input to the block Figure 7. Drag a Constant block from
the Sources group into the model, connect it to the new input, and change the constant
value to the desired initial value. This results in the simulation shown in Figure 8.
Page 11 of 78
Figure 7 Additional input to integrator block
Figure 8 Constant block addition as external initial condition source for the integrator
The simplest differential equations are those governing growth and decay. As an
example, we will discuss population models. Let P(t) be the population at time t. We
𝑑𝑝
seek an expression for the rate of change of the population, . Assuming that there is
𝑑𝑡
no migration of population, the only way the population can change is by adding or
subtracting individuals in the population. The equation would take the form
𝑑𝑝
= 𝑅𝑎𝑡𝑒 𝐼𝑛 − 𝑅𝑎𝑡𝑒 𝑂𝑢𝑡.
𝑑𝑡
𝑅𝑎𝑡𝑒 𝐼𝑛 = 𝑏𝑃 𝑎𝑛𝑑 𝑅𝑎𝑡𝑒 𝑂𝑢𝑡 = 𝑚𝑃.
𝑑𝑝
= 𝑏𝑝 − 𝑚𝑝
𝑑𝑡
𝑤ℎ𝑒𝑟𝑒, 𝑘 = 𝑏 − 𝑚
𝑑𝑝
𝑇ℎ𝑒𝑛, = 𝑘𝑝
𝑑𝑡
The equation above can be modelled easily in Simulink. Using Integrator, Constant, Gain, and
a Scope block. Given the initial value, 𝑃(0) = 8 and 𝑘 = −0.8
Page 12 of 78
Figure 9 Simulink model for exponential growth and decay
Figure 10 Solution for the exponential decay with P(0) = 8 and k = -0.8. The simulation time was set at 10
The law of cooling is attributed to Isaac Newton (1642-1727) who was probably the
first to state results on how bodies cool. For instance A cup of hot tea, kept in a room
will cool off and reach room temperature after a period of time. The main is idea is
that a body at temperature 𝑇(𝑡) is initially at temperature 𝑇(0) = 𝑇0. It is placed in
an environment at an ambient temperature of 𝑇𝑎. The goal is to find the temperature
at a later time, 𝑇(𝑡).
Let assume that the rate of change of the temperature of the body is proportional to
the temperature difference between the body and its surroundings. Thus, we have
𝑑𝑇
∝ T − Ta
𝑑𝑡
Page 13 of 78
The proportionality is removed by introducing a cooling constant,
𝑑𝑇
= −K (T − Ta)
𝑑𝑡
Where, 𝐾 > 0
Example 2.2
Using Simulink; A cup of tea at 60oC is placed in a room with a temperature of 20oC.
Find the temperature of a cup of tea at time 60s and 80s. given k = 0.1 s-1
Page 14 of 78
Figure 11 Simulink model Newton's law of cooling
Figure 12 Solution for T0 = -k(T - Ta), T(0) = T0. Here we set k = 0.1 s-1, Ta = 20oC, and T0 = 60oC.
From the Figure 12, the cup temperature at 60s and 80s is 20oC
Note that example 2.1 shows the mathematical method where the equation to solve is
𝑇(𝑡) = 𝑇𝑎 + (𝑇0 − 𝑇𝑎 )𝑒 −𝑘𝑡
Consider an object falling to the ground with air resistance? Free fall is the vertical
motion of an object solely under the force of gravity. It has been experimentally
determined that an object near the surface of the Earth falls at a constant acceleration
Page 15 of 78
in the absence of other forces, such as air resistance. This constant acceleration is
denoted by −g, where g is called the acceleration due to gravity. The negative sign is
an indication that we have chosen a coordinate system in which “up” is positive.
𝑦̈ (𝑡) = −𝑔
𝑣̇ = 𝐾𝑣 2 − 𝑔
Figure 14 Solution for free fall with drag with k = 0.00159 starting from rest.
Page 16 of 78
2.3. Working with Simulink Output
Often we might want to access the solutions in MATLAB. Using the model in Fig. 8
add the To Workspace block from Sinks Library. Double-click and rename the simout
variable name as y and change the output type to array Figure 15. Run the simulation.
This will put tout and y data into the MATLAB workspace. In MATLAB you can plot
the data using plot (tout,y). You can add labels with xlabel(‘t’), ylabel(‘y’), title(‘y vs
t’).
For example, one might want to copy images produced by the scope or your model
into an MS Word document. Select the Scope Figure window in Fig. 5, then hit
ALT+PrintScrn to copy the Figure to a clipboard and paste the Figure into your
application.
Once you have made a model, you might want to include it in a report; this can be
done by typing the following in the MATLAB command window:
print('-sModelName','-desp,'model.esp')
Page 17 of 78
2. For jpg files, you can use
print('-sModelName','-djpeg','model.jpeg')
The picture file of the model will appear in MATLAB current folder.
Page 18 of 78
3.0. How Simulink Works
Simulating a dynamic system is a two-step process with Simulink. First, a user creates
a block diagram, using the Simulink model editor that graphically depicts time-
dependent mathematical relationships among the system’s inputs, states, and outputs.
The user then commands Simulink to simulate the system represented by the model
from a specified start time to a specified stop time.
A classic block diagram model of a dynamic system graphically consists of blocks and
lines (signals). The relationships between each elementary dynamic system in a block
diagram are illustrated by the use of signals connecting the blocks. Collectively the
blocks and lines in a block diagram describe an overall dynamic system.
1. Nonvirtual blocks represent elementary systems. Blocks that plays specific role
in the definition of the system of equations described by the block diagram
model.
2. Virtual block is provided for graphical organizational convenience and plays
no role in the definition of the system of equations described by the block
diagram model. Examples of virtual blocks are the Bus Creator and Bus Selector
which are used to reduce block diagram clutter by managing groups of signals
as a “bundle.” You can use virtual blocks to improve the readability of your
models.
Because we use the term block diagrams in other fields, the term “time-based block
diagram” is used to distinguish block diagrams that describe dynamic systems in
Simulink from that of other forms of block diagrams.
Page 19 of 78
specified “start time” and ends at a user specified “stop time.” Each
evaluation of these relationships is referred to as a time step.
ii. Signals represent quantities that change over time and are defined for
all points in time between the block diagram’s start and stop time.
iii. The relationships between signals and state variables are defined by a
set of equations represented by blocks.
3.3. Time
Time is an inherit component of block diagrams in that the results of a block diagram
simulation change with time. Simply put, a block diagram represents the
instantaneous behavior of a dynamic system.
3.4. States
Typically, the current values of some system, and hence model, outputs are functions
of the previous values of temporal variables. Two types of states can occur in a
Simulink model: discrete and continuous states. A continuous state changes
continuously. Examples of continuous states are the position and speed of a car. A
discrete state is an approximation of a continuous state where the state is updated
(recomputed) using finite (periodic or aperiodic) intervals. An example of a discrete
state would be the position of a car shown on a digital odometer where it is updated
every second as opposed to continuously.
Assignment
8. The temperature inside your house is 70oF and it is 30oF outside. At 1:00 A.M.
the furnace breaks down. At 3:00 A.M. the temperature in the house has
dropped to 50oF. Assuming the outside temperature is constant and that
Newton’s Law of Cooling applies, determine when the temperature inside your
house reaches 40oF.
Page 20 of 78
9. A body is discovered during a murder investigation at 8:00 P.M. and the
temperature of the body is 70oF. Two hours later the body temperature has
dropped to 60oF in a room that is at 50oF. Assuming that Newton’s Law of
Cooling applies and the body temperature of the person was 98.6oF at the time
of death, determine when the murder occurred.
Page 21 of 78
4.0. Second Order Differential Equations
These are equations involving the second derivative,𝑦 " (𝑥). Let’s assume that we can
write the equation as 𝑦 " (𝑥) = 𝐹 (𝑥, 𝑦(𝑥), 𝑦 ′ (𝑥)).
We would like to solve this equation using Simulink. This is accomplished using two
integrators in order to output 𝑦 ′ (𝑥) and 𝑦(𝑥).
Example
Model the initial value problem 𝑦 " (𝑥) + 5𝑦 ′ + 6𝑦 = 0, 𝑦 ′ (0) = 1, 𝑦(0) = 0 in Simulink
Figure 16 Model for the second order constant coefficient ODE 𝑦 " (𝑥) + 5𝑦 ′ + 6𝑦 = 0
𝑚𝑥̈ + 𝑘𝑥 = 0
1
Hence, the differential equation we intend to solve with Simulink is 𝑥̈ = − 𝑚 (𝑘𝑥).
Page 22 of 78
Figure 17 A simple harmonic oscillator consists of a mass, m, attached to a spring with spring constant, k
Example
A Simulink model for simple harmonic motion where k = 5 and m = 2. We also specify
the initial conditions 𝑥(0) = 1 and 𝑥̇ (0) = 0 is
Page 23 of 78
MTE204
INTRODUCTION TO DATA ANALYSIS IN
PYTHON
Page 24 of 78
1.0. Introduction to Python
1.1.Why Python
Python is simple and easy to learn, read, and write. It is a Free/Libre and Open Source
Software (FLOSS). Meaning one can distribute copies freely, read its source code,
modify it, etc. it is a high-level language and portable: meaning it is supported by
Linux, Windows, FreeBSD, Macintosh, Solaris, BeOS, OS/390, PlayStation, and
Windows CE platforms. Python supports procedure-oriented programming as wells
as object-oriented programming. It can also invoke C and C++ libraries can be called
from and C++ programs, can integrate with Java and NET components. Python has
been used by many of the big companies known today such as: YouTube, Google,
Dropbox, RaspberryPi, BitTorrent, NASA and NETFLIX.
1. Web Scrapping
2. Automation Testing
3. Web Development
4. Data Analysis (Our focus in this course)
After the installation of Python, the next step is to start working on python. We will discuss
some important attributes then move to data analysis with python.
Data in terms of statistics and probability refers to facts and statistics collected together for
reference or analysis. The figure below shows what can generally be done with data.
Page 25 of 78
Qualitative data deals with characteristics and descriptors that cannot be easily measured, but
can be observed subjectively.
o Nominal data are data with no inherent order or ranking such as gender or race.
Quantitative data deals with numbers and things that can be measured objectively.
o Discrete data are also known as categorical data; it can hold finite number of possible
values e.g. number of students in a class.
o Continuous data are data that can hold infinite number of possible values e.g. a
person’s weight.
o Discrete variable also known as categorical variable; it can hold values of different
categories. For instance, your email can hold value for inbox message or spam
message.
o Continuous variable are variables that stores infinite number of values e.g. a vehicle
speed.
Hence, variable is anything used to store a value and the kind of data associate with such
variable determines if such variable is discrete or continuous.
Variables can either be dependent or independent. Dependent variable are variables whose
value depends on any other independent variable.
Page 26 of 78
1.3. Important Attributes
1.3.1. Comments
Passing comments in python can be done using the # or ‘’’comment’’’. Where there is only one
line of comment the # is used. That is any text to the right of # is not executed by python. The
‘’’comment’’’ is applicable where multiply line of comment is to be passed in python.
Example:
Or
‘’’
This
Code
Analysis
dataset
‘’’
Page 27 of 78
Figure 19 Character printing
We can see form the Fig. 2 above that the keyword print is used to print the character in the
string (“”) or (‘’) in the brace.
Page 28 of 78
Figure 21 Printing multiply variable with comma in print command brace.
1.3.2. Identifier
This is a name used to identify a variable, function, class, module or other object. For
instance, in Fig 3 X, Y and Z are identifiers. An identifier can start with A to Z or a to
z or an underscore (_) followed by zero or more letters, underscore and digits (0 to 9).
Note that python is a case sensitive programming language and does not allow any
special character within identifiers such as %, $ etc.
1. class name starts with an uppercase letter. All other identifier starts with
lowercase letter.
2. Starting an identifier with one leading underscore means that identifier is
private
3. Starting an identifier with two leading underscores means that identifier is
strongly private
4. Ending an identifier with two trailing underscores means that identifier is
language-defined special name
Page 29 of 78
Figure 22 identifier
Data type is a way of defining what kind of data and entry is; it can be numbers,
integer, float, Boolean etc. The data is the entry on the right side of the equality sign
and to the left is the identifier. Data can mutable or immutable data type. The figure
below presents more details:
Page 30 of 78
Immutable Data Type –
2. Sting
Page 31 of 78
3. Tuples
Page 32 of 78
Figure 24 Tuples
1. List
Page 33 of 78
Page 34 of 78
Figure 25 List data type
2. Dictionaries
Figure 26 Dictionaries
You can have dictionary within a dictionary or any other combination of data types.
3. Sets
Page 35 of 78
Figure 27 Sets
1.3.4. Operators
Page 36 of 78
1. Arithmetic Operators
2. Assignment Operator
3. Comparison Operator
Page 37 of 78
4. Logic Operators
5. Bitwise Operator
Page 38 of 78
6. Identity Operator
Page 39 of 78
7. Membership Operator: works on list, dictionary and tuples to check if an
element exist within any of those.
Figure 29 Membership
Page 40 of 78
2.0.Data Analysis with Python
This is the process of inspecting, cleaning, transforming, and modeling data with the
goal of discovering useful information’s, suggesting conclusions and supporting
decision making.
Python provides various methods for data analysis, manipulation (NumPy and
Pandas libraries) and visualization (Matplotlib library) (see Fig 14).
Page 41 of 78
NumPy is a package for scientific computing in Python. NumPy features is presented
in Fig. 15 and operations in NumPy is presented Fig. 16.
NumPy has an array called ndarray; is is a multidimensional array object of two parts-
the actual data, some metadata which describes the stored data. They are indexed just
like sequences are in Python, starting from 0
Each element in ndarray is an object of data-type object called dtype. An item extracted
from ndarray, is represented by a Python object of an array scalar type (Please note
that this done internally by Python).
Page 42 of 78
2.1.1. Creating a NumPy Array
The NumPy is a library in Python therefore, the first step is to import the NumPy
library. See Fig 17.
Page 43 of 78
Figure 34 creating NumPy Array
The linspace function in Python can allow us to create a vector by calling the linspece
function in NumPy and specifying the initial, final and the step. See Fig. 18.
Import the NumPy library as np (as in Fig 17) and pass the array code as seen in Fig.
19.
Page 44 of 78
Figure 36 Multidimensional NumPy Array
The arrange function can also be used to create a multidimensional array within a
specified range. See Fig. 20.
We can also create an array of zeros by using the zeros function and specifying the
number of rows and column. See Fig. 21
Page 45 of 78
Figure 38 Array of zeros
Page 46 of 78
Figure 39 Creating an Array from Existing Data
A linear array of any number of elements can be restructured as desired. Here will
make an instance, converting a linear array of 8 elements into 2×2×2 3D array consider
the case of transpose in matrix.
Page 47 of 78
Figure 40 Restructuring a NumPy Array
The restructured array can be returned to its initial state by using the function ravel.
Page 48 of 78
Figure 42 Indexing NumPy Array
Slicing a NumPy array, the slice object is constructed by providing the initial, final and
the step parameter to slice ()
Page 49 of 78
Figure 45 Other Slicing Methods
NumPy provides the option of importing data from files directly into ndarray using
the loadtxt function. The savetxt function can be used to write data from an array into
text file.
Page 50 of 78
Figure 47 Writing and Reading from a Text file
NumPy arrays can be dumped into CSV using the savetxt and the comma delimiter
and the CSV file can be read into NumPy array using the genfromtxt function.
Page 51 of 78
Figure 48 Writing and Reading from CSV file
Pandas is an open-source Python library which provides efficient, easy-to-use data structure
and data analysis tools. Pandas is built on NumPy and the name Pandas is derived from
“Panel Data” = an Econometrics form multidimensional data. The Pandas library is well suited
for several kind of data like:
Pandas provides three data structures; Series, DataFrames, Panels all to which are built on
NUmPy array. Note all data structure in Pandas are value-mutable.
Page 52 of 78
2.2.1.1. Series
Series is a single dimensional array structure that stores homogenous data i.e., data of single
type. All element in the Series are value-mutable but size-immutable.
We can see from the output console in Fig. 31 that Python automatically added the
default index for the data. However, we can set the index by using the dictionary data
structure to input the Series. See Fig 31.
Elements within a Series can be accessed using the slicing function as earlier stated in
Fig. 27 and 28 however, an example is provided in Fig. 32.
Page 53 of 78
Figure 50 Accessing Data in Series Using Slicing
2.2.1.2.DataFrames
Fig. 33 shows how DataFrame is created. We will notice that Python automatically
printed the default index as in the case of Series and a default column name of 0.
We can input our own column name by using a dictionary to input the data.
Page 54 of 78
Figure 51 Creating DataFrame
Page 55 of 78
Figure 53 Using your own Index in Data Frame
Page 56 of 78
Figure 55 Adding a Column to a DataFrame
3. We can also use the pop function to view on the column of interest. For
instance, let view the result of Femi only
Page 57 of 78
Figure 57 Using the pop function
1. Rows can be selected in DataFramenby passing the row label to the loc[]
function. Alternatively, we can pass in the row index into the iloc[] function.
Page 58 of 78
2.2.2. Importing and Exporting data using Pandas
Data can be loaded into DataFrame from input data stored in CSV format using
the read_csv() function
Data present in a given DataFrame can be written to CSV file using the to_csv()
function. If the specified path does not exist, a file of the same name is automatically
created.
Page 59 of 78
Similarly, we can write to and read from excel file using Pandas
Page 60 of 78
2.3. Introduction to Data Visualization and Matplotlib
Plotting ins Python is done by importing the matplotlib.pyplot library as plt and
pass in the argument.
Page 61 of 78
Figure 63 Specifying the x and v values in Matplotlib
Labels can be added to x and y axis using plt.xlabel(‘X axis’)and plt.ylable(‘Y axis’)
Page 62 of 78
We save the plot by using the plt.savefig(‘file name’)
There are several plot formats for visualizing information in Python such as
Histogram, Scatter Plot, Bar Graph and Pie Chart. We will show here how to demand
any and other plot format in Python.
Page 63 of 78
1. Histogram
2. Bar Graph
We create two arrays; the first array is the midpoint of the face of every bar i.e.,
where the midpoint of the bar graph should be. The second array is the height
of the successive bar graph.
Page 64 of 78
Figure 65 Bar graph in Python
Page 65 of 78
Figure 66 Plotting Bar graph from Dictionary
3. Pie Chart
Pie chart is used to compare multiple parts against the whole. For instance, let use
a pie chart to visualize how a student spend her income.
Expenses Amount
Food 5,000
Transport 1,500
Credit card 2,000
Accessory 500
Page 66 of 78
Figure 67 Pie chart in Python
4. Scatter plot
Scatter plots displays the values for two sets of data, visualized as a collection of
points.
Page 67 of 78
Figure 68 Scatter plot in Python
Page 68 of 78
INTRODUCTION
TO
ANSYS
Page 69 of 78
1.0. Introduction to Ansys Workbench
ANSYS Workbench is a project-management tool that handles the passing of data between ANSYS
Geometry / Mesh / Solver / Postprocessing tools. This attribute makes it a great help in project
management. A project manager need not worry about the individual files on disk (geometry, mesh etc.).
Graphically, you can see at-a-glance how a project has been built. The capability of Workbench in the
management of individual applications and passing of data between, makes it easy to automatically
perform design studies (parametric analyses) for design optimization.
Page 70 of 78
Top Menu
i. Top Menu – File
Create /Open/Save a Workbench project file
Saves data from all the components
Import: Import file (of acceptable file types)
Archive: Quickly generate a single compressed file
(.wbzp or zip file) containing all important files for
easy transfer. Zipped file can be saved at any
required location
Restore Archive: Unzip and open zipped project files
Scripting: Record and Run journal files
EKM: Launch and connect to EKM (Engineering
Knowledge Manager)
Page 71 of 78
iv. Top Menu – Units
Select Unit System to be used for the project
Sets the default unit system for all systems
Units can be changed within components like
DM. AMP
Display Values as Defined: displays values and
unit as defined in Workbench or original source
application
Display Values in Project Unit: displays values
converted to selected project unit system
Modify Unit Systems through Unit System
Toolbox
i. Analysis Systems: are ready-made stencils that include all the
individual systems (applications) needed for common analyses
(for example Geometry + Mesh + Solver + Post-Processor)
Page 72 of 78
iv. Custom Systems: predefined systems with some interactions
between them. It is also possible to define new custom-systems
changes
Page 73 of 78
Figure 71 Alternative Method to Workflow Creation
There are two types of connectors: square and round connector. The square connector as seen in Fig. 3
shows that the output of the preceding cell is being shared with the destination cell. A round connector
means the output of the preceding cell is being transferred as a setup (input) condition to be used in
the destination cell.
Up to Date
Attention Required
Solving
Update Failed
Update Interrupted
changed)
Page 74 of 78
2.2. Sharing Data between Different Solvers
Data can be transfer between solvers in Workbench. In this 1-way FSI (fluidstructure-interaction)
example, we transfer the loads from a Fluent CFD simulation over to a Mechanical system to perform a
stress analysis.
Page 75 of 78
Figure 73 Design Modeler Window
Figure 5 presents the Design Modeler window in ANSYS Workbench consisting of two sub-windows in
the Tree Outline: sketching window and modeling window.
In the Sketching window a new model can be created or an imported model can be improved as requisite
for the intended analysis.
In the Modeling window the necessary 3D feature is applied to the model and meshing pattern is also
added.
Page 76 of 78
Figure 75 File location Directory
Now we will be running a demo on static structural system, Fluid Flow (Fluent) etc.
Page 77 of 78
WISHING YOU
THE BEST
IN YOUR
EXAMINATION
THANK YOU
Page 78 of 78