Lecture 6 Modeling and Simulation
Lecture 6 Modeling and Simulation
MDE 244
Modeling and Simulation
Lecture 6
Dr. Mostafa Elhussien
Modeling Simulation
• Boundary value problem is a mathematical problem in which one or more dependent variables must satisfy a
differential equation everywhere within a known domain of independent variables and satisfy specific conditions
on the boundary of the domain.
• The field is the domain of interest and most often represents a physical structure.
• The field variables are the dependent variables of interest governed by the differential equation.
• The boundary conditions are the specified values of the field variables (or related variables such as derivatives) on
the boundaries of the field.
• Depending on the type of physical problem being analyzed, the field variables may include physical displacement,
temperature, heat flux, and fluid velocity.
Dr. Mostafa Elhussien Modeling and Simulation Lec. 6 4
Basic Concepts of the
Finite Element Method
• The finite element method (FEM), sometimes referred to as finite element analysis (FEA), is a
numerical method for solving problems of engineering and mathematical physics.
• Typical problem areas of interest in engineering and mathematical physics that are solvable by
use of the finite element method include
• Structural analysis,
• Heat transfer,
• Fluid flow,
• Mass transport,
• Electromagnetic potential.
Dr. Mostafa Elhussien Modeling and Simulation Lec. 6 5
Basic Concepts of the
Finite Element Method
• For physical systems involving complicated geometries, loadings, and material
properties, it is generally not possible to obtain analytical mathematical solutions
to simulate the response of the physical system.
• Analytical solutions are those given by a mathematical expression that yields the
values of the desired unknown quantities at any location in a body (here total
structure or physical system of interest) and are thus valid for an infinite number
of locations in the body.
• Hence, we need to rely on numerical methods, such as the finite element method,
that can approximate the solution to these equations.
• FEM effectively replacing a complex problem by many simple problems that need to be solved
simultaneously.
• FEM divides the model into many small pieces of simple shapes called finite elements
interconnected at points called nodal points or nodes.
Elements Nodes
Meshing
Model
Dr. Mostafa Elhussien Modeling and Simulation Lec. 6 12
Basic Concepts of the
Finite Element Method
• Meshing is one of the key components to obtaining
accurate results from an FEA model.
Mathematical
Model
Loads Supports
CAD geometry Simplified geometry FEA model FEA results
Mathematical
Model
Loads Supports
CAD geometry Simplified geometry FEA model FEA results
Step 2 Define the Shape Function (Define the Primary Unknown Parameters)
Step 4 Derive the Property Matrix and Equations for Each Finite Element
Step 5 Assemble the Element Equations to Obtain the Global or Total Equations and Introduce
Boundary Conditions
Step 6 Solve the Unknown Degrees of Freedom (Solve the Primary Unknown Parameters)
• Step 1 involves dividing the body (geometry) into a number of parts using units called finite
elements interconnected at points called nodes and choosing the most appropriate element type
for the model
• The elements must be made small enough to give usable results and yet large enough to reduce
computational effort.
• The choice of the most appropriate element for a particular problem is one of the major tasks
that must be carried out by the designer/analyst.
• Elements that are commonly employed in practice are shown in the next figures.
• Step 2 involves choosing a shape function for each element. The primary unknown parameters
are the first and principle parameter obtained by the FEM which are calculated at each element
of the model.
• Frequently used primary unknown parameters in the FEA in engineering are as follows:
• Stress Analysis: Displacement (U) at nodes
• Heat Transfer Analysis: Temperature (T) at the nodes
• Fluid Dynamic Analysis: Velocity at (V) at the nodes
• Electrostatic Analysis: Electric Potential (V) at the nodes
• Other related parameters known as the secondary parameters are estimated from the primary unknown parameters.
• For example, in stress-strain analysis the primary unknown parameters are nodal displacements, and the secondary
unknown parameters are stress and strain which can be obtained by the strain/displacement stress/strain for each
finite element.
• In the case of one-dimensional deformation, say, in the x direction, we have strain 𝜀𝑥 related to displacement u by
𝜀𝑥 = 𝑑𝑢Τ𝑑𝑥
• In addition, the stresses must be related to the strains through the stress/strain law, generally called the constitutive
law.
• The simplest of stress/strain laws, Hooke’s law, which is often used in stress analysis, is given by 𝝈𝒙 = 𝑬 𝜺𝒙,
where 𝝈𝒙 is the stress in the x direction and E is the modulus of elasticity.
Dr. Mostafa Elhussien Modeling and Simulation Lec. 6 24
General Steps of the Finite element Analysis
Step 4 Derive the Property Matrix and Equations for Each Finite Element
Derive the Stiffness Matrix and Equations for Each Finite Element
• The property matrix and equations for each finite element are calculated using the direct
equilibrium method with the following equation {f} = [k] {d}, where [k] which represent
the property of a finite element that relates nodal behaviors {d} to nodal actions {f} of a
single element
• For example, in the stress-strain analysis, the stiffness matrix and equations for each
finite element are calculated using the direct equilibrium method with the following
equation {f} = [k] {d}, where [k] which represent the stiffness matrix of a finite element
that relates nodal displacements {d} to nodal forces {f} of a single element
Dr. Mostafa Elhussien Modeling and Simulation Lec. 6 25
General Steps of the Finite element Analysis
Step 5 Assemble the Element Equations to Obtain the Global or Total Equations and
Introduce Boundary Conditions
• In this step the individual element nodal equilibrium equations generated in step 4 are
assembled into the global nodal equilibrium equations.
• This step assembles all individual element equations derived in step 4 to provide the
stiffness equation of the entire system.
• The final assembled or global equation written in matrix form is {F} = [K] {d} where
{F} is the vector of global nodal forces, [K] is the structure global or total stiffness
matrix, and {d} is the vector of known and unknown structure nodal degrees of freedom
or generalized displacements.
Dr. Mostafa Elhussien Modeling and Simulation Lec. 6 26
General Steps of the Finite element Analysis
Step 5 Assemble the Element Equations to Obtain the Global or Total Equations and
Introduce Boundary Conditions
• For example, in the stress strain analysis, {F} is the vector of global nodal forces, [K] is the structure
global or total stiffness matrix (for most problems, the global stiffness matrix is square and symmetric),
and {d} is the vector of known and unknown structure nodal degrees of freedom or generalized
displacements.
Property [K] Behavior [d] Action [F]
Elastic Stiffness Displacement Force
Thermal Conductivity Temperature Heat Source
Fluid Viscosity Velocity Body Force
Electrostatic Permittivity Electric Potential Charge
• where now n is the structure total number of unknown nodal degrees of freedom
Dr. Mostafa Elhussien Modeling and Simulation Lec. 6 28
General Steps of the Finite element Analysis
Step 7 Solve the Secondary Unknown Parameters for Each Element
Solve the Strains and Stresses in the Stress-Strain Analysis
• For the structural stress-analysis problem, important secondary quantities of strain and
stress (or moment and shear force) can be obtained because they can be directly
expressed in terms of the displacements determined in step 6.
• Typical relationships between strain and displacement and between stress and strain—
such as Eqs 𝜀𝑥 = 𝑑𝑢 Τ𝑑𝑥 and 𝝈𝒙 = 𝑬 𝜺𝒙 . for one-dimensional stress given in step 3—
can be used.
• The final goal is to interpret and analyze the results for use in the design/analysis
process.
• Determination of locations in the structure where large deformations and large
stresses occur is generally important in making design/analysis decisions.
• Postprocessor computer programs help the user to interpret the results by
displaying them in graphical form.
3. Model bodies composed of several different materials because the element equations
are evaluated individually
5. Vary the size of the elements to make it possible to use small elements where
necessary