有限元方法问答 09:数值积分
L10 — Numerical Integration(数值积分)
Q67 ⭐ Gauss积分精度公式
EN: With Gauss integration points, a polynomial of degree is integrated exactly:
Examples:
- (1 point): exact for linear ()
- (2 points): exact for cubic ()
- (3 points): exact for quintic ()
中文: 点 Gauss 积分精确到 次多项式。1点精确1次,2点精确3次,3点精确5次。这是Gauss积分比Newton-Cotes更高效的根本原因。
Q68 🔴 Newton-Cotes积分精度
EN: Newton-Cotes formulas use equally spaced sampling points. With points, they are exact for polynomials of degree (or for even in some variants). This is much less efficient than Gauss quadrature for the same number of points.
Comparison: With 3 points — Gauss exact to degree 5, Newton-Cotes exact to degree 2 (Simpson’s rule) or 3. FEM programs generally prefer Gauss integration for efficiency.
中文: Newton-Cotes用等距积分点,点精确 次(或n次),效率远低于Gauss。3点Gauss精确5次,3点Newton-Cotes仅精确2-3次。有限元优先使用Gauss积分。
Q69 🔴 Gauss vs Newton-Cotes 对比
EN:
| Feature | Gauss | Newton-Cotes |
|---|---|---|
| Sampling points | Non-equally spaced | Equally spaced |
| Boundary points sampled? | No | Yes |
| Accuracy ( points) | degree | (or ) degree |
| Efficiency | Higher | Lower |
| Usage in FEM | Preferred | Rare (plasticity starting from surfaces) |
Gauss is more efficient because it optimizes both point locations AND weights, while Newton-Cotes fixes point locations and optimizes only weights. However, in some applications like plasticity where yielding starts at element surfaces, Newton-Cotes may be used because it samples boundary points.
中文: Gauss用非等距点(内部点+优化权重),精度远高于等距的Newton-Cotes。有限元优先用Gauss。但Newton-Cotes采样边界点,在塑性(从表面开始屈服)中有应用。
Q70 ⭐ 4节点和8节点等参单元的完全积分
EN: Recommended full Gauss integration orders:
| Element | Shape function order | Full integration | Gauss points |
|---|---|---|---|
| 4-node 2D quadrilateral | 4 points | ||
| 8-node 2D quadrilateral | 9 points | ||
| 8-node 3D brick | 8 points | ||
| 20-node 3D brick | 27 points |
The requirement comes from: , where is the shape function polynomial order and is the approximate B-matrix polynomial order (after differentiation).
中文: 4节点四边形:2×2 Gauss(4点);8节点四边形:3×3 Gauss(9点)。完全积分确保被积函数 中的所有多项式项被精确积分。
Q71 🔴 减缩积分(Reduced Integration)
EN: Reduced integration uses fewer Gauss points than the full integration scheme:
| Element | Full | Reduced |
|---|---|---|
| 4-node quad | (1 point) | |
| 8-node quad | (4 points) |
Advantages: (1) Lower computational cost; (2) Can alleviate shear locking and volumetric locking in certain problems.
Disadvantages/Risks: May introduce spurious zero-energy modes — deformation patterns that produce zero strain at all integration points, leading to hourglass modes. The element has no stiffness against such deformation.
中文: 减缩积分 = 用比完全积分更少的Gauss点。优点:计算量小、可缓解剪切锁死和体积锁死。缺点:可能引入虚假零能模式(沙漏模式)——单元变形但积分点处应变为零,刚度无法抵抗该变形。
Q72 ⭐ 沙漏模式(Hourglass Mode)
EN: Hourglass mode (also called zero-energy mode, spurious mode, or kinematic mode) occurs when an element deforms in such a way that all integration points register zero strain and stress, yet the element has clearly deformed. The element therefore has no stiffness against this deformation mode.
This most commonly occurs with reduced integration schemes (e.g., Gauss for a 4-node quadrilateral). With only one integration point at the element center, deformation patterns that preserve the center’s shape produce zero strain energy at that point.
Solutions: (1) Use full integration; (2) Use hourglass control algorithms; (3) Change element type; (4) Improve mesh quality.
中文: 沙漏模式 = 单元变形了但积分点处应变为零,单元对该变形模式无刚度。最常见于4节点单元的1点减缩积分(只有中心一个积分点)。解决方法:用完全积分、沙漏控制、换单元类型、改进网格质量。
Q73 ⭐ 位移 vs 应力精度
EN: In displacement-based FEM:
- Displacements are most accurate, continuous across elements → primary unknowns
- Strains are less accurate (from displacement derivatives), discontinuous across element boundaries
- Stresses () are similarly less accurate and discontinuous
- Gauss points give the most accurate stress/strain values (superconvergent points)
- Nodal stresses are typically obtained by extrapolation from Gauss points or averaging across adjacent elements
中文: 精度排序:位移 > 应变 > 应力。位移连续,应力/应变在单元间不连续。Gauss点应力和应变最准(超收敛点)。节点应力需通过外推或平均得到。
Q74 🔴 Gauss点处应力最准确的原因
EN: Gauss integration points are “superconvergent” points — the error in stress/strain at these points converges at a higher rate than elsewhere in the element. For a 4-node quadrilateral, the Gauss points give stresses that are one order more accurate than at nodes. This is why commercial FEA software typically reports stresses at integration points and then extrapolates to nodes.
中文: Gauss点处的应力具有"超收敛性"——误差递减速率比其他位置快一阶。因此商业FEM软件通常在积分点计算应力,再外推到节点。这也是节点应力需要平均处理的根本原因。
Q75 🟡 应力平滑
EN: Since stresses are discontinuous across element boundaries, post-processing often involves stress smoothing to obtain continuous nodal stress fields:
- Simple averaging: (average of all elements sharing node )
- Area-weighted averaging: (weighted by element areas)
This produces visually smoother stress contours for engineering interpretation.
中文: 应力平滑——对共享节点的各单元在节点处的应力做平均(简均或面积加权平均),得到连续的节点应力分布,用于绘制光滑的应力云图。
Q76 🟡 2点Gauss积分点位置和权重
EN: For 1D Gauss quadrature with :
- Integration points: ,
- Weights:
For : , .
For : , .
In 2D, the points are the tensor product: with weights .
中文: 2点Gauss:,权重各1.0。3点:,权重 。二维是张量积:点 ,权重 。