# Nonlinear finite elements/Nonlinear axial bar weak form

## Weak form of non-linear axial bar edit

Having discussed the equations of the non-linear axial bar, we proceed to construct a finite element approximation. The first step in obtaining the finite element approximation is to construct the weak form. To obtain the weak form we multiply the equilibrium equations discussed in the previous section with a test function (weighting function) and integrate over the whole domain .

is the test function or the weighting function. Now we apply integration by parts to shift a derivative from the first term to the test function.

We consider a pure Dirichlet problem, i.e) no traction conditions are applied on the boundary of the bar, hence we ignore the boundary term. The weak form of the pure Dirichlet problem, for the non-linear axial bar is given by,

is the displacement condition specified on the left boundary. Note that the weak form is not linear in the displacement field , this is because of the non-linearity introduced in the constitutive relation. The above equation serves as the starting point for the numerical solution (FEM) of the non-linear axial bar.

## Finite element approximation edit

The weak form of the pure Dirichlet problem for the non-linear axial bar can be thought of as non-linear operators acting on appropriate function space, the problem is to find in an appropriate function space for a prescribed body force such that the weak form is satisfied for all test functions . Instead of searching a solution in an infinite dimensional function space, using finite element one approximates the solution in a finite dimensional function space. We denote the finite element approximation for the solution as and the finite dimensional approximation for functions in the trial space as . Here we assume the solution space (trial space) and the test space to be same (spanned by the same set of vectors).

Any function in the test and trial space can be written as,

Substituting the finite element approximation into the weak form, we get

Using the arbitrariness of the trial function we can obtain the following relationship between the nodal degrees of freedom and nodal forces.

One should note that the solution for infinite dimensional weak form is now reduced to finding the roots of a non-linear equation in . In the next section we will discuss some procedures to solve this non-linear nodal displacement nodal force relation.