Summary
Quadratic membrane elements give wrong in-plane displacements under plain uniaxial tension with consistent nodal forces:
- Two M3D8R elements form a mechanism. Displacements reach 1e11 where 0.12 is exact, and ccx gives no warning.
- Two M3D6 elements are 3.65 times too soft. The error does not shrink with the thickness.
- Two M3D8 elements are 1.3 % too soft at t = 0.1 and 2.83 times too soft at t = 1.
The same meshes are exact with S8R and S6 shells, and the linear membranes M3D4, M3D4R and M3D3 are exact on the same strip. The manual (6.2.17, 6.2.18) describes M3D6, M3D8 and M3D8R as S6, S8 and S8R with hinges, so their in-plane response should match those shells.
Version
ccx 2.23 (conda-forge build pl5321h484372f_2, macOS arm64). The routines involved, gen3dmembrane.f and the membrane parts of gen3dnor.f, are the same on master.
Minimal input
membrane_quad.inp: a 2 x 1 strip of two M3D8R elements.
** Uniaxial tension of a 2 x 1 strip of two 8-node membranes, thickness 0.1.
** E = 1000, nu = 0; total force F = 6 on the edge x = 2, split 1:4:1.
** Exact: sigma = F/(t W) = 60, u_x(x = 2) = sigma L / E = 0.12, u_y = 0.
*NODE, NSET=NALL
1, 0.0, 0.0, 0.0
2, 1.0, 0.0, 0.0
3, 2.0, 0.0, 0.0
4, 0.0, 1.0, 0.0
5, 1.0, 1.0, 0.0
6, 2.0, 1.0, 0.0
7, 0.5, 0.0, 0.0
8, 1.5, 0.0, 0.0
9, 0.5, 1.0, 0.0
10, 1.5, 1.0, 0.0
11, 0.0, 0.5, 0.0
12, 1.0, 0.5, 0.0
13, 2.0, 0.5, 0.0
*ELEMENT, TYPE=M3D8R, ELSET=EALL
1, 1, 2, 5, 4, 7, 12, 9, 11
2, 2, 3, 6, 5, 8, 13, 10, 12
*MATERIAL, NAME=MAT
*ELASTIC
1000.0, 0.0
*MEMBRANE SECTION, ELSET=EALL, MATERIAL=MAT
0.1
*BOUNDARY
1, 1, 2
4, 1, 1
11, 1, 1
NALL, 3, 3
*STEP
*STATIC
*CLOAD
3, 1, 1.0
13, 1, 4.0
6, 1, 1.0
*NODE PRINT, NSET=NALL
U
*END STEP
membrane_tri.inp: a unit square of two M3D6 elements.
** Uniaxial tension of a unit square of two 6-node membranes, thickness 0.1.
** E = 1000, nu = 0; total force F = 6 on the edge x = 1, split 1:4:1.
** Exact: sigma = F/(t W) = 60, u_x(x = 1) = sigma L / E = 0.06, u_y = 0.
*NODE, NSET=NALL
1, 0.0, 0.0, 0.0
2, 1.0, 0.0, 0.0
3, 1.0, 1.0, 0.0
4, 0.0, 1.0, 0.0
5, 0.5, 0.0, 0.0
6, 1.0, 0.5, 0.0
7, 0.5, 0.5, 0.0
8, 0.5, 1.0, 0.0
9, 0.0, 0.5, 0.0
*ELEMENT, TYPE=M3D6, ELSET=EALL
1, 1, 2, 3, 5, 6, 7
2, 1, 3, 4, 7, 8, 9
*MATERIAL, NAME=MAT
*ELASTIC
1000.0, 0.0
*MEMBRANE SECTION, ELSET=EALL, MATERIAL=MAT
0.1
*BOUNDARY
1, 1, 2
4, 1, 1
9, 1, 1
NALL, 3, 3
*STEP
*STATIC
*CLOAD
2, 1, 1.0
6, 1, 4.0
3, 1, 1.0
*NODE PRINT, NSET=NALL
U
*END STEP
How to run
ccx membrane_quad
ccx membrane_tri
For the comparisons, change only the element type: M3D8R to M3D8, or M3D8R to S8R and M3D6 to S6 (the shells with *SHELL SECTION in place of *MEMBRANE SECTION).
Expected
Uniaxial stress, σ = F/(t·W) = 6/(0.1·1) = 60:
membrane_quad: u_x = σL/E = 60·2/1000 = 0.12 at nodes 3, 6 and 13, and u_y = 0.membrane_tri: u_x = 60·1/1000 = 0.06 at nodes 2, 3 and 6, and u_y = 0.
Actual
Both runs end with “Job finished” and exit code 0, with no warning. SPOOLES does not report a singular matrix either.
membrane_quad with M3D8R, .dat:
3 1.137162E+11 1.402544E+11 8.080501E-06
6 1.495488E+11 -1.760870E+11 1.318492E-05
13 1.316325E+11 -1.791629E+10 0.000000E+00
membrane_tri with M3D6, .dat. Node 1 is fixed in x and y but is reported with u_x = 0.118:
1 1.182222E-01 9.630397E-04 7.345822E-17
2 3.423924E-01 2.019036E-01 -4.740099E-18
3 8.711579E-02 1.850464E-01 -2.898568E-17
6 2.190309E-01 1.953883E-01 0.000000E+00
Edge displacement u_x for each element type:
| deck, thickness t | element | u_x | exact |
|---|---|---|---|
| quad, 0.1 | M3D8R | 1.316325E+11 | 0.12 |
| quad, 0.1 | M3D8 | 1.215276E-01 (+1.3 %) | 0.12 |
| quad, 1.0 | M3D8 | 3.396809E-02 (2.83 x) | 0.012 |
| quad, 0.1 and 1.0 | S8R | exact | 0.12, 0.012 |
| tri, 0.1 | M3D6 | 2.190309E-01 (3.65 x) | 0.06 |
| tri, 0.01 | M3D6 | 2.184323E+00 (3.64 x) | 0.6 |
| tri, 0.1 | S6 | 6.000000E-02 | 0.06 |
| 2 x 1 strip, 0.1 | M3D4, M3D4R, M3D3 | exact | 0.12 |
A single unit-square element under the same load is also off. M3D8R is 0.67 % too soft and M3D8 0.50 % at t = 0.1; at t = 1 they are 2.0 and 1.74 times too soft.
Where it goes wrong
Each membrane element gets its own three expanded nodes per node: bottom n_1, middle n_2 and top n_3. gen3dnor.f merges normals only when neither element is a membrane:
& (lakon(iel(j))(1:1).ne.'M').and.
& (lakon(iel(jact))(1:1).ne.'M').and.
Those expanded nodes are connected to the membrane node n only by the hinge that gen3dmembrane.f generates:
! generating a hinge at a node of a membrane element
!
! u(n_1)+u(n_3)=2*u(n)
At a corner node of a quadratic membrane, n_2 is a node of the expanded element: nodes 13 to 15 of the C3D15, nodes 17 to 20 of the C3D20(R). The hinge does not contain it. Only gen3dboun.f ties it, with u(n_2)=u(n), and only in directions that carry an SPC at a node that belongs to a single element. So n_2 is an unloaded node internal to each element:
- With n_2 free, each corner of the expanded element can bulge through the thickness, so the element itself is too soft; this is not only a question of how a corner force is split. With the edge displacement prescribed instead of a force (no loads at all), the edge reactions of the two-element M3D8 strip sum to 3.44 instead of 6 at t = 1 and to 5.97 at t = 0.1. For M3D8R they sum to 5.96, and the model is not singular in this case. The reactions are still split 1:4:1. For M3D8 the error grows with (t/L)²; for M3D6 it stays near 3.6 times at any thickness.
- For C3D20R, the free nodes 17 to 20 add an hourglass mode. Each element has its own nodes, so no neighbour suppresses it.
To check this, I rebuilt both decks by hand from C3D20R, C3D20 and C3D15 elements, each element with nodes of its own, tied by *EQUATIONs. With exactly the constraints listed above, the hand-built models reproduce every M3D6 and M3D8 number in the table to all printed digits; for M3D8R they are singular as well.
Adding u(n_2) = u(n) at every corner node of every element gives exactly 0.12 and 0.06 in these patch tests, for M3D8R too. For M3D6 and M3D8, generating that equation in gen3dmembrane for the corner nodes is the fix. For M3D8R it is not enough on its own.
- Each C3D20R still has a zero-energy mode that lives only in its own through-thickness nodes: u = ζ·(a ξ(η² − 1/3), −b η(ξ² − 1/3), 0), with a and b the half-sides. It has zero strain at all 2×2×2 integration points, and it satisfies both the hinge and the mid-node tie.
- The patch tests don’t excite it. A self-balanced pair of forces on one corner’s expanded nodes gives |u| = 1.7e12 with no warning; the C3D20 version of the same model gives 0.0053.
- Uniform tension on 80 × 80 and 100 × 100 M3D8R strips is up to 4e-4 off with the mid-node tie alone.
Suppressing that mode as well makes M3D8R stable and exact, for example with one more equation per element against it. It leaves a flat element’s stiffness unchanged to 1e-12.
Workaround
Use the linear membranes M3D4, M3D4R or M3D3, which are exact in these tests. S6, S8 or S8R shells are also exact in-plane, if their bending stiffness is acceptable.