Complete Explosive 0.4.0 gate
This commit is contained in:
@@ -142,6 +142,36 @@ git diff --check
|
||||
|
||||
2026-07-03 本地结果:默认 gate 37/37 通过,`source_size` 1/1 通过,`git diff --check` 通过。
|
||||
|
||||
## 7.2 0.4.0 Release Gate
|
||||
|
||||
0.4.0 在 0.3.1 Gas 稳定化 gate 基础上新增 `Explosive` 起步闭环测试。默认 gate 继续覆盖既有 Water/Gas/接口/restart/output/source-size 路径,并新增以下 Explosive 专项 gate:
|
||||
|
||||
- `input_explosive`
|
||||
- `input_explosive_errors`
|
||||
- `explosive_detonation_time`
|
||||
- `explosive_reaction_progress`
|
||||
- `explosive_release_source`
|
||||
- `explosive_to_gas_phase`
|
||||
- `explosive_gas_coupling`
|
||||
- `explosive_summary`
|
||||
- `explosive_restart_040`
|
||||
- `explosive_restart_031_compat`
|
||||
- `explosive_c_api`
|
||||
- `explosive_python`
|
||||
- `explosive_cli`
|
||||
- `explosive_source_size`
|
||||
|
||||
0.4.0 本地 release gate:
|
||||
```powershell
|
||||
cmake --build build-codex-unix --parallel
|
||||
ctest --test-dir build-codex-unix --output-on-failure
|
||||
ctest --test-dir build-codex-unix -R "^(input_explosive|input_explosive_errors|explosive_detonation_time|explosive_reaction_progress|explosive_release_source|explosive_to_gas_phase|explosive_gas_coupling|explosive_summary|explosive_restart_040|explosive_restart_031_compat|explosive_c_api|explosive_python|explosive_cli|explosive_source_size)$" --output-on-failure
|
||||
ctest --test-dir build-codex-unix -R "^source_size$" --output-on-failure
|
||||
git diff --check
|
||||
```
|
||||
|
||||
2026-07-03 本地结果:完整 CTest 51/51 通过,Explosive 专项 gate 14/14 通过,`source_size` 1/1 通过,`git diff --check` 通过。
|
||||
|
||||
## 8. Source Size 门禁
|
||||
|
||||
从第一版开始设置 source size 门禁。建议沿用 FEMLite 风格:
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# 09 版本历史与验收记录
|
||||
|
||||
文档状态:0.3.1 待发布记录
|
||||
文档状态:0.4.0 待发布记录
|
||||
|
||||
## 1. 当前状态
|
||||
|
||||
SPHLite 当前进入 0.3.1 `Gas` 稳定化版本。本版本在 0.3.0 `Gas` 最小闭环基础上补强多 Gas material/EOS 分派、Gas 源项占位、扩展诊断、restart 0.3.1 状态和 0.3.0 restart 兼容读入;`Explosive`、`Solid`、`Shell` 生产路径和真实 FEM-SPH 联合运行仍不在本版本交付范围内。
|
||||
SPHLite 当前进入 0.4.0 `Explosive` 起步版本。本版本在 0.3.1 `Gas` 稳定化基础上新增炸药解析点火、爆轰到达时间、programmed burn 反应进度、向 Gas 源项注入质量/动量/能量、完全反应后 phase 转化、summary/output/restart/API/CLI/Python 验收;`Solid`、`Shell` 生产路径和真实 FEM-SPH 联合运行仍不在本版本交付范围内。
|
||||
|
||||
## 2. 规划版本线
|
||||
|
||||
@@ -216,6 +216,40 @@ cmake --build build-codex-unix
|
||||
- 建议发布 0.3.1 作为 Gas 稳定化版本。
|
||||
- 0.3.1 发布后,后续主线可进入 0.4.0 `Explosive`,使用 0.3.1 已建立的 Gas 源项缓存作为质量/动量/能量注入入口。
|
||||
|
||||
### 0.4.0 本地验收记录
|
||||
|
||||
记录日期:2026-07-03
|
||||
|
||||
本地构建目录:`build-codex-unix`
|
||||
|
||||
版本定位:
|
||||
|
||||
- 0.4.0 是 `Explosive` 模块的起步闭环版本。
|
||||
- 0.4.0 支持 `TYPE=EXPLOSIVE` material、`*SPHLITE EXPLOSIVE` programmed burn 控制和 `*SPHLITE IGNITION` 单点点火。
|
||||
- 0.4.0 使用解析爆轰到达时间,不引入球面经验载荷主模型。
|
||||
- 0.4.0 支持炸药反应进度、释放质量/动量/能量统计、`CONVERSION=SOURCE` 注入 Gas 源项,以及 `CONVERSION=PHASE` 完全反应后转为 Gas。
|
||||
- 0.4.0 restart 写入 `STATE_0_4`,保存 Explosive material 表、点火记录和每粒子反应状态,并兼容 0.3.1 restart 读入时初始化空 Explosive 状态。
|
||||
- 0.4.0 追加 Explosive summary 的 Fortran API、C ABI、C++ wrapper、Python ctypes、CLI、CSV output 和专项 CTest gate。
|
||||
|
||||
验收结果:
|
||||
|
||||
- `cmake --build build-codex-unix --parallel` 通过。
|
||||
- `ctest --test-dir build-codex-unix --output-on-failure` 通过:51/51。
|
||||
- Explosive 专项 gate 通过:14/14。
|
||||
- `ctest --test-dir build-codex-unix -R "^source_size$" --output-on-failure` 通过:1/1。
|
||||
- `git diff --check` 通过。
|
||||
|
||||
不交付范围:
|
||||
|
||||
- 0.4.0 不交付 `Solid`、`Shell` 生产路径。
|
||||
- 0.4.0 不交付真实 FEM-SPH 接触耦合或连续体耦合。
|
||||
- 0.4.0 不交付工程级水下爆炸 benchmark、完整化学反应爆轰模型或气泡长周期脉动模型。
|
||||
|
||||
发布建议:
|
||||
|
||||
- 建议发布 0.4.0 作为 Explosive 起步闭环版本。
|
||||
- 0.4.0 发布后,后续主线可进入 `Solid`/`Shell` 前置能力或继续加固 Explosive-Gas-Water 链路。
|
||||
|
||||
后续每个版本应记录:
|
||||
|
||||
- 完成能力。
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# 11 Benchmark 与验收矩阵
|
||||
|
||||
文档状态:0.3.1 gate 记录
|
||||
文档状态:0.4.0 gate 记录
|
||||
|
||||
## 1. 当前状态
|
||||
|
||||
0.3.1 在 0.3.0 `Gas` 最小闭环基础上新增 Gas 多材料、material/EOS 分派、Gas 源项占位、扩展诊断和 restart 兼容 gate,并继续保留工程 benchmark 矩阵作为长期规划。本版本的 pressure wave smoke、Gas bubble metrics 和 Gas 源项测试只用于小规模数值链路检查,不作为工程精度 benchmark。
|
||||
0.4.0 在 0.3.1 `Gas` 稳定化基础上新增 `Explosive` 起步闭环 gate,并继续保留工程 benchmark 矩阵作为长期规划。本版本的 Explosive programmed burn、Gas 源项注入、phase 转化、pressure wave smoke 和 Gas bubble metrics 只用于小规模数值链路检查,不作为工程精度 benchmark。
|
||||
|
||||
## 2. 0.1.0 Release Gate
|
||||
|
||||
@@ -207,6 +207,35 @@
|
||||
|---|---|---|
|
||||
| 2026-07-03 | `build-codex-unix` | 0.3.1 gate 37/37 通过,`source_size` 1/1 通过,`git diff --check` 通过 |
|
||||
|
||||
## 2.7 0.4.0 Release Gate
|
||||
|
||||
0.4.0 默认 gate 在 0.3.1 Gas gate 基础上新增 Explosive 输入、反应、Gas 源项/phase 转化、summary、restart 和接口层验收。
|
||||
|
||||
| 测试名 | 类型 | 验收点 |
|
||||
|---|---|---|
|
||||
| `input_explosive` | Fortran input | Explosive material、section、control、ignition、product Gas/JWL EOS |
|
||||
| `input_explosive_errors` | Fortran input | 非法爆速、非法 product、非法 ignition、缺密度、非法 burn time、非法能量、product Gas 缺 EOS |
|
||||
| `explosive_detonation_time` | Fortran module | 按初始坐标和爆速计算爆轰到达时间范围 |
|
||||
| `explosive_reaction_progress` | Fortran module | programmed burn 下 `lambda` 单调增加并限制在 `[0,1]` |
|
||||
| `explosive_release_source` | Fortran module | `CONVERSION=SOURCE` 向 Gas 源项注入质量、动量和能量 |
|
||||
| `explosive_to_gas_phase` | Fortran module | `CONVERSION=PHASE` 完全反应后不可逆转为 Gas |
|
||||
| `explosive_gas_coupling` | Fortran module | 产物 Gas material 使用 JWL EOS 并刷新 Gas summary |
|
||||
| `explosive_summary` | Fortran API | Explosive 粒子数、反应粒子数、`lambda` 范围和释放量一致性 |
|
||||
| `explosive_restart_040` | Fortran restart | `STATE_0_4` 写入读回并继续显式步 |
|
||||
| `explosive_restart_031_compat` | Fortran restart | 0.3.1 restart 兼容读入并初始化空 Explosive 状态 |
|
||||
| `explosive_c_api` | C ABI | 点火点设置和 Explosive summary 查询 |
|
||||
| `explosive_python` | Python `ctypes` | Explosive summary 和点火接口薄包装 |
|
||||
| `explosive_cli` | CLI | inspect/run 输出 Explosive 字段 |
|
||||
| `explosive_source_size` | 工具门禁 | Explosive 模块拆分、source size 和 stale exception 检查 |
|
||||
|
||||
0.4.0 不验收 `Solid`、`Shell` 的生产级物理结果,也不验收真实 FEM-SPH 联合运行。Explosive-Gas 链路仍是小规模数值闭环,不代表工程级水下爆炸 benchmark。
|
||||
|
||||
本地验收记录:
|
||||
|
||||
| 日期 | 构建目录 | 结果 |
|
||||
|---|---|---|
|
||||
| 2026-07-03 | `build-codex-unix` | 完整 CTest 51/51 通过,Explosive gate 14/14 通过,`source_size` 1/1 通过,`git diff --check` 通过 |
|
||||
|
||||
## 3. 基础数值矩阵
|
||||
|
||||
| 领域 | 测试或 benchmark | 验收点 |
|
||||
|
||||
Reference in New Issue
Block a user