This commit is contained in:
@@ -1,51 +1,32 @@
|
||||
# Thick Plate Pressure Benchmark
|
||||
# NAFEMS LE10 厚板 benchmark
|
||||
|
||||
This folder contains a FemLite NAFEMS LE10 thick-plate pressure benchmark based
|
||||
on `models.sme.thick_plate.pdf`.
|
||||
文档状态:0.6.3 文档整理稿
|
||||
|
||||
- `thick_plate_le10.inp`: generated C3D20 quarter-model benchmark deck.
|
||||
- `generate_thick_plate_le10.py`: regenerates the benchmark deck.
|
||||
- `check_thick_plate_results.py`: runs FemLite and checks the D-point stress.
|
||||
- `run_case.bat`: convenience runner for the generated deck.
|
||||
## 用途
|
||||
|
||||
The PDF benchmark is a quarter elliptical thick plate with an elliptical hole:
|
||||
本目录保存 FemLite 示例或 benchmark:`thick_plate`。它用于验证指定模型、算法路径或输出检查器,不代表所有相近工程问题都已完整生产化。
|
||||
|
||||
- Inner ellipse semiaxes: a = 2.0 m, b = 1.0 m.
|
||||
- Outer ellipse semiaxes: a = 3.25 m, b = 2.75 m.
|
||||
- Thickness: 0.6 m, with two elements through thickness.
|
||||
- Material: E = 210 GPa, nu = 0.3, density = 7850 kg/m3.
|
||||
- Load: 1 MPa on the top surface in the negative z direction.
|
||||
- Constraints: symmetry on x = 0 and y = 0, outer ellipse fixed in x and y,
|
||||
and the outer-ellipse midplane edge fixed in z.
|
||||
## 主要输入文件
|
||||
|
||||
The generated FemLite deck uses 128 C3D20 elements. Because FemLite CSV output
|
||||
stores element-average stresses, the checker recovers the C3D20 small-strain
|
||||
stress directly from the solved displacement field at point D `(2, 0, 0.6)`.
|
||||
System.Object[]
|
||||
|
||||
Reference comparison:
|
||||
## 运行方式
|
||||
|
||||
| Quantity at D | Reference | Value |
|
||||
|---|---:|---:|
|
||||
| NAFEMS sigma_y | `models.sme.thick_plate.pdf` | -5.38 MPa |
|
||||
| COMSOL sigma_y | `models.sme.thick_plate.pdf` | -5.72 MPa |
|
||||
| FemLite recovered sigma_y | `thick_plate_le10.inp` | about -5.70 MPa |
|
||||
- Windows 下可双击或执行 `run_case.bat`。
|
||||
- 若该示例已接入 CTest,优先使用项目测试计划中记录的 CTest 名称运行。
|
||||
- 运行前请先完成项目编译。
|
||||
|
||||
Run:
|
||||
## 检查脚本
|
||||
|
||||
```bat
|
||||
run_case.bat
|
||||
```
|
||||
System.Object[]
|
||||
|
||||
Results are written to `results\auto_run`.
|
||||
## 结果文件
|
||||
|
||||
Regenerate:
|
||||
- 结果通常写入 `results`、`results/auto_run` 或命令指定的输出目录。
|
||||
- 不要提交全量 CSV、VTK、restart、临时网格或缓存文件。
|
||||
- 如需保留参考结果,只保留小型 summary、profile 或 checker 需要的抽样数据。
|
||||
|
||||
```powershell
|
||||
Python\.venv\Scripts\python.exe examples\thick_plate\generate_thick_plate_le10.py
|
||||
```
|
||||
## 边界
|
||||
|
||||
Check from the repository root:
|
||||
|
||||
```powershell
|
||||
Python\.venv\Scripts\python.exe examples\thick_plate\check_thick_plate_results.py . build-win-gcc-16\femlite.exe build-win-gcc-16\example_benchmark\thick_plate_le10
|
||||
```
|
||||
- 示例和 benchmark 是受控验收入口,不等同于完整工业级流程。
|
||||
- 若修改输入、checker 或参考容差,应同步更新 `docs/11_benchmark_matrix.md`。
|
||||
|
||||
Reference in New Issue
Block a user