Choosing an element#

All the elements have six dofs per node and can be combined in one model, e.g. shells stiffened by beams, or beams connected by springs, since they share the dofs of the nodes, see Conventions.

Shells#

The shell elements are flat, with first-order shear deformation theory (FSDT) kinematics, the constitutive matrices of a ShellProp, see Shell properties, and the von Kármán membrane strains in the geometrically non-linear analyses, see Shell elements: kinematics and formulation. They differ in how they avoid shear locking and spurious modes, in their membrane and in their cost; the theory of each one is in Quad4: assumed transverse shear strains (MITC4), Quad4R: one-point integration and hourglass control, Tria3DSG: the discrete shear gap triangle and Tria3R: discrete shear gap with the Allman membrane, and that of the drilling rotation in Drilling rotations.

Element

Nodes

Use

Quad4

4

The recommended quadrilateral. Assumed transverse shear strains of the MITC4 element against shear locking, two-by-two bending, and the drilling enrichment of the in-plane displacement field, see quad4; only the six rigid-body modes have zero energy and the element passes the membrane and bending patch tests. With shear_model = 0, the transverse shear of the elements with \(h/\ell < 1\) is integrated with one point, after Hughes et al. (1977), whose two zero-energy modes make a strip one element wide too flexible in torsion, see the zero-energy modes in the Notes of quad4. The geometric stiffness takes the slopes of \(w\) at the two-by-two points by default, and at the centroid with shear_model = 0 or centroid_slopes = 1, such that the hourglass mode of \(w\) is not a spurious buckling mode with either transverse shear, see Quad4.update_KG(); the default gives the more accurate buckling loads on coarse meshes, e.g. 4.3 % instead of 6.8 % above the exact load of a plate with 5 elements per half-wave.

Quad4R

4

One integration point, cheaper than Quad4 for the internal forces and the stiffness matrices; no drilling enrichment, see quad4r. The bending and the transverse shear, the assumed strains of Dvorkin and Bathe, have the physical stabilisation of Belytschko and Leviathan (1994), without parameter, which controls the hourglass modes of \(w\), \(r_x\) and \(r_y\) and passes the constant-twist and the thin-plate bending patch tests; the hourglass modes of \(u\) and \(v\) have the artificial stiffness of Brockman (1987), with the membrane moduli of a laminate, and the one-element-deep strips of MacNeal and Harder lock in in-plane bending. hgfactor_physical and hgfactor_membrane of Quad4R.update_KC0() multiply the two. Brockman’s artificial stiffnesses on the hourglass modes of \(w\), \(r_x\) and \(r_y\) would also stiffen a uniform twist, by up to 78 % of its energy whatever the mesh where the element areas are large in the unit of length.

Tria3DSG

3

Discrete shear gap transverse shear field, free of shear locking by construction and without a tuning parameter, see tria3dsg. Constant-strain membrane without drilling enrichment, stiff in in-plane bending: Cook’s membrane is 54 % too stiff with 4x4 cells split in two, against 14 % for Tria3R. Same results as Tria3R on flat plates in bending, buckling and vibration. Preferable on coarse meshes of doubly curved shells, where it is the less stiff of the two triangles: 0.45 against 0.29 of the reference on the pinched hemisphere with 8x8 cells, the two agreeing from 32x32, see tria3r.

Tria3R

3

The recommended triangle. The same discrete shear gap transverse shear field as Tria3DSG, shear_model = 1, free of shear locking without a tuning parameter, with the membrane enriched by the drilling rotations of Allman: identical to Tria3DSG on flat plates in bending, buckling and vibration, better in in-plane bending, on the Scordelis-Lo roof and on the twisted beam, stiffer on the coarse meshes of the pinched hemisphere, and assembled in half the time, see tria3r. shear_model = 0 with alpha_shear_locking = 0.7 gives the centroid-sampled shear, which does not converge on thin plates and shells: -14 % on the deflection of a simply supported plate with \(a/h = 1000\).

Practical rules:

  • Prefer quadrilaterals in bending-dominated regions. A mesh of linear triangles is stiffer than the quadrilateral mesh it is split from, and its response depends on the direction of the diagonals; where triangles are needed, alternating the diagonals reduces this bias. Tria3R is the recommended triangle, Tria3DSG the alternative for coarse meshes of doubly curved shells.

  • The four nodes of a quadrilateral in a curved surface are, in general, not coplanar, and the element is flat: keep the warping small, see Warped quadrilaterals below. The triangles are always flat.

  • The distorted-mesh variants of the benchmarks of MacNeal and Harder (1985), doi:10.1016/0168-874X(85)90003-4, show how much distortion an element tolerates.

  • The drilling rotation \(r_z\) of all the shells has, by default, a physics-based stiffness, drilling_model = 0, without user parameter. drilling_model = 1 selects the fictitious penalty of Nastran, controlled by K6ROT.

  • The aerodynamic matrices of the piston theory, update_KA_beta, update_KA_gamma and update_CA, exist for Quad4 and Quad4R only.

  • For large rotations, every element can be added to a CorotationalModel, see Non-linear static analyses.

Warped quadrilaterals#

