Description
Implement explicit time integration using the classical 4th-order Runge-Kutta method. Create the full time-stepping loop that advances the free surface variables.
Background
The state vector y = [η, φ̃] evolves according to:
where RHS involves:
- Building K matrix from current η
- Solving σ-Laplace for Φ
- Recovering w̃
- Evaluating free surface RHS
Each RK4 step requires 4 RHS evaluations (4 Laplace solves per time step).
Tasks
Acceptance Criteria
Test Configuration: Standing Wave
Domain: x ∈ [0, λ/2] where λ = 2π/k
BCs: Neumann (walls) at x = 0 and x = λ/2
Initial: η(x,0) = H·cos(kx), φ̃(x,0) = 0
Expected: η(x,t) = H·cos(kx)·cos(ωt)
Parameters: kh = 1, H/h = 0.01 (small amplitude)
Duration: 10 wave periods
Deliverables
Description
Implement explicit time integration using the classical 4th-order Runge-Kutta method. Create the full time-stepping loop that advances the free surface variables.
Background
The state vector y = [η, φ̃] evolves according to:
where RHS involves:
Each RK4 step requires 4 RHS evaluations (4 Laplace solves per time step).
Tasks
Acceptance Criteria
Test Configuration: Standing Wave
Deliverables