Files
CCLite/FEMLite/docs/11_benchmark_matrix.md
2026-07-05 22:48:27 +08:00

84 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.
# 11 Benchmark 与验收矩阵
文档状态:0.6.5 版整理稿
## 1. 当前发布 Gate
0.6.5 发布 gate:
```powershell
cmake --build build-codex-gcc --parallel
ctest --test-dir build-codex-gcc --output-on-failure
git diff --check
```
## 2. 0.6.5 矩阵
| 领域 | 测试 | 验收点 |
|---|---|---|
| Coupling C ABI | `c_api` | 节点力导入、source 诊断、CSV 报告、显式单步响应 |
| 静力 RHS | `implicit_inp` | coupling 节点力叠加到静力线性 RHS 后产生位移响应 |
| Surface/facet 扩展 | `facet_nodal_c_api` | material/section/valid/thickness/mass 字段、退化 facet、surface 名称过滤 |
| Worker mock | `cclite_worker_mock` | READY、seq/ack、100 step 空耦合、VTU/PVD 和 coupling 诊断报告 |
| IPC adapter | `cclite_ipc_adapter` | shared memory、named event、timeout、wait/signal、不 reset event |
| IPC worker loop | `cclite_ipc_worker_loop` | transport facade 下 INIT 到 STOP 和 100 step 空耦合 |
| VTU/PVD 输出 | `vtk_output` | 默认场变量 VTU/PVD 输出稳定 |
| 真实 IPC worker | `cclite_worker_process_1step` | 进程级 1 step 空耦合、seq/ack 和 STOP 闭环 |
| 真实 IPC worker 长闭环 | `cclite_worker_process_100step` | 进程级 100 step 空耦合稳定 |
| Worker 边界 | `cclite_worker_process_timeout` / `cclite_worker_process_badcase` | timeout 和异常输入可控退出 |
| Worker 能力查询 | `cclite_capabilities` | `--cclite-capabilities` 稳定 key=value 输出 |
| 完整回归 | `ctest --output-on-failure` | 当前本地 78/78 通过 |
## 3. V5 Acceptance 矩阵
| 领域 | 代表测试或 benchmark |
|---|---|
| Mohr-Coulomb | `material_mohr_coulomb`、`material_mc_driver`、强度折减模块测试 |
| 线性求解器 | `linear_solver_cg`、`csr_diagnostics` |
| 接触 | `contact_mortar_al`、`contact_mortar_report`、contact examples |
| Cohesive | `cohesive_contact` |
| 颗粒 | `particle_acceptance`、颗粒耦合模块测试 |
| 屈曲 | `buckling_support`、小规模 `*BUCKLING` CLI 子集 |
| 壳/实体示例 | shell patch、Scordelis-Lo、基础壳/实体 smoke |
| CLI | static、implicit、buckling CLI smoke |
## 4. 已移除历史难例
以下高难度 examples 已从当前示例目录移除,不再作为当前交付或默认 gate:
- `strengthReduction`
- `mohr_coulomb_yield_surface`
- `ball_adhesion_decohesion`
- `Dynamic_Grain_Packing_of_a_Flexible_Container`
- `buckling_corrugated_shell`
- `roll_forming`
- `two_arches`
- `block_on_arch`
- `blasting_rock`
- `failure_prediction_in_a_layered_shell`
- `golfBallImpact`
- `nonlinear_harmonic`
- `stress_dependent_elasticity`
- `cylinder_roller_contact`
- `euler_column_buckling`
- `membrane_airbag_inflation`
- `pinched_hemispherical_shell`
- `spherical_cap_with_central_point_load`
若后续恢复这些示例,需要重新补输入、README、运行脚本、checker 和验收阈值。
## 5. 长跑与研究项
以下不属于默认 gate:
- 完整球冠 `uz=-6.2 m` PDF 曲线匹配。
- Mohr-Coulomb 临界失稳云图。
- 大规模工业级 contact 收敛。
- DEM/FEM 大规模颗粒长跑。
- 生产级滚压工艺链。
## 6. 维护规则
- 新 benchmark 必须有输入、README、运行命令、checker 和验收指标。
- compact benchmark 不得写成完整工业能力。
- benchmark 输出默认写入结果目录,不得提交全量 CSV/VTU/PVD。
- 发布 gate 变化必须同步更新 `06_test_and_verification_plan.md` 和本文档。