Files
FemLite/docs/04_mathematical_model_and_algorithms.md
shenw a2126f360c
FemLite CI / build-test (push) Has been cancelled
Release 0.6.5 real IPC worker
2026-07-05 21:09:37 +08:00

116 lines
3.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 04 数学模型与算法
文档状态:0.6.5 版整理稿
## 1. 控制方程
FemLite 当前覆盖结构动力学和静力学有限元问题:
```text
M a + C v + f_int(u, state) = f_ext + f_contact + f_coupling
```
静力问题省略惯性项,非线性静力和隐式动力通过 Newton 类迭代求解增量平衡。
## 2. 时间与增量算法
当前主要求解路径:
- 显式中心差分。
- 线性静力。
- 非线性静力 Newton-Raphson,带可选 cutback、线搜索、Riks/arc 诊断和 continuation path 输出。
- 隐式 Newmark。
- 非线性 Newmark + Newton。
- 小规模 dense 通用 buckling 子集。
生命周期诊断记录 increment、trial、iteration、accept、reject、cutback、commit 和 rollback 状态,但不改变底层非线性算法。
## 3. 单元算法
### 3.1 实体单元
| 单元 | 积分 |
|---|---|
| `C3D4` | 四面体 1 点 |
| `C3D8` | 六面体 2x2x2 Gauss |
| `C3D8R` | 六面体 1 点 reduced rule |
| `C3D10` | 四面体 4 点 |
| `C3D20` | 六面体 3x3x3 Gauss |
实体 B 矩阵导出约定:
```text
rows = 6
columns = 3 * nnode
strain rows = [exx, eyy, ezz, gxy, gxz, gyz]
```
### 3.2 壳单元
| 单元 | 积分 |
|---|---|
| `S3` | 三角形 1 点 |
| `S4` | 四边形 2x2 Gauss |
| `S4R` | 四边形 1 点 reduced rule |
| `S6` | 三角形 3 点 |
| `S8` | 四边形 3x3 Gauss |
壳 B 矩阵导出约定:
```text
rows = 8
columns = 5 * nnode
rows 1..3 = membrane [e11, e22, g12]
rows 4..6 = bending [k11, k22, k12]
rows 7..8 = transverse shear [g13, g23]
node columns = [u1, u2, u3, theta1, theta2]
```
`S4R` 和 `C3D8R` hourglass 控制为紧凑稳定项,只覆盖 0.6.3 小应变路径。
## 4. 积分规则
当前内部积分规则:
- Gauss-Legendre:四边形/六面体张量积默认全积分。
- Gauss-Lobatto:2 点和 3 点一维规则,支持四边形/六面体张量积。
- 闭型 Newton-Cotes:2 点和 3 点一维规则,支持四边形/六面体张量积。
- Simplex symmetric:三角形和四面体规则。
当前没有公开用户关键字用于任意替换单元积分规则。Hammer 名称未作为独立公开规则族暴露;三角形/四面体使用内部 simplex symmetric 规则。
## 5. 材料算法
当前覆盖:
- 小应变线弹性。
- J2 弹塑性。
- Johnson-Cook 相关路径。
- Mohr-Coulomb 材料点、driver、活动集一致切线和强度折减 benchmark 支撑。
- cohesive law/state/metrics 的紧凑验收路径。
完整复杂材料库和生产级多物理材料耦合留待后续。
## 6. 接触与耦合算法
当前包含:
- 基础 penalty 接触。
- 面-面 mortar/AL 接触基础设施。
- 摩擦历史、stick/slip 诊断和接触输出。
- analytical plane、node/facet 和 shell/solid 接触相关 smoke/benchmark。
- cohesive compact benchmark。
- 内置离散颗粒、颗粒-facet 映射和柔性容器紧凑 benchmark。
当前不声明完整工业级 AL/mortar 一致切线、通用 cohesive 主线 step 或大规模 DEM/FEM 子循环。
## 7. 屈曲与应用 benchmark
当前包含:
- Euler column buckling benchmark 和小规模 dense `*BUCKLING` 子集。
- Spherical cap、Scordelis-Lo、shell patch、接触类和基础壳/实体示例。
- Mohr-Coulomb、cohesive、颗粒和滚压相关能力主要保留在模块测试、工具或历史验收记录中。
这些 benchmark 用于受控验收,不等同于完整生产工艺求解器。