The matrices of Quad4 and Quad4R are those of the projected facet: the flat element in the mean plane of the four nodes, the plane of the element coordinates, parallel to both diagonals. The nodes of a warped element are at the offsets \(\tilde{z}_1 = \tilde{z}_3 = -\tilde{z}_2 = -\tilde{z}_4\) from the mean plane, and the warping ratio \(d_w/\ell = \max_a|\tilde{z}_a|/\sqrt{A}\), with \(A\) the area of the projected facet, measures it; it is the attribute warp_ratio of CorotationalShell. A rigid rotation of the warped nodes about an in-plane axis moves the nodes of the facet in an alternating in-plane pattern, which strains it, and the facet alone is too stiff in warped meshes.

The attribute warp_offsets of both elements, 1 by default, links the facet to the nodes by rigid offsets along its normal, \(u^f_a = u_a - \tilde{z}_a r_{y,a}\) and \(v^f_a = v_a + \tilde{z}_a r_{x,a}\) in element coordinates, \(\boldsymbol{u}^f = \boldsymbol{J} \boldsymbol{u}_e\): KC0, M, KG, KCNL and the internal forces become \(\boldsymbol{J}^\top \boldsymbol{K} \boldsymbol{J}\) and \(\boldsymbol{J}^\top \boldsymbol{f}\) of the facet evaluated at \(\boldsymbol{J} \boldsymbol{u}_e\), the geometric stiffness adds the eccentricity term \(\boldsymbol{K}_E\) of the offsets on the rotations of each node, which KCNL subtracts, KCNL being \(\boldsymbol{J}^\top \boldsymbol{K}^f \boldsymbol{J} - \boldsymbol{K}_E\) with \(\boldsymbol{K}^f\) the KCNL of the facet, so that KC0 + KCNL + KG remains the exact Jacobian of the von Kármán internal forces, and KC0 annihilates the six rigid motions of the warped nodes, see the Notes of Quad4, Quad4.update_KG() and Quad4.update_KCNL(). Flat elements give the same results, bit for bit, with warp_offsets 0 and 1, and 0 uses the facet alone. The correction is derived in pyfe3d; MacNeal (1978), p. 180, and Cook (1994), p. 552, correct warped quadrilaterals differently, balancing the moment of the offset membrane forces with normal nodal forces, and Belytschko, Wong and Chiang (1992), Section 3.3, with warping terms in the curvatures.

The twisted beam of MacNeal and Harder (1985), Fig. 6, with 12x2 elements and a warping ratio of 0.024, gives these tip displacements in plane and out of plane, normalised by those of their Table 3:

Element

warp_offsets = 1

warp_offsets = 0

Quad4

0.996, 0.997

0.25, 0.33

Quad4R

0.991, 0.930

0.24, 0.32

The remaining error of Quad4R is that of its in-plane bending with one element across the width. With 6x1 Quad4 elements, warping ratio 0.049, the tip displacements are within 1 % of those of a 96x16 mesh, and more than 70 % too small without the offsets. On the same beam, the offsets also bring the linear buckling load under an axial tip load and the first natural frequency of coarse meshes to those of fine meshes, see Linear buckling and natural frequencies. tests/test_quad_warp_offsets.py checks the correction and the twisted beam.

Practical rules for warped quadrilaterals:

  • Keep the default warp_offsets = 1; with 0 the facet alone is too stiff in warped meshes. The offsets were measured up to the warping ratio of 0.049 above, and CorotationalShell warns above 0.07, the ratio up to which its exact offsets were verified: beyond it, refine the mesh or use triangles.

  • Quad4Probe.update_BL() takes the warp_offsets of the element, such that the strains recovered with ue are those of the facet.

  • update_KG and update_KCNL of Quad4R take the hgfactor_* arguments for the nodal forces of the eccentricity term of a warped element: pass them the values of update_KC0, and the same values to both for the exact tangent stiffness matrix of the von Kármán internal forces.

  • The lumped mass matrix of a warped element, \(\boldsymbol{J}^\top \boldsymbol{M} \boldsymbol{J}\), couples the translations \(u\), \(v\) with the rotations \(r_y\), \(r_x\) of the same node, and remains block-diagonal per node.

Beams, truss and spring#

Element

Use

BeamC

The recommended beam. Timoshenko kinematics with the consistent shape functions of Luo (2008), which solve the static equilibrium equations of the beam with an uncoupled section, such that one element gives the exact tip deflection of a cantilever with shear deformation, and the nodal displacements of a frame under nodal loads, see tests/test_beamc_frame.py. With couplings in the sectional stiffness matrix other than extension-twist, e.g. an axis off the centroid or the bending-shear couplings of a composite section, its shape functions are derived from the same equations with the full matrix, evaluated numerically for each element, and one element remains exact under nodal loads, see the Notes of BeamC. Its von Kármán axial strain takes the element mean of \((v_{,x}^2 + w_{,x}^2)/2\), after Crisfield (1991), Section 7.1.3, which removes its membrane locking: the lower limit load of the arch of Fung and Kaplan (1952) with 40 elements is within 0.38 % of theirs, against 5.8 % with the pointwise strain, see the Notes of BeamC and tests/test_solver_arc_length_fung_kaplan.py.

