initial commit FESurrogateModelTutorial

This commit is contained in:
김경종
2026-05-21 17:03:51 +09:00
parent 93665d9ee6
commit 43b86669fa
122 changed files with 7929 additions and 0 deletions
@@ -0,0 +1,32 @@
# Step 0: beamexamples-parser
## 읽어야 할 파일
- `/AGENTS.md`
- `/PROGRESS.md`
- `/WORKNOTES.md`
- `/docs/ARCHITECTURE.md`
- `/BeamExamples/CantileverBeam.txt`
- `/BeamExamples/CantileverBeam_Displacements.txt`
## 작업
TDD로 `BeamExamples` parser를 구현한다.
- `/tests/test_beamexamples_io.py`를 먼저 작성한다.
- `read_beam_example()`은 metadata, 6 nodes, 5 beams, fixed node 1, node 6 load를 읽는다.
- `read_expected_displacements()`는 node별 `Ux`, `Uy`, `Rz` 기준값을 읽는다.
- parser는 comment, blank line, trailing comma, `Poisson'sRatio` label을 처리한다.
- 구현 파일: `/src/femsurrogate/fea/model.py`, `/src/femsurrogate/fea/io.py`.
## Acceptance Criteria
```powershell
uv run pytest tests/test_beamexamples_io.py -q
uv run ruff check .
```
## 금지사항
- solver 구현을 이 step에 넣지 마라.
- fixture 파일을 수정하지 마라.