You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature: integrate rotations into ICPP patches (#1594)
Add a rotation framework to initial-condition (ICPP) patches, mirroring
the existing immersed-boundary rotation support.
- Extract the rotation-matrix computation into a new shared module
m_patch_geometries, taking angle/matrix arrays as arguments so both
ICPP and IB patches can call it (m_ib_patches now uses a thin wrapper).
- Add angles + rotation_matrix(_inverse) fields to ic_patch_parameters,
defaulting angles to zero (identity rotation) so existing cases are
unaffected.
- Apply the inverse-rotation transform in the rectangle inside-test as a
proof of concept; remaining geometries are straightforward follow-up.
- Register patch_icpp(i)%angles in the parameter definitions so the angle
is settable from a case file.
- Add a 2D_rotated_rectangle example demonstrating a 45-degree patch.
0 commit comments