Finite Element Method - 1

2018/03/29

Finite Difference method

We are starting with the basic numerical Procedure to solve the differetial eqiation which are otherwise very difficult to solve analytically. Finite Difference method can be used to solve the differential equations. For Solving any physical Problem we need to formulate the physical problem in form Governing mathematical eqautions. The solve the governing eqation to get the solution for the problem.

We now consider a simple and classic example for this, The pendulam problem.

Pendulam Image

Now writing the Governing Eqaution for this

F=ma=d(mv)dt

Now substituting the force values and the velocity vector Fx=mgsinθvx=ldθdtd2θd2t+glsinθ=0 The boundary conditions for this situation are given by θt=0=0dθdtt=0=v0

Now to solve this Numerically we make an approximations. We first Divide the Domain into node points and then calculate the value of the function at that point and progress similarly.

d2θdt2t=t1θi12θi+θi+1(Δt)2

Thus at time point t we require the values of θN1 and θN+1 values. Now at the initial boundary condition the value of θN1 calculated by the specification of boundary condition

dθdtt=0θ0θ1Δt=v0

This will lead to a matrix of the varibles and the linear system of equation of form we can solve this equation Aθ=B

From This we van get the Values of Theta at every point of time. We can choose the Δt difference to calulate the Values of Theta to required accuracy.

Variational Methods