Lecture 4 CEE6504 - Mathematical Modeling
Lecture 4 CEE6504 - Mathematical Modeling
Modeling
Introduction
One of the most important things engineers and
scientist do is to model physical phenomena.
Virtually every phenomenon in nature, whether
civil, aerospace, biological, chemical, geological,
electrical, or mechanical can be described, with the
aid of laws of physics or other fields in terms of
algebraic, differential, and/or integral equations
relating various quantities of interest.
Introduction – Continued…
Analytical descriptions of physical phenomena and
processes are called mathematical models
Mathematical models of a process are developed
using:
◼ Assumptions concerning how the process works
◼ Appropriate axioms or laws governing the process
They are often characterized by very complex
differential and/or integral equations posed on
geometrically complicated domain
Introduction – Continued…
The processes to be studied, until the advent of
electronic computation, were drastically simplified
so that the governing equations can be solved
analytically
Over the last four decades, however, computers
have made it possible, with the help of suitable
mathematical models and numerical methods, to
solve many practical engineering applications
Introduction – Continued…
The use of numerical methods and a computer to
evaluate the mathematical model of a process and
estimate its characteristics is called numerical
simulation.
There now exist a new growing body of
knowledge connected with the development of
mathematical models and use of numerical
simulations of physical systems, and it is known as
computational mechanics.
Introduction – Continued…
Any numerical simulation, such as the one by the
Finite Element Method (FEM), is not an end in itself
but rather an aid to analysis, design, and
manufacturing.
d 2 d 2 g
− mg sin = ml 2 or 2
+ sin = 0
dt dt l
Introduction – Mathematical Models
The linear version of the equation takes the form
d 2 g
2
+ =0 (4)
dt l
The following boundary conditions are required
for the solution of equations (3) and (4)
dθ
(0) = 0 , = v0 (5)
dt
Introduction – Mathematical Models
The problem described by Eqs. (4) and (5) is
called an initial-value problem and has the following
analytical solution
(t ) = A sin t + B cos t (6)
with
g v0
= , A= , B = 0 (7)
l
Introduction – Mathematical Models
The solution to the linear problem is
v0
(t ) = sin t + 0 cos t (8)
For zero initial velocity and nonzero initial position
2. Static loading
u2 − u1
1−2 = E ,
L
u3 − u2
2−3 = E ,
L
u4 − u3
3−4 = E
L
Introduction – Numerical simulations
There exist a number of numerical methods, many of
which are developed to solve differential equations
1. Finite difference method
In the finite difference approximation of a
differential equation, the derivatives in the latter are
replaced by difference quotients that involve the
values of the solution at discrete mesh points of the
domain. The resulting algebraic equations are solved
for the values of the solution at the mesh points after
imposing the boundary conditions
Introduction – Numerical simulations
2. Classical variational method
In the solution of a differential equation by a
classical variational method, the equation is put into
an equivalent weighted-integral form and then the
approximate solution over the domain is assumed to
be a linear combination (j cj j) of appropriately
chosen approximation functions j and undetermined
coefficients cj.
The coefficients cj are determined such that the
integral statement equivalent to the original
differential equation is satisfied
Introduction – Numerical simulations
Various variational methods , e. g., the Ritz, Galerkin,
collocation, and least-squares methods, differ from each other
in the choice of the integral form, weight functions, and/or
approximation functions
The classical variational methods, which are meshless
methods, are powerful methods that provide globally
continuous solutions but suffer from the disadvantage that the
approximation functions for problems with arbitrary domains
are difficult to construct (the modern meshless methods seem
to provide a way to construct approximation functions for
arbitrary domains)
Introduction – Finite Element Method
3. The Finite Element Method
1. The Basic Idea
The finite element method is a numerical
method that is general and powerful in its
application to real-world problems that
involve complicated physics, geometry,
and/or boundary conditions
Introduction – Finite Element Method
In finite element method, a given domain is
viewed as a collection of subdomains, and over each
subdomain the governing equation is approximated
by any of the traditional variational methods
The main reason behind seeking approximate
solution on a collection of subdomains is the fact that
it is easier to represent a complicated function as a
collection of simple polynomials
Introduction – Finite Element Method
P = perimeter (m)
[ Aq ] x + x − [ Aq ] x
− + P(T − T ) + gA = 0
x
Introduction – Mathematical Models
And taking the limit x → 0, we obtain
d
− ( Aq ) + P(T − T ) + Ag = 0 (11)
dx
Relating the heat flux q (W/ m2 ) to the temperature
gradient (Fourier Law)
dT
q( x ) = − k (12)
dx
Introduction – Mathematical Models
Substitute (12) in (11), we arrive at the heat
conduction equation
d dT
( kA ) + P(T − T ) + gA = 0 (13)
dx dx
or
d dT
− ( kA ) + P(T − T ) = gA (14)
dx dx
which is a linear, second-order differential equation
Introduction – Mathematical Models
The boundary conditions at the ends of the bar are
dT
T (0) = T0 , kA dx ) + P(T − T ) = 0
(15)
x=L
The second condition represents the balance of the
heat due to conduction [kA(dT/dx)] and convection
[A(T- T∞)]
Introduction – Mathematical Models
The problem described in (14) and (15) is called a
boundary-value problem
If we assign:
T- T∞ , a kA [W.m/ oC],
c bP [W/(m. oC)], f Ag (W/m) (16)
Equations (14) and (15) can be written as
d d
− a + c = f (17)
dx dx
Introduction – Mathematical Models
d
(0) = T0 − T , a dx + A = 0
(18)
x=L