70 lines
3.4 KiB
Markdown
70 lines
3.4 KiB
Markdown
# Step 10: Shell Result Recovery
|
|
|
|
## 담당 역할과 필수 스킬
|
|
|
|
- 담당 역할: `implementation-agent`
|
|
- 필수 스킬: `harness`, `fesa-cpp-msvc-tdd`
|
|
|
|
## 읽어야 할 파일
|
|
|
|
- `/.agents/skills/harness/SKILL.md`, `/.codex/skills/fesa-cpp-msvc-tdd/SKILL.md`
|
|
- `/AGENTS.md`, `/docs/PRD.md`, `/docs/ARCHITECTURE.md`, `/docs/ADR.md`
|
|
- `/docs/HARNESS.md`, `/docs/HARNESS_WORKFLOW.md`, `/.codex/hooks.json`
|
|
- `/docs/linear-static-mitc4-shell/implementation-plan.md`
|
|
- `/docs/linear-static-mitc4-shell/requirements.md` Requirements 029/035/041-046/048/057
|
|
- `/docs/linear-static-mitc4-shell/research.md`
|
|
- `/docs/linear-static-mitc4-shell/formulation.md` Sections 14, 16
|
|
- `/docs/linear-static-mitc4-shell/numerical-review.md`
|
|
- `/docs/linear-static-mitc4-shell/io.md` Sections 6.3-6.5
|
|
- `/docs/linear-static-mitc4-shell/reference-model.md`
|
|
- phase indexes, `step10.md`, completed Steps 5/9 paths and summaries
|
|
- `/include/fesa/results/result_recovery.hpp`
|
|
- `/src/fesa/results/result_recovery.cpp`
|
|
- `/tests/unit/results/result_recovery_test.cpp`
|
|
|
|
## 작업
|
|
|
|
1. `MITC4-REC-001..005`를 먼저 작성한다.
|
|
2. Existing full `K*d-F` residual을 nodal reaction/free residual evidence로 유지한다.
|
|
3. Shell element displacement는 24-entry scatter로 추출하고 Step 5
|
|
physical-only recovery를 호출해 stable source-element/GP/section order로 candidate를 채운다.
|
|
4. Deterministic element reduction으로 physical energy를 합산한다. Applied CLOAD와
|
|
constrained reaction으로 global origin about force/moment balance와 normalized
|
|
metrics를 계산한다.
|
|
5. 모든 row/component/location/finite validation 뒤 AnalysisState에 원자적으로 commit한다.
|
|
|
|
## Acceptance Criteria
|
|
|
|
```powershell
|
|
$requiredBuildPaths=@("C:/git/googletest","C:/Program Files (x86)/Intel/oneAPI/mkl/2026.1/lib/cmake/mkl","C:/Program Files (x86)/Intel/oneAPI/tbb/2023.1/lib/cmake/tbb","C:/Program Files/HDF_Group/HDF5/2.1.1/cmake")
|
|
foreach($p in $requiredBuildPaths){if(-not(Test-Path -LiteralPath $p)){throw "Missing $p"}}
|
|
cmake --fresh -S . -B .harness/build -G "Visual Studio 18 2026" -A x64 `
|
|
"-DFESA_GTEST_SOURCE_DIR=C:/git/googletest" `
|
|
"-DMKL_DIR=C:/Program Files (x86)/Intel/oneAPI/mkl/2026.1/lib/cmake/mkl" `
|
|
"-DTBB_DIR=C:/Program Files (x86)/Intel/oneAPI/tbb/2023.1/lib/cmake/tbb" `
|
|
"-DHDF5_DIR=C:/Program Files/HDF_Group/HDF5/2.1.1/cmake"
|
|
cmake --build .harness/build --config Debug --target fesa_unit_tests
|
|
ctest --test-dir .harness/build -C Debug -R "ResultRecovery" --output-on-failure
|
|
```
|
|
|
|
Beam-only recovery/absent shell rows의 expected RED 후 minimal GREEN. 이후:
|
|
|
|
```powershell
|
|
cmake --build .harness/build --config Debug --target fesa_unit_tests
|
|
ctest --test-dir .harness/build -C Debug -R "ResultRecovery|AnalysisState|Mitc4ShellPhysicalRecovery" --output-on-failure
|
|
cmake --build .harness/build --config Debug
|
|
ctest --test-dir .harness/build -C Debug --show-only=json-v1
|
|
ctest --test-dir .harness/build -C Debug --output-on-failure
|
|
```
|
|
|
|
## 검증 및 상태 갱신
|
|
|
|
RED와 focused/full result evidence를 기록하고 current Step만 갱신한다.
|
|
|
|
## 금지사항
|
|
|
|
- Result record type 또는 HDF5 schema를 이 Step에서 새로 만들지 마라.
|
|
- Location averaging, Abaqus point relabeling, drilling recovery/energy를 추가하지 마라.
|
|
- Reaction을 shell resultants의 별도 합으로 정의하지 마라.
|
|
- 직접 commit/hook 실행 또는 reference/upstream 변경을 하지 마라.
|