Documente Academic
Documente Profesional
Documente Cultură
- by Dharmit A. Thakore
Finite Element Analysis with
First Edition
Finite Element Analysis with
Open Source Software
First Edition
2013
Credits and Copyright
Written by: Dharmit Thakore
dharmit@moonish.biz
No part of this publication may be reproduced, stored or transmitted in any form or by any means, electronic,
mechanical or otherwise, without prior written consent from the publisher, except for the inclusion of brief quo-
tations in a review. You may store the pdf on your computer and backups. You may print one copy of this book
for your own personal use.
Disclaimer: The information contained in this book is based on the author’s experience, knowledge and opin-
ions. The author and publisher will not be held liable for the use or misuse of the information in this book.
To
My wife,
&
Dharmit has broad interests, which include finite element analysis, design, optimization and Open Source soft-
ware. He is a member of ASME, Engineers Australia and Board of Professional Engineers in Queensland.
Contents
Foreword1
Study Cases 4
Case 3: 1D FE Analysis 5
Summary35
Summary51
1D FE Analysis 53
Result85
Conclusion86
End of Preview 87
Appendix A 89
Appendix B 91
Foreword
During my university life, I had taken Computer Aided Design (CAD) and Finite Element Analysis (FEA) as
my elective subjects. As a young university student, I was fascinated by the power of computers and the help
that they provide to obtain results that are easy to understand for a complex simulation. Going from Drawing
boards, pencils and erasers to CAD with everything on the computer, having multiple revisions of the same
drawing and the powerful undo and redo functionality were one of the journeys that I will never forget.
At that time, our university was having education version of AutoCAD® (I won’t tell the version of AutoCAD
as that will reveal my age ) for drafting and Solid Edge® for Finite Element Analysis. The only problem was
that outside university we were on our own. We even didn’t have student versions of those software to use at
home.
I wrote this book so that someone can pick up this book, start using Salome, GMSH and Code Aster straight
away. I wanted the learning curve to be relatively easy. So I designed this book such that the user does a few
exercises by following the step by step guide in this book, feel confident in the procedure and are then able
to use the Open Source software the way they want. I wrote this book for the reason that the tutorials on the
internet and the videos on websites are scattered. I want to help someone have all the information in one single
place, in an easy to follow manner, which will enable them to learn the fundamentals of the software in a fun
and easy format.
If you are having trouble understanding where to start with Salome and Code Aster, this book is written for
you. If you are having troubles understanding the computer translated Code Aster User Documents (which are
rich in excellent source of information), this book is written for you. If you want easy reference to 75% of FEA
problems that are encountered by engineers in day to day life and want to do that by Open Source Software, this
book is written for you.
This book is for those who don’t want to waste their time in finding tutorials online and trying to make logical
sense. This book starts with a very basic introduction of what to do to perform FE Analysis, and then with each
new Chapter it introduces new concepts in an easy to understand format. If you want to learn how to do FE
—1—
FEA using Open Source Software
Analysis with Open Source software in a week’s time, than this book is for you.
If you are the developers of Salome and Code Aster, then I doubt this book will be of any help to you, but if you
are developers of only Salome or only Code Aster, then this book might be of use to you.
In short, if you are advanced user and after reading the topics that I have covered in this book, if you can say to
yourself that “the information covered in this book is something that I already know”, this book is not for you.
This book is also not written for someone who does not know what Finite Element Analysis is. FE Analysis, as
a fundamental, should be known to the user of this book.
I will leave the actual decision of where to install the OS to the reader of this book.
The download link of CAELinux (at the time of writing this) is http://www.caelinux.com/CMS/index.php?op-
tion=com_content&view=article&id=51:caelinux-2011&catid=69&Itemid=58
All of the above software are available in CAELinux 2011 DVD so if you have installed it, don’t worry about
any more installations. If you want to use latest software, install the above versions or latest versions of these
software on your computer. Please note that if you install a software that is of higher version than that men-
tioned above, the screenshots may differ, but the fundamental concepts remain the same.
—2—
What are the steps in Finite Element Analysis
Generally the stiffness of the object is known due to the fact that we would have its shape and material proper-
ties as a given. If not, Either we would be optimising its shape by finding stresses generated in the object due
to applied loads (e.g. objective of the study can be “optimise web thickness of gussets or optimise thickness of
a pressure vessel Nozzle saddle”), or we would be checking which material is most suitable for the given object
(e.g. objective of the study can be “can Aluminium alloy be used to reduce the weight of the object?”). So stiff-
ness “k” would be fixed for the given study based on shape and material selected.
The next step is boundary conditions. Any given object has to be sufficiently supported in the real world and
FEA will emulate these supports, either there is a fixed support (e.g. bolted or welded joint), sliding support
(e.g. shaft in hub or pipe shoe on structural steel). By applying these boundary conditions of supports, we are
providing / fixing values of displacement. There would be forces applied to the object, either by gravity (self-
weight) or by pressure applied on a surface or force applied on the object. By adding these boundary conditions
of loads, we are providing / fixing values of force / load.
After all of the above is given to Code Aster, it tries to solve the equation which will be in matrix form with the
given input values of displacement and forces and obtain displacement for the entire object. These displace-
ments (Strains) are converted to Stresses (Stress = Strain multiplied by Young’s Modulus of the material) and
are displayed as a coloured model or exported as a table.
—3—
FEA using Open Source Software
In the coming chapters of this book, we will be using above philosophy to carry out Finite Element Analysis of
1D, 2D, 3D models of the objects and obtain Displacements, Forces and Stresses. Interpretation of results will
be left to the reader.
—4—
Study Cases
Study Cases
Real world examples are used in this book to describe each Study cases. Not only will this make it more inter-
esting, it will give users a better understanding of how theory translates to practical analysis or what to do when
rubber meets the road.
To make this more interesting a small role play is introduced in this book (at the start of the chapters) in which
the main character “Esha” is a Fresh out of University Young Engineer who joined a Design firm and was given
responsibility to carry out FE Analysis of calculations that were traditionally performed by either hand calcula-
tions or the Rule of thumb method was used.
A supervisor “John” is appointed to mentor Esha. John is passionate about the use of Open Source software
and knows the power they possess. To break the ice, John shows Esha the use of Salome-Meca by giving a very
small example of a 1m cube with pressure of 1MPa applied on top face and in another example he shows stress-
es generated in a 30m tank when a hole is cut into it.
After showing how easy it is to conduct FE Analysis with Salome-Meca, John shows Esha what the fundamen-
tal steps to perform Stress Analysis are and how to replicate them in Salome-Meca and Code Aster.
John asks Esha to conduct FE Analysis of real world examples that will help her in building her capabilities and
confidence.
With every new example a new concepts will be discussed and explained in an easy to follow format.
A step by step procedure will be discussed that will take you on a journey from where you are now to knowing
Salome-Meca better. You will understand concepts of different modules of Salome-Meca viz. Geometry, Mesh,
Aster, Post-Pro etc. You will see how to make a simple geometry and make it ready for Meshing. You will
create the mesh (if you are following with the book) out of the Geometry. You will understand the Wizard that
Salome-Meca has and how to enter required parameters. After the analysis is complete, you will review the
results that are given by default, visualise them and try to make sense out of them.
You will understand how to use Salome-Meca Wizard to generate the default .comm file. How to edit this file
manually and then conduct the FE Analysis Also how to have two different analysis in a single hdf study file.
—5—
FEA using Open Source Software
Case 3: 1D FE Analysis
With this case, John will show how manually calculated results of a simple Pipe Guide which behaves as a can-
tilever beam are calculated by Salome Meca by the use of 1 Dimensional (1D) Analysis.
Here you will learn a new application, GMSH which will be used to generate the geometry and mesh it. John
will discuss what should be taken care of in 1D analysis as well as the use of Aster module, which has more
power than the Wizard.
John shows how to model a 2D frame in GMSH, how to mesh it and finally how to perform FE analysis using
Salome-Meca’s Aster module.
How to generate 2D geometry for Axi-symmetric model of a Pressure Vessel. John will ask Esha to demon-
strate that the thickness required of a hemispherical shell is half that of a cylindrical shell by analysing a Pres-
sure Vessel shell and head junction using Axisymmetric model. If you are following along you will get a hands
on idea of the way Axi-symmetric analysis works and how Salome-Meca Wizard takes care of the minor details
of the analysis.
This will be another FE analysis that Esha is asked to do. Esha has to replicate the same 1D Pipe Guide results
by using Plate / Shell elements in Salome Meca. Esha will have some problems of understanding where to get
information for the analysis, but with careful guidance given by John she will be able to successfully perform
this analysis and demonstrate results to John.
Here additional concepts of How to apply Force on a Surface is described. Also described is the difference
between 1D, Shell and 3D analysis results. When Esha gets results in her 3D analysis that are inconsistent with
previously carried out 1D and shell analysis, John explains her the difference in results.
—6—
Study Cases
In this case, John describes a way to conduct 3D FE Analysis for Pipe Shoe Weld Assembly which has only 1
mesh but the user can visualise stresses for individual Assembly Parts.
In this analysis a Pressure Vessel and Nozzle junction is analysed with Hexahedral mesh elements that are Qua-
dratic in nature. A force of 10kN will be applied on the face of the nozzle and the stresses and deflection will be
obtained from the analysis.
This analysis will be focused on stresses in individual parts and how they interact with each other at their Con-
tact points.
After describing all the types of analysis they are going to have a look at, John showed Esha her desk where she
will be working as an intern. This computer was not a hi-fi top of the notch computer but a 2 years old comput-
er which had seen better days. It has CAELinux preinstalled on it. John explained that CAELinux will work on
moderately powerful computers which are 64 bit, have around 2 to 4 GB Ram and a graphics processor.
—7—
FEA using Open Source Software
—8—
Getting to know Salome-Meca
Chapter 1
—9—
FEA using Open Source Software
Pressure Applied on Top face: 1MPa and 10MPa (As two separate load cases)
— 10 —
Getting to know Salome-Meca
Following steps are to be taken after you have started you CAELinux OS.
# Description Figure
In CAELinux main toolbar, Click Applications -> CAELinux -> Salome-Meca 2011.2
1
After Salome-Meca Application Loads it will look like figure below
Select “New”
— 11 —
FEA using Open Source Software
# Description Figure
— 12 —
Getting to know Salome-Meca
# Description Figure
Make sure that Box_1 is se-
lected in the Geometry Tree on
the Left, then
Click “Apply”.
— 13 —
FEA using Open Source Software
# Description Figure
Your Object Browser on the
left should look like the adja-
cent figure.
As John saved the file, Esha was intrigued by the ease with which simple geometries can be done in Sa-
lome-Meca. John explained that the next step is to Mesh this Geometry.
— 14 —
Getting to know Salome-Meca
Following steps assumes that you have completed Geometry Creation steps as per previous Section and have
saved the file to a meaningful location with a meaningful name.
# Description Figure
In Salome-Meca main toolbar,
Click the down arrow where
it says Geometry and Select
Mesh.
— 15 —
FEA using Open Source Software
# Description Figure
— 16 —
Getting to know Salome-Meca
# Description Figure
“It is this easy” said John and then clicked on Save Button before going any further. Then John went on and
said that “In the next section, we will discuss how to build information for a Linear Static FE analysis by using
Salome-Meca Wizard”.
— 17 —
FEA using Open Source Software
# Description Figure
In Salome-Meca main toolbar,
Click the down arrow where it
says Mesh and Select “Aster”.
— 18 —
Getting to know Salome-Meca
# Description Figure
— 19 —
FEA using Open Source Software
# Description Figure
Click Save
— 20 —
Getting to know Salome-Meca
# Description Figure
“This concludes the Pre-Processing stage of FE Analysis” said John while he clicked on the Save button. He
added, “Salome-Meca wizards make it very easy to conduct a basic analysis“. Esha noted that it only took them
10 minutes to reach to this stage and most of John’s time was taken up to explain her how to use the Wizard. If
John had to do this analysis by himself, he would have reached this stage in no time. John said, “Next, we will
discuss how to run a Linear Static FE analysis by using Salome-Meca’s Aster module.”
— 21 —
FEA using Open Source Software
# Description Figure
Right Click the “linear-static”
branch in Object Browser and
click on “Run”.
John clicked on the save button and said, “As we can see that a Post-Pro node has been added to the tree, Pro-
cessing has completed and that results are ready for us to be evaluated”. “Depending on the Type of Analysis,
it can take a few minutes as it happened now or it can take several hours” said John. “Next we will see some of
the ways we can visualize the results in Post Processing Module of Salome-Meca.
— 22 —
Getting to know Salome-Meca
# Description Figure
— 23 —
FEA using Open Source Software
# Description Figure
RESU____DEPL means,
Result (RESU) of the Displace-
ments (DEPL) of the nodes.
— 24 —
Getting to know Salome-Meca
# Description Figure
— 25 —
FEA using Open Source Software
# Description Figure
— 26 —
Getting to know Salome-Meca
# Description Figure
Notice that at the bottom of the window a graph of Deflection with minimum and maximum
6 deflections is shown.
— 27 —
FEA using Open Source Software
# Description Figure
— 28 —
Getting to know Salome-Meca
# Description Figure
Right Click on “Def.Shape:1”
and select “Show Only” and
only the Deformed shape will
be visible.
Play around with the Scale Factor in the “Deformed Shape” Tab and see the deformation change.
— 29 —
FEA using Open Source Software
# Description Figure
RESU____SIEQ_NOEU is the
Result (RESU) of the Stress
(SI__) Equivalent (__EQ) or
Equivalent Stresses at Nodes
(NOEU).
Click “Ok”
— 30 —
Getting to know Salome-Meca
# Description Figure
— 31 —
FEA using Open Source Software
# Description Figure
Right Click on “Scalar Map”
and select “Show Only” and
only the Von Mises Stresses
will be visible.
— 32 —
Getting to know Salome-Meca
# Description Figure
In a similar fashion of showing
multiple branches of Deflec-
tion, multiple branches of
Stresses can be shown. A Sca-
lar Map of Tresca Stresses can
be added to the study as well.
— 33 —
FEA using Open Source Software
Now let’s see how we can run a second analysis in the same hdf file by adding a new FE Analysis in Aster Mod-
ule.
# Description Figure
Click the down arrow where
it says Post_Pro and Select
“Aster”.
Click “Next”.
— 34 —
Getting to know Salome-Meca
# Description Figure
Click “Save”
Click “Finish”
— 35 —
FEA using Open Source Software
# Description Figure
“Well that’s the complete FE Analysis of a Carbon Steel Cube. The analysis I just showed you is very helpful
to understand the steps required in Finite Element Analysis. It might not have any practical use though”, said
John.
John saved the entire Analysis and closed Salome-Meca. “Now I understand the fundamental steps of how to
perform FE Analysis in Salome-Meca but there are quite a few questions that come to my mind” said Esha.
John was happy to see that Esha had questions to ask as he now knew that she was paying attention.
“What if I want to carry out Self Weight analysis, or apply Force instead of Pressure? How do we do that in
Salome-Meca?” asked Esha. “That is what I am going to show you next but before I do that lets recap of what
we did right now” said John.
— 36 —
Getting to know Salome-Meca
— 37 —
FEA using Open Source Software
Summary
Esha listed out the steps that they followed to perform the analysis out loud
“Very good” said John, “but don’t forget that even before you start
the analysis make sure you have all the input and output parameters
for your study that has been discussed with the client”.
— 38 —
Editing .comm file
Chapter 2
— 39 —
FEA using Open Source Software
— 40 —
Editing .comm file
# Description Figure
— 41 —
FEA using Open Source Software
# Description Figure
“Save the file with a meaningful name. Next we will Mesh it”, said John.
— 42 —
Editing .comm file
# Description Figure
— 43 —
FEA using Open Source Software
# Description Figure
John clicked on the Save button and asked Esha “Are you ready for the next Step?”
— 44 —
Editing .comm file
Esha explained that the next step is to use Salome-Meca Linear Static Wizard to create a .comm file which will
hold information about the analysis that we are going to do. Then Esha paused and said, “But as Salome-Meca
Linear Static Wizard does not have Gravity load case, you are going to show me how to edit the .comm file by
hand.”
“You know the steps further, so I am going to hurry and do it myself and explain them in short”, said John.
# Description Figure
Click on Aster Module and Make sure that Mesh_2 is still selected in the Object Browser and in
Salome-Meca main toolbar, Click Aster -> Wizards -> Linear Elastic, and a window will popup.
Enter 2.1e5 for Young’s Modulus and 0.3 for Poisson’s Ratio. Click “Next”
— 45 —
FEA using Open Source Software
# Description Figure
“This completes the steps to generate a study and save the .comm file as we did earlier for the cube” said John.
Now we want to edit the .comm file, remove Pressure term and add Gravity load to it.
— 46 —
Editing .comm file
— 47 —
FEA using Open Source Software
# Description Figure
— 48 —
Editing .comm file
# Description Figure
Find the words “MA=DEFI_
MATERIAU” which defines
the Material that will be used
for the Analysis. These are
generally specified at the be-
ginning of the file.
— 49 —
FEA using Open Source Software
# Description Figure
7 So we are writing a code that says that we want to add Gravity Load to the study. The amount
of load to be applied is 9800 mm/square second (Remember our units are mm, second, tonne,
Newton, Mega Pascals etc.) and it should have a direction of Negative Z (-Z) which is shown by
a vector (0,0,-1) => (X=0, Y=0, Z=-1)
John saved the file “Gravity.comm” and said that the next step is to run this analysis.
— 50 —
Editing .comm file
# Description Figure
Open Salome-Meca again and check that Case2.hdf file is running. Make sure that “Aster” mod-
ule is selected.
1 Right Click the “linear-static” branch in Object Browser and click on “Run”.
A new window will pop up and there will be numbers flying around the screen.
If everything goes well you will be able to see “Post-Pro” appear in Object Browser.
— 51 —
FEA using Open Source Software
# Description Figure
Esha opened the “RESU____DEPL” branch and added the “Deformed shape”.
To make the deformation more prominent, she changed the Scale Factor to “100” as shown in
1 adjacent figure and Clicked “OK”.
For this Deformed shape, she enabled “Show Only” and changed the Representation to “Sur-
face”
Then she opened “RESU____SIEQ_NOEU” branch and added “Scalar Map” with the Mode as
“VMIS”
2
For this VonMises stresses, she enabled “Show Only” and changed the Representation to “Sur-
face”
John said that at this stage don’t worry if the results of the analysis are not what you would get from the Manual
Calculations. The sole purpose of this Analysis was to show you how to manually edit the .comm file
After Esha stopped fiddling with the Post Processing Module, she told John that when he started showing her
how to do FE Analysis with Wizards in Salome-Meca, she was not sure if it could be flexible and powerful but
after the second example she has more confidence in what she is learning and hopes that all of her queries will
be solved.
John told Esha that they have barely scratched the surface of what lies ahead of them. Salome-Meca is very
— 52 —
Editing .comm file
— 53 —
FEA using Open Source Software
Summary
Esha summarised her learning
— 54 —
1D FE Analysis
Chapter 3
1D FE Analysis
After both John and Esha had a casual chat over coffee, when they returned to the computer John said, “Now
that I have showed you what Salome-Meca looks like, next I will show you how to perform 1D Analysis.”
John told that Salome-Meca is good for Geometry creation but CAELinux has other tools that can be used for
1D modelling, so for this FE Analysis he will show Geometry Modelling in GMSH. Then they will export the
geometry as a MED file, generate a .comm file by hand or by using Eficas, then use ASTER module of Sa-
lome-Meca to carry out the analysis and do Post Processing in Salome-Meca.
— 55 —
FEA using Open Source Software
He explained Esha that we will reproduce this manual calculation result by FE Analysis. In this instance a sim-
ple 1 Dimensional linear static FE analysis with Beam elements will be performed.
— 56 —
1D FE Analysis
— 57 —
FEA using Open Source Software
# Description Figure
— 58 —
1D FE Analysis
# Description Figure
— 59 —
FEA using Open Source Software
# Description Figure
Click on Elementary entities
-> Add -> New -> Point.
Click “Add”.
— 60 —
1D FE Analysis
# Description Figure
— 61 —
FEA using Open Source Software
# Description Figure
Next we need to give Names
to the groups of Entities so it
becomes easy to conduct FE
Analysis.
— 62 —
1D FE Analysis
# Description Figure
— 63 —
FEA using Open Source Software
# Description Figure
Go back to Main Tool Bar in
GMSH, Click the Left Arrow
besides Geometry till the pan-
el below does not change.
— 64 —
1D FE Analysis
# Description Figure
— 65 —
FEA using Open Source Software
# Description Figure
Click on “1D” and GMSH will
mesh the geometry.
— 66 —
1D FE Analysis
# Description Figure
“This concludes creation of the Mesh for the FE Analysis”, said John. Next we will create a .comm file that will
give instructions to Aster about the Analysis.
“For this analysis I will show you the use of Eficas and then you can decide if you want to use it for future anal-
ysis or create the .comm file manually”, said John.
— 67 —
FEA using Open Source Software
# Description Figure
Open Salome-Meca and in the
drop down menu where it says
Salome, select “Eficas”. As
you are starting Salome-Meca,
it asks if you want to create a
1 new file. Click “New”.4
2. Open a file
3. Save a file
4. Cut
5. Copy
6. Paste
— 68 —
1D FE Analysis
# Description Figure
— 69 —
FEA using Open Source Software
# Description Figure
After the file is saved, the Eficas window looks like that shown below. In the left column it
shows the file name “Case3.comm” in Red colour. This means that this file is not complete.
When the file will be complete, i.e. when it will have all parameters defined like Start, End,
Material definition, Mesh definition, Load and Boundary condition defined etc, it will become
Green. At this stage Eficas It is ready for Input from the user.
The second Column shows all the commands that are available in Code-Aster and these are
sorted Alphabetically. They can be sorted based on groups but in this instance we will stick to
Alphabetic sorting.
Information that needs to be entered in .comm file are called Concepts in Code_Aster and we
need to add following Concepts
2. Material Definition
— 70 —
1D FE Analysis
# Description Figure
From the second Column scroll down to reach “DEBUT”, Click it and then Click on “Valider”7
Button at the bottom.
When you do that, DEBUT gets added to the comm file and it has Green button which means
6
that no extra information is required to be entered.
Two Tabs “Ajouter Mot-Clef” (Add Keyword) and “Nouvelle Commande” (New Command) are
shown.
— 71 —
FEA using Open Source Software
# Description Figure
Next we need to define Mate-
rial to be used in the study.
— 72 —
1D FE Analysis
# Description Figure
Click on “DEFI_MATERI-
AU”, then Click on “Nommer
Concept” and enter “MA” as
10 the name of the Concept.9
Click on “LIRE_MAIL-
LAGE” again and give it a
Name “MAIL”.
— 73 —
FEA using Open Source Software
# Description Figure
As we will need to apply
Boundary Conditions on the
Nodes, it is important that the
MED file has information for
the node group.
Click on “DEFI_GROUP”
and Double Click “CREA_
GROUP_MA” from Second
Column.
13
Click on “NOM” and give it
a name “TOUT” and Click
“Valider”.
— 74 —
1D FE Analysis
# Description Figure
Click on “DEFI_GROUP”
and Double Click “CREA_
GROUP_NO” from Second
14
Column.
— 75 —
FEA using Open Source Software
# Description Figure
Then we need to define the
type of Modelling.
Click on “PHENOMENE”
and Double Click
“MECHANIQUE”.
Click on “b_mechanique”
and Double Click “MOD-
ELISATION” and then Add
“POU_D_E” to the file.
— 76 —
1D FE Analysis
# Description Figure
MATER = MA.
— 77 —
FEA using Open Source Software
# Description Figure
— 78 —
1D FE Analysis
# Description Figure
— 79 —
FEA using Open Source Software
# Description Figure
— 80 —
1D FE Analysis
# Description Figure
Add “MECA_STATIQUE”
(Static Mechanical Analysis)
to the file and then add infor-
20 mation as shown in adjacent
figure.
— 81 —
FEA using Open Source Software
# Description Figure
— 82 —
1D FE Analysis
# Description Figure
Next we define the type of
results to be calculated at the
Nodes.
— 83 —
FEA using Open Source Software
# Description Figure
— 84 —
1D FE Analysis
# Description Figure
Click Aster -> Add study case.
— 85 —
FEA using Open Source Software
# Description Figure
“Save this study and next we will have a look at the Results”, said John.
# Description Figure
First John enabled Deformed Shape for DEFI, showing the Deflection of the Free end of Guide.
Open Branch “Result__DEPL._” and Right Click on “0, -”. From the Pop up menu Select “De-
1 formed Shape”. Leave everything default and Click “OK”.
As can be seen from the figure below, the Maximum deflection of the Right side edge is 1.29017
and based on our Units, it is 1.29017mm
— 86 —
1D FE Analysis
# Description Figure
Then John enabled Stress in SIPO_NOEU. This has many results embedded in it, but the one we
are interested in is SMFY (Stress due to Bending Moment MY).
As the beam is longitudinal to Global X axis, and so fortunately for us, Local and Global X, Y
2
and Z direction for this beam are the same13.
As can be seen from the figure below, the Maximum stress generated at the Fixed point (left
side) is 180 and based on our Units, it is 180MPa.
Result
Esha quickly made a Table to show the difference between Hand Calculated values and that obtained by FE
— 87 —
FEA using Open Source Software
Analysis.
John explained that the difference in Deflection is mainly due to rounding error.
Conclusion
John asked Esha what she had learnt in this Case Study. Esha summarised her learnings
— 88 —
1D FE Analysis
— 89 —
FEA using Open Source Software
End of Preview
This is the end of preview, to purchase a copy of the book go to http://engineering.moonish.biz/shop/
— 90 —
End of Preview
— 91 —
FEA using Open Source Software
Appendix A
— 92 —
Appendix B
Appendix B
Efficient is a powerful wizard to create a .comm file that can be used for Finite Element Analysis.
· Fully in English
· No need to check if you have missed a comma “,” or a Bracket “(” or ending Semi Colon “;”
· You can select the Units that you want (Unit Independent)
· Types of Loads that can be applied : Gravity, Pressure, Force on Face and Force on Edge
— 93 —
FEA using Open Source Software
— 94 —
Appendix B
Add the Material that will be used in the Analysis. You can edit and delete material as well.
Add the Boundary Condition. You can edit and delete boundary condition as well.
— 95 —
FEA using Open Source Software
Finally select the Type of Load. Different types of loads that can be added to the analysis are Pressure, Gravity,
Force on Face and Force on Edge.
Once everything is defined, just Click “Save .comm File” and select the location where you want to save the file
and the software will do the rest.
— 96 —
Appendix B
by
Dharmit Thakore
CPEng, RPEQ, Brisbane, QLD, Australia
Features:
· Step by Step procedure to conduct Finite Element Analysis
· Screen shots to help users visualise the procedure and understand efficiently
· Real world examples used in the book to make users confident of their knowledge and the power of
Open Source software being used in real world
· Each chapter introduces a new concept of conducting FE Analysis so that the user is not bombarded
with too much information in one Chapter.
— 97 —
FEA using Open Source Software
(Footnotes)
1 There is a hidden menu in this button as well, to reveal it, keep this button pressed for some time and three buttons
will be displayed that aids in zooming of the model.
2 Click Second button on the figure shown in Step 4 (looks like a mouse) which will help you to zoom, pan and
rotate the geometry.
3 If the mouse button is still selected, you won’t be able to select the face.
6 Code Aster results can be exported as a Text file with particular result or in a MED file, here we will save the result
in MED file.
7 If you do not understand what the word means, try to translate from French to English and most of the time you
will be able to understand it.
8 In defining material there are other parameters that can be defined as well, viz. Density, Thermal Conductivity etc.,
but as this is an Elastic Static Analysis only two properties are required.
9 More than one material can be defined and added to the study. To define another material just add DEFI_MA-
TERIAU again and give it a different name.
10 If you are having a model that has a 1D element, a sheet metal and a 3D model, you can define different types of
modelling for each different type of element here. Instead of TOUT = OUI in AFFE, you need to select each GROUP_MA
and give it a different MODELISATION.
11 Instead of specifying what we want, we can ask Code_Aster to add all results that it calculated in the MED file.
This will be shown in 3D case of Pipe Guide.
12 To start with, you can leave default of 128MB memory but soon, for bigger analysis, Code_Aster will complain of
having insufficient memory and stop running, so it is good to give around quarter or half of the total memory of the com-
— 98 —
Appendix B
puter.
13 Local Co-ordinates for Beams are really interesting and worth investing time in. Local x axis always
runs in the longitudinal direction of the beam. Local y axis is perpendicular to local x axis and if local x axis is
not parallel to Global Y axis, then local y axis it is parallel to Global Y axis and local z axis is perpendicular to
both.
— 99 —
FEA using Open Source Software
— 100 —