BeamLR

Timoshenko kinematics with linear interpolation and reduced integration; it converges to the same solutions with mesh refinement, quadratically, and needs many more elements, see tests/test_timoshenko_beam_literature.py. Its buckling load includes the reduction due to shear deformation, see tests/test_beam_linear_buckling_3D_column.py, and its constant slopes leave it free of membrane locking in the geometrically non-linear cantilever under an end moment, as BeamC with its averaged axial strain, see tests/test_nonlinear_benchmarks_sze2004.py. Its interpolation does not depend on the sectional stiffness matrix, and it converges as fast with strong bending-shear couplings, e.g. of composite box beams, as without them, while BeamC is exact with one element under nodal loads, see Cross-sectional analysis of beams.

Truss

Axial and torsional stiffness only, linear analyses and mass matrix, without geometric stiffness matrix, hence no linear buckling. BeamC is recommended instead, because of its better physical representation.

Spring

Six constant stiffnesses, kxe, kye, kze, krxe, krye, krze, between the same dofs of two nodes, in the element coordinate system, e.g. for elastic supports and connections; no mass and no geometric stiffness matrix.

The cross section of the beams and of the truss is given by a BeamProp, whose integrals are taken in the element coordinate system, see Beam properties. Its orientation is defined by the vector vxyi, vxyj, vxyk of update_rotation_matrix, see Conventions. The beams have a transverse shear modulus for each plane of bending, G12 for the element \(xy\) plane and G13 for the \(xz\) plane, and the beams and the truss take the torsional stiffness GJ; the three follow G unless they are set. The beams read the stiffness through the \(6 \times 6\) sectional stiffness matrix C of BeamProp, built from these attributes unless it is set, e.g. by beamprop_from_vabs() with the 21 entries of a composite section; the truss reads only its entries \(E A\) and \(G J\).

Methods of each element#

Method

Quad4, Quad4R

Tria3DSG, Tria3R

BeamC, BeamLR

Truss

Spring

update_KC0

yes

yes

yes

yes

yes

update_fint, nonlinear=1

yes

yes

yes

linear only

linear only

update_KCNL

yes

yes

yes

update_KG

yes

yes

yes

update_KG_given_stress

yes

yes

update_M

yes

yes

yes

yes

update_KA_beta, update_KA_gamma, update_CA

yes

The arguments of each method are documented in the API pages of the elements, Finite elements.

Mass matrices#

The argument mtype of update_M selects how the kinetic energy of the element is integrated, with the same values for every element:

mtype

Mass matrix

Elements

0

consistent

Quad4, Quad4R, Tria3R, Tria3DSG, BeamC, BeamLR, Truss

1

lumped

Quad4, Quad4R, Tria3R, Tria3DSG, BeamC, BeamLR, Truss

2

reduced integration, one point

Quad4, Quad4R, Tria3R

Any other value, and 2 for an element without a reduced-integration mass matrix, raises a ValueError. Each matrix is the integral over the element of the inertia of the section between the interpolated velocities: for the shells, the integrals intrho, intrhoz and intrhoz2 of the ShellProp, which include the offset; for the beams, the integrals of the BeamProp. The consistent matrices integrate it exactly, and the lumped matrices with the points at the nodes, such that they couple no different nodes. A lumped shell matrix is block-diagonal per node, diagonal only when intrhoz is zero, and keeps the centre of mass of the element at the offset; the mass, first moment and rotary inertia of each scheme are derived in Mass matrices of the shells, and a warped quadrilateral adds the coupling of its rigid offsets, see Warped quadrilaterals. The lumped beam matrices are diagonal, without the first moments intrhoy, intrhoz and the product intrhoyz of the section, see BeamC.update_M().

References#

  • Belytschko, T., Wong, B. L. and Chiang, H.-Y., Advances in one-point quadrature shell elements, Computer Methods in Applied Mechanics and Engineering, 96(1), 93-107, 1992. https://doi.org/10.1016/0045-7825(92)90100-X

  • Cook, R. D., Four-node ‘flat’ shell element: drilling degrees of freedom, membrane-bending coupling, warped geometry, and behavior, Computers & Structures, 50(4), 549-555, 1994. https://doi.org/10.1016/0045-7949(94)90025-6

  • Crisfield, M. A., Non-linear Finite Element Analysis of Solids and Structures, Volume 1: Essentials, John Wiley & Sons, Chichester, 1991.

  • Fung, Y. C. and Kaplan, A., Buckling of low arches or curved beams of small curvature, NACA Technical Note 2840, National Advisory Committee for Aeronautics, Washington, 1952. https://ntrs.nasa.gov/citations/19930083579

  • MacNeal, R. H., A simple quadrilateral shell element, Computers & Structures, 8(2), 175-183, 1978. https://doi.org/10.1016/0045-7949(78)90020-2

  • MacNeal, R. H. and Harder, R. L., A proposed standard set of problems to test finite element accuracy, Finite Elements in Analysis and Design, 1(1), 3-20, 1985. https://doi.org/10.1016/0168-874X(85)90003-4