Files
2026-05-21 17:03:51 +09:00

744 B

Step 1: frame-element

읽어야 할 파일

  • /AGENTS.md
  • /docs/ARCHITECTURE.md
  • /src/femsurrogate/fea/model.py
  • /src/femsurrogate/fea/io.py

작업

TDD로 2-node 2D Euler-Bernoulli frame element 행렬을 구현한다.

  • /tests/test_frame_element.py를 먼저 작성한다.
  • local_frame_stiffness(E, A, I, L)의 shape, symmetry, axial/bending 계수를 검증한다.
  • transformation_matrix(x1, y1, x2, y2)의 shape와 orthogonality를 검증한다.
  • 구현 파일: /src/femsurrogate/fea/element.py.

Acceptance Criteria

uv run pytest tests/test_frame_element.py tests/test_beamexamples_io.py -q
uv run ruff check .

금지사항

  • Timoshenko beam, 3D beam DOF를 추가하지 마라.