Updated Lagrangian formulation, 3D isoparametric 2-node beam element
Hypotheses:
StrainSmall
DisplacementLarge
MaterialLinear
Timoshenko beam model.
Straight, prismatic, two-node isoparametric beam element. The element formulation follows the notation introduced in Section 23.3.
In the Updated Lagrangian formulation, the equilibrium configuration obtained at the end of load step i becomes the reference configuration for load step i+1. Therefore, the incremental displacements and stresses at the current load step are evaluated with respect to the previously deformed configuration.
The present formulation extends to 3D the Updated Lagrangian procedure introduced for the 2D case in Section 8.2.
The generalized strain vector is expressed in the local reference frame, using the notation introduced in Section 23.3.
ε=⎩⎨⎧ε0βyˉβzˉκxˉκyˉκzˉ⎭⎬⎫.
The element nodal displacement vector in the local reference frame is:
In the present formulation, the curvatures are approximated by retaining the first-order terms:
κxˉ=Lψxˉ2−ψxˉ1
κyˉ=Lψyˉ2−ψyˉ1
κzˉ=Lψzˉ2−ψzˉ1.
The second-order terms of the curvature expressions are neglected here. Their complete expressions and corresponding derivatives are presented separately in Addendum 24a.
This keeps the main development focused on the practical Updated Lagrangian algorithm, while the more complete curvature expressions can be consulted when required.
02
Deformation energy
The deformation energy of one beam element, expressed in the local reference frame, is:
The internal element force vector is obtained from the first derivative of the deformation energy:
fel=∂uel∂Uel
and the tangent stiffness matrix from its second derivative:
kel=∂uel2∂2Uel.
εi is the i-th component of the generalized strain vector ε.
For each generalized strain component εi, the corresponding contribution to the internal force vector contains its first derivative,
∂uel∂εi,
whereas the tangent stiffness contribution contains both its first and second derivatives:
∂uel∂εi(∂uel∂εi)T
and
εi∂uel2∂2εi.
The tangent stiffness matrix contains a material contribution, associated with the first derivatives of the generalized strains, and a geometric contribution, associated with their second derivatives.
The exact axial strain itself is evaluated using the current element length. In the derivatives used to form the tangent quantities, however, the approximation
Lt≈L
is adopted because the axial strain remains small:
ε0≪1.
This simplification leads to compact derivative expressions while preserving the accuracy required by the present formulation.
04
Updated Lagrangian procedure
The MATLAB implementation follows closely the 2D Updated Lagrangian algorithm presented in Section 8.2.
At each load step:
the equilibrium equations are solved for the incremental nodal displacements;
the nodal coordinates are updated;
the current element lengths are recomputed;
the element local reference frames are updated;
the auxiliary third nodes used to define the principal plane of each 3D beam element are updated;
the resulting configuration becomes the reference configuration for the next load step.
After updating the nodal coordinates,
x←x+Δu,y←y+Δv,z←z+Δw,
the current length of every element is recalculated as:
Lt=(x2−x1)2+(y2−y1)2+(z2−z1)2.
This explicit update is used in the subprogram updt.
05
Update of the local reference frame
In 3D, each two-node beam element uses an auxiliary third node in order to define the principal plane of the cross-section. The coordinates of these auxiliary nodes are stored in the table nd3.
The orientation of this third node must be updated after every load step.
For sufficiently small incremental rotations, a first-order incremental rotation matrix may be used. However, higher accuracy is obtained by retaining the second-order terms of the incremental rotation matrix, as discussed in Section 21.1.
Let the incremental nodal rotations of the current beam element be:
φx,φy,φz.
The corresponding second-order incremental rotation matrix is denoted by
With the convention used in the subprogram updt, the accumulated transformation is updated according to:
R←RiTR.
The auxiliary third node is then updated consistently with the new element orientation.
06
MATLAB program
The MATLAB implementation for the 3D Updated Lagrangian formulation follows the same general structure as the 2D program presented in Section 8.2.
The main subprograms are:
gen_ex2.m — Example 2 input data and mesh generation;
stiff — assembly of the tangent stiffness matrix and internal force vector;
deriv — first and second derivatives of the generalized strains;
updt — update of nodal coordinates, element lengths and local reference frames.
The exact axial strain is used directly in the numerical calculations, while the simplified derivative expressions described above are used in the tangent formulation.
The MATLAB package includes both deriv.m and deriv_corrected.m. The routine deriv_corrected.m implements the complete curvature expressions presented in Addendum 24a.
The first example is the large-displacement 3D cantilever problem presented in Section 22.2.
The same material, geometric and loading data are used.
To reproduce the reference solution closely, the Updated Lagrangian analysis is performed using 50 load steps.
The algorithm presented in Section 22.2 provides a highly accurate reference solution for this example. Consequently, using fewer load steps in the UL formulation leads to larger, although still small, errors.
Figure 1. Example 1. Deformed cantilever configuration.
08
Example 2
A very flexible cantilever beam is considered:
L=100mm,
with rectangular cross-section
6×9mm,
Young's modulus
E=1000MPa,
and Poisson's ratio
ν=0.3.
The free end is loaded by:
Y=50N,Z=50N,Mx=3500Nmm.
The beam is discretized with 30 elements and the load is applied in 40 load steps.
The MATLAB results are compared with ANSYS results and show very good agreement.
Figure 2. Example 2. Deformed cantilever configuration; the end at the origin is clamped.
An initially straight cantilever beam lies along the global x-axis and is clamped at x=0. Its rectangular cross-section has dimensions 2mm in the y-direction and 3mm in the z-direction. E=2×105MPa. The beam is loaded at its free end by X=−150N, Y=50N, Z=75N, Cx=15000Nmm, Cy=0, Cz=20000Nmm.
The beam length is:
L=100mm,
Figure 4. Example 3. Deformed cantilever configuration; the end at the origin is clamped.
ANSYS does not reach the prescribed final load for this example. The solution stops at 35% of the total load:
X=−52.5N,Y=17.5N,Z=26.25N,
Cx=5250Nmm,Cy=0,Cz=7000Nmm.
At this load level, the maximum displacements are: