Documente Academic
Documente Profesional
Documente Cultură
1 FI RT PART (6 P TS )
The objective of this part is to give the list of the numerical methods used to solve a first order ordinary
differential equation. We consider the following ordinary differential equation:
dy
f (t , y ) (1.1)
dt
1
name of the method
2
precise if this method is a one step or a multi-step method
3
precise if this method is an explicit method or an implicit method
4
precise the order of the method, the error of the method
dy
=y (2.1)
dt
3 THI RD PART (3 P TS )
The objective of this part is to solve the ordinary differential equation (3.1) with 2 different numerical
methods and compare these 2 numerical methods.
dy
=−2⋅t⋅y (3.1)
dt
The initial condition is : y 0=1 (3.2)
In this exercise you will use the 2 following numerical methods: mid-point method and the prediction
correction method.
3.1 What is the order of the equation ( 3.1 )? What is the degree of this equation?
3.2.1 Give the formula of the Midpoint method for this differential equation for a step t
3.2.2 For which values of the step the Midpoint method is stable.
3.2.3 Can you evaluate the error at each step?
3.3.2 Which method must be used for the calculation of the first steps? Justify your answer.
Give the formula of this method.
3.3.3 Can you give an evaluation of the error of this method? If it is possible give the expression of
the error at each step.
3.3.4 Precise in an algorithm the principle of calculation of this method.
The objective of this part is to study electrical phenomenon in the study domain Ω . The study domain
Ω is constituted by two regions. The contact between these two regions is perfect, that means the
current density is continuous at the interface Γinterf .
interf
Material 1 Material 2
Firstly, to solve this problem we use analytical solution, secondly we use finite difference method, thirdly
we use finite element method.
Give the expression of the electrical current density in the two domains with differential operator.
Write the two relations at the interface Γ interf between the two materials.
Give the expression of Joule power density in the two domains in function of the electrical current density.
The study is lead, in 1D (along direction x). The total domain has a length L=0.2 m
The study domain Ω1 is a segment [I, B] of length L1 . The study domain Ω2 is a segment
[ B , F ] of length L2 .
We have x B =x I +L1 and x F = x I +L1 + L2
I B F
xB xF
xI
Figure 4.2 : 1D domain
The boundary conditions on Γ 1 (point I) and Γ 2 (point F) are Dirichlet conditions. We consider the
case of constant physical properties in each material. The size of the sub-domains are : L1=0.1m ,
L2=0.1 m
I B F x
x1 x2
4.3.1 Write the partial differential equation of electrical problem in function of partial differential
derivatives in each sub-domains
4.3.2 Give the approximations of the second order space derivatives of U for internal points of
each region:
∂2 U
• approximation of
( ) ∂ x2 m1
at the internal point m1 of the region 1 . Explain your result.
∂2 U
• approximation of
( )∂ x2 m2
at the internal point m2 of the region 2
4.3.3 Write the finite difference formulations on an internal point for each region :
Give the approximation of the first order derivative of U in the region 1 at the point B. To obtain this
relation, use first order Taylor expansion (figure 4.4).
I B
x1
Give the approximation of the first order derivative of U in the region 2 at the point B. To obtain this
relation, use first order Taylor expansion (figure 4.5).
m2 m2+1
B F x
x2
I B
x1
Figure 4.6 : Scheme for the 2 second order Taylor expansions in region 1
Give the approximation of the first order derivative of U in the region 2 at the point B with a second order
precision. To obtain this relation, use 2 second order Taylor expansions (figure 4.7).
m2 m2+1 m2+2
B F x
x2
Explain the change in the full formulation if you use the equation on the point B obtained with precision at
order 2.
How do you calculate the electrical potential on each node of the mesh.
1 3 2
-1 0 1
Figure 4.8: Quadratic reference : number and coordinate of the nodes of the element
Explain how you take into account the boundary conditions on the point B.
4.4.2 Expression of the projective method on an element of the basis αi . The node i is an
internal node of the domain Ω
Draw a scheme of the mesh of the study domain Ω .
Take into account the discretization of the study domain in the weak formulation. Precise how you take
into account of the 2 domains.
Use the polynomial interpolation of U on the reference element. Introduce it in the weak formulation.
Give the expression of the integrals on the reference element. The expressions of the integral were given
∂α i ∂ α j dx d ξ
∂ ξ , ∂ ξ , d ξ , dx , σ1 , σ2
in function of
Give in an algorithm the principle of the calculation of U by the finite element method.
Don’t forget to explain the use the elementary matrix, the principle of calculation of integrals. How do you
take into account the two domains?