Nonlinear finite elements/Total Lagrangian approach

From testwiki
Jump to navigation Jump to search

Total Lagrangian Approach

In the total Lagrangian approach, the discrete equations are formulated with respect to the reference configuration. The independent variables are X and t. The dependent variable is the displacement u(X,t).

Total Lagrangian Stress and Strain Measures

The strain is

ε(X,t)=F(X,t)1=xX1=uX=u,X.

For the reference configuration,

ε0=ε(X,0)=F(X,0)1=XX1=0.

The Cauchy stress (force/current area) is

σ=TA.

The engineering stress (force/initial area) is

P=TA0.

The two stresses are related by

σ=A0AP;P=AA0σ.

For the reference configuration,

σ=P.

Governing Equations in Total Lagrangian Form

The Total Lagrangian governing equations are:


  • Conservation of Mass:
ρJ=ρ0J0=ρ0.
For the axially loaded bar,
ρAA0F=ρ0ρAF=ρ0A0.
  • Conservation of Momentum:
X(A0P)+ρ0A0b=ρ0A02ut2.
  • For the bar A0 is constant. Therefore,
PX+ρ0b=ρ02ut2.
In short form,
P,X+ρ0b=ρ0u¨.
If u¨0, we get the equilibrium equation
P,X+ρ0b=0.
  • Conservation of Energy:
For the bar:
ρ0Wintt=FtP.
In short form:
ρ0W˙int=F˙P.
  • Constitutive Equations:
    • Total Form:
For a linear elastic material:
P(X,t)=EPFε(X,t)=EPFu,X=EPF[F(X,t)1].
The superscript PF refers to the fact that this function relates P and F.
For small strains:
EPF=Youngs modulus.
    • Rate Form:
For a linear elastic material:
P˙(X,t)=EPFε˙(X,t)=EPFF˙(X,t).

The Wave Equation

The momentum equation is

P,X+ρ0b=ρ0u¨.

The total form constitutive equation is

P(X,t)=EPFε(X,t)=EPFu,X.

Plug constitutive equation into momentum equation to get

(EPFu,X),X+ρ0b=ρ0u¨.

If EPF is constant in the bar and the body force is zero,

EPFu,XX=ρ0u¨u,XX=ρ0EPFu¨=1c02u¨.

This is the wave equation (hyperbolic PDE). The wave speed is c0. If acceleration is zero, the equation becomes elliptic.

Initial and Boundary Conditions

The governing equation for the rod is second-order in time. So two initial conditions are needed.

u(X,0)=u0(X)forX[0,L]u˙(X,0)=v0(X)forX[0,L]

The rod is initially at rest. Therefore, the initial conditions are

u(X,0)=0forX[0,L]u˙(X,0)=0forX[0,L]

Since the problem is one-dimensional, there are two boundary points. Also, the momentum equation is second-order in the displacements. Therefore, at each end, either u or u,X must be prescribed. In mechanics, instead of u,X, the traction is prescribed.

Let Γu be the part of the boundary where displacements are prescribed. Let Γt be the part of the boundary where tractions (force vector per unit area) are prescribed.

Then the displacement boundary conditions are

u(X,t)=u¯(X,t)forXΓu.

The traction boundary conditions are

n0P(X,t)=tX0(X,t)forXΓt.

The unit normal to the boundary in the reference configuration is n0.

For the axially loaded bar, the displacement boundary condition is

u(0,t)=0forX=0

The unit normal to the boundary is

n0=1atX=0n0=1atX=L

Therefore, the traction boundary condition is

P(L,t)=T(t)forX=L.

For shock problems or fracture problems, an addition interior continuity or jump condition may be needed. This condition is written as

P=0

where

P(X)=P(X+ϵ)P(Xϵ),ϵ0.

Weak Form for Total Lagrangian

The momentum equation (in its full form) is

(A0P),X+ρ0A0b=ρ0A0u¨.

To get the weak form over an element, we multiply the equation by a weighting function and integrate over the length of the element (from Xa to Xb).

XaXbw[(A0P),X+ρ0A0bρ0A0u¨]dX=0.

Integrate the first term by parts to get

XaXbw(A0P),XdX=[wA0P]XaXbXaXbw,X(A0P)dX.

Plug the above into the weak form and rearrange to get

XaXbw,X(A0P)dX+XaXbwρ0A0u¨dX=XaXbwρ0A0bdX+[wA0P]XaXb.

If we think of the weighting function w as a variation of u that satisfies the kinematic admissibility conditions, we get

XaXb(δu),X(A0P)dX+XaXbδuρ0A0u¨dX=XaXbδuρ0A0bdX+[δuA0P]XaXb.

Recall that

u=φ(X,t)X.

Therefore,

δu=δφ(X,t)=δx.

Taking a derivative of this variation, we have

δu,X=δx,X=δF.

Also,

[δuA0P]XaXb=[δuA0P]Xb[δuA0P]Xa=[δuA0Pn0]Xb+[δuA0Pn0]Xa=[δuA0tX0]Xb+[δuA0tX0]Xa=[δuA0tX0]Γt.

Therefore, we can alternatively write the weak form as

XaXbδFA0PdX+XaXbδuρ0A0u¨dX=XaXbδuρ0A0bdX+[δuA0tX0]Γt.

Comparing with the energy equation, we see that the first term above is the internal virtual work and the weak form is the principle of virtual work for the 1-D problem. The weak form may also be written as

δW=δWintδWext+δWkin=0

where,

δWint=XaXb(δu),X(A0P)dXδWext=XaXbδuρ0A0bdX+[δuA0P]XaXbδWkin=XaXbδuρ0A0u¨dX

Finite Element Discretization for Total Lagrangian

The trial solution is

uh(X,t)=j=1nNj(X)uj(t)

where n is the number of nodes. In matrix form,

uh(X,t)=𝐍𝐮where𝐍=[N1(X)N2(X)Nn(X)]and𝐮=[u1(t)u2(t)un(t)].

The test (weighting) function is

δuh(X)=i=1nNi(X)δui.orδuh(X)=𝐍δ𝐮whereδ𝐮=[δu1δu2δun].

The derivatives of the test functions with respect to X are

(δuh),X=i=1nNi,Xδui.or(δuh),X=𝐁0δ𝐮where𝐁0=[N1,XN2,XNn,X].

We will derive the finite element system of equations after substituting these into the approximate weak form

XaXb(δuh),X(A0P)dX+XaXbδuhρ0A0u¨hdX=XaXbδuhρ0A0b+[δuhA0P]XaXb.

Let us proceed term by term.


First LHS Term

The first term represents the virtual internal work

δWint=XaXb(δuh),X(A0P)dX.

Plugging in the derivative of the test function, we get

δWint=XaXb[i=1nNi,Xδui](A0P)dX=i=1nδui[XaXbNi,X(A0P)dX]=i=1nδuifiint.

The last substitution is made because the virtual internal work is the work done by internal forces in moving through a virtual displacement. The matrix form of the expression for virtual internal work is

δWint=δ𝐮T𝐟intwhere𝐟int=[f1intf2intfnint].

The internal force is

fiint=XaXbNi,X(A0P)dXor𝐟int=XaXb𝐁0T(A0P)dX=Ω0𝐁0TPdΩ0.

Second LHS Term

The second term represents the virtual kinetic work

δWkin=XaXbδuhρ0A0u¨hdX.

Plugging in the test function, we get

δWkin=XaXb[i=1nδuiNi]ρ0A0u¨hdX=i=1nδui[XaXbρ0A0Niu¨hdX]=i=1nδuifikin.

The inertial (kinetic) force is

fikin=XaXbρ0A0Niu¨hdX.

Now, plugging in the trial function into the expression for the inertial force, we get

fikin=XaXbρ0A0Ni[j=1nu¨jNj]dX=j=1n[XaXbρ0A0NiNjdX]u¨j=j=1nMijaj

where

Mij:=XaXbρ0A0NiNjdXConsistent Mass Matrix Term.

and

aj:=u¨jAcceleration.

Note that the mass matrix is independent of time!

In matrix form,

𝐟kin=𝐌𝐚where𝐚=[a1a2an]=[u¨1u¨2u¨n]and𝐟kin=[f1kinf2kinfnkin].

The consistent mass matrix in matrix notation is

𝐌=XaXbρ0A0𝐍T𝐍dX=Ω0ρ0𝐍T𝐍dΩ0.

Plugging the expression for the inertial force into the expression for virtual kinetic work, we get

δWkin=i=1nδui[j=1nMijaj]=i=1nj=1nδuiMijaj

In matrix form,

δWkin=(δ𝐮)T𝐌𝐚=(δ𝐮)T𝐟kin.

RHS Terms

The right hand side terms represent the virtual external work

δWext=XaXbδuhρ0A0bdX+[δuhA0tX0]Γt.

Plugging in the test function into the above expression gives

δWext=XaXb[i=1nNiδui]ρ0A0bdX+[(i=1nNiδui)A0tX0]Γt=i=1nδui[XaXbNiρ0A0bdX]+[i=1nδuiNiA0tX0]Γt=i=1nδui[XaXbNiρ0A0bdX+[NiA0tX0]Γt]=i=1nδuifiext.

In matrix notation,

δWext=δ𝐮T𝐟extwhere𝐟ext=[f1extf2extfnext].

The external force is given by

fiext=XaXbNiρ0A0bdX+[NiA0tX0]Γt.

In matrix notation,

𝐟ext=XaXb𝐍Tρ0A0bdX+[𝐍TA0tX0]Γtor𝐟ext=Ω0ρ0𝐍TbdΩ0+[𝐍TA0tX0]Γt.

Collecting the terms, we get the finite element system of equations

i=1nδui[fiint+fikinfiext]=0

Now, the weighting function is arbitrary except at nodes where displacement BCs are prescribed. At these nodes the weighting function is zero.

For the bar, let us assume that a displacement is prescribed at node 1. Then, the finite element system of equations becomes

fiint+fikinfiext=0fori=2n

or,

j=1nMijaj+fiintfiext=0fori=2n.

Since the displacement at node 1 is known, the acceleration at node 1 is also known. Note that we have to differentiate the displacement twice to get the acceleration and hence the prescribed displacement must be a C1 function.

We can take the known acceleration a1 to the RHS to get

j=2nMijaj+fiintfiext=Mi1a1fori=2n.

The above equation shows that prescribed boundary accelerations (and hence prescribed boundary displacements) contribute to nodes which are not on the boundary.

We can avoid that issue by making the mass matrix diagonal (using ad-hoc procedures that conserve momentum). If the mass matrix is diagonal, we get

Miiai+fiintfiext=0fori=2n.

In matrix form,

𝐌𝐚=𝐟ext𝐟intor𝐟=𝐌𝐚..

One way of generating a diagonal mass matrix or lumped mass matrix is the row-sum technique. The rows of the mass matrix are summed at lumped at the diagonal of the matrix. Thus,

Miidiagonal=j=1nMijconsistent=j=1nXaXbρ0NiNjA0dX=XaXbρ0Ni[j=1nNj]A0dX=XaXbρ0NiA0dXsincej=1nNj=1.

Discrete Equations for Total Lagrangian

The finite element equations in total Lagrangian form are:

u(X,t)=iNi(X)uie(t)=𝐍𝐮eε(X,t)=iNi,Xuie(t)=𝐁0𝐮eF(X,t)=iNi,Xxie(t)=𝐁0𝐱e𝐟inte=Ω0e𝐁0TPdΩ0𝐟exte=Ω0eρ0𝐍TbdΩ0+[𝐍TA0tX0]Γte𝐌e=Ω0eρ0𝐍T𝐍dΩ0𝐌𝐮¨=𝐟ext𝐟int.

Template:Subpage navbar