Beruflich Dokumente
Kultur Dokumente
FORMULATIONS
IN THE NUMERICAL SOLUTION OF DIFF. EQUATIONS
• Collocation method
• Least-squares method
• Weighted-residual methods
♦ Petrov-Galerkin method
♦ Galerkin Method
JN Reddy NEED4WRF - 1
GOVERNING EQUATION
d ⎛ du ⎞
− ⎜ a( x ) ⎟ + c( x )u − f ( x ) = 0 in Ω = ( 0, L )
dx ⎝ dx ⎠
du
a + b(u − u0 ) = P at a boundary point
dx
u0 uninsulated bar
a = EA P
P a = kA
E, A k, A u(L)
u(L)
u0
L b=k L
x, u x, u
Elastic deformation of a bar Heat transfer in a bar
JN Reddy NEED4WRF - 2
APPROXIMATE SOLUTION
Approximate solution
d ⎛ du ⎞
− ⎜ a( x ) ⎟ + c( x )u − f ( x ) = 0
dx ⎝ dx ⎠
will result in a non-zero function on the left side of the equality.
d ⎛ dU ⎞
− ⎜ a( x ) ⎟ + c( x )U − f ( x ) ≡ R( x ) ≠ 0
dx ⎝ dx ⎠
JN Reddy NEED4WRF - 5
DETERMINING APPROXIMATE SOLUTIONS
(continued)
R( xi ) = 0 , i = 1, 2, , N
JN Reddy NEED4WRF - 6
DETERMINING APPROXIMATE SOLUTIONS
(continued)
2. Another approach in which the residual, R(x), can be made
zero is in a least-squares sense; i.e., minimize the integral
of the square of the residual with respect to C’s.
L
Minimize J (c1 , c2 , , cN ) = ∫ R 2 dx
0
L
∂J ∂R
or = 2∫ R dx = 0
∂ci 0
∂ci
This method is known as the Least-Squares method.
We obtain N algebraic equations in N unknown C’s
L
∂R
∫0 R ∂ci dx = 0
JN Reddy NEED4WRF - 7
DETERMINING APPROXIMATE SOLUTIONS
(continued)
3. Yet, another approach in which the residual, R(x), can be
made zero is in a weighted-residual sense
L
0 = ∫ψ i R dx, i = 1, 2, , N
0
L 2 L
1
⎡ ⎛ du ⎞ ⎤ 1 2
I (u ) = 2 ∫ ⎢a⎜ ⎟ + cu 2 ⎥dx − ∫ fu dx + b 2 0
{ [u( L)] − u( L)u }
0 ⎢
⎣ ⎝ dx ⎠ ⎥⎦ 0
∂I (U )
= 0, i = 1, 2, , N
∂ci
JN Reddy NEED4WRF - 9
SUMMARY
We seek approximate solution in the form of a linear combination
of known functions that satisfy the boundary conditions and
uknown parameters that are determined to satisfy the differential
equation in a some sense.
There are several ways one can make the residual (or error) in
the approximation of the differential equation to zero. If the error
is zero at every point of the domain, then we obtain the exact
solution. If the error is made zero at selected points (N), it is the
Collocation Method. The residual can be made zero in a least-
squares sense or weighted-integral sense. These various ways of
making the residual zero are known by different names, as
discussed.
JN Reddy NEED4WRF - 10
TERMINOLOGY
Mathematical Model A set of algebraic,
differential, and/or integral equations that govern
the physical phenomenon of a particular system.
The model is based on a set of assumptions and
restrictions placed on the phenomenon and the
laws of physics that govern it.
Numerical Method An inexact procedure by which
the governing equations can be solved for the
dependent (unknowns) variables.
Computer An electronic device that can be used
to evaluate mathematical expressions and
compute numbers using elementary operations of
addition, multiplication, and division.
JN Reddy NEED4WRF - 11
THREE BASIC IDEAS OF FEM
JN Reddy NEED4WRF - 12
EXAMPLE 1: Determine the center of mass
of a 3D machine part
JN Reddy NEED4WRF - 13
EXAMPLE 2: Determine the integral of a
function
b
I = F ( x ) dx
∫
a
x
a b
JN Reddy NEED4WRF - 14
EXAMPLE 2 (continued)
⎧a1 + b1 x , a ≤ x ≤ x2
⎪
F ( x ) ≈ ⎨a 2 + b2 x , x2 ≤ x ≤ x3
⎪ a + b x, x ≤ x ≤ b
⎩ 3 3 3
Actual function
Approximation
F(x)
x
a = x1 x2 x3 b = x4 4
JN Reddy NEED4WRF - 15
EXAMPLE 2 (continued)
xi +1 xi +1
Ii = i i i
∫ F ( x) dx = ∫ (a + b x) dx
⎧a1 + b1 x , a ≤ x ≤ x2 xi xi
⎪
F ( x ) ≈ ⎨a 2 + b2 x , x2 ≤ x ≤ x3
⎪ a + b x, x ≤ x ≤ b
⎩ 3 3 3
I ≈ I1 + I 2 + I 3
Actual function
F(x) Approximation
x
a = x1 x2 x3 b = x4 4
JN Reddy NEED4WRF - 16
Approximation of a curved surface
with a plane
(temperature profile)
(represents the solution)
Triangular element
Domain
JN Reddy NEED4WRF - 17
FEM TERMINOLOGY
Element A geometric sub-domain of the
region being simulated, with the property that
it allows a unique derivation of the
approximation (interpolation) functions.
Node A geometric location in the element
which plays a role in the derivation of the
interpolation functions and it is the point at
which solution is sought.
Mesh A collection of elements (or nodes) that
replaces the actual domain.
Weak Form An integral statement equivalent
to the governing equations and natural
boundary conditions.
JN Reddy NEED4WRF - 18
FINITE ELEMENT DISCRETIZATION
Elements Nodes
•
• •
•
• •
Domain,Ω • Ωe
• •
° •
°°°°°
Boundary,Γ •
Ωe Domain,Ω h
Inter-element flux
JN Reddy NEED4WRF - 21