On the Hydrodynamics of Foiling Craft: PID Control System Development
Development of a coupled CFD-PID control framework to regulate hydrofoil angle of attack for stable ride height and trim under steady, unsteady, and multiphase flow conditions.
- system mass
- 10 kg
- target ride height
- 0.1 m
- AoA range
- -8° to 10°
Motivation
Hydrofoils play a crucial role in enhancing the efficiency of marine transport by reducing hydrodynamic drag, but maintaining stability under varying operational conditions remains a significant challenge. Fully submerged hydrofoils provide greater stability in rough seas but are not inherently self-stabilizing, requiring active control mechanisms. This research focuses on developing a control system using a Proportional-Integral-Derivative (PID) controller to regulate the hydrofoil’s angle of attack (AoA), ensuring stable ride height and trim.

Figure: Foiling Craft
Methodology
The project utilized a coupled Computational Fluid Dynamics (CFD) and PID control framework to evaluate hydrodynamic behavior under steady, unsteady, and multiphase flow conditions.
- CFD & Multiphase Modeling: Simulations were executed in STAR-CCM+ using the Volume of Fluid (VOF) method to capture the water-air interface and simulate wave effects. A semi-2D setup was employed to maintain computational efficiency while approximating 3D multiphase behavior.
- Dynamic Fluid-Body Interaction (DFBI): The DFBI model was integrated to allow dynamic responses to hydrodynamic forces, specifically motion in heave (vertical ride height) and trim (pitch angle).
- Control System Integration: The PID controller was embedded directly into STAR-CCM+ using a custom Java Macro script. This allowed the CFD solver and the control algorithm to interact seamlessly, adjusting the AoA dynamically based on real-time lift force feedback.
- Simulink Approximation: MATLAB/Simulink was used in parallel to model system dynamics, simulate noise, and approximate optimal PID gains prior to full CFD integration.
The standard PID control law applied to calculate the AoA correction is defined as:

Figure: Control Loop

Figure: Simulink Modelling for Hydrofoil Control System in Unsteady Flow Conditions
Results & Analysis
The integrated CFD-PID control framework effectively mitigated lift fluctuations and improved overall vessel stability, though several dynamic challenges were identified.
- Signal Filtering & Noise Reduction: Wave-induced disturbances introduced severe high-frequency noise into the lift signal, causing abrupt and destabilizing AoA adjustments. An Exponential Moving Average (EMA) filter was implemented and optimized at a smoothing factor of to balance system responsiveness with noise suppression.
- Discrete Control Updates: A discrete PID controller (updating at fixed 0.1-second intervals) was utilized instead of a continuous one. This prevented rapid, instantaneous AoA changes that caused massive “lift spikes” and numerical instability in the coupled simulation.
- Submergence Depth Impacts: At shallow depths (e.g., 0.1 m), wave-induced disturbances were highly pronounced, requiring aggressive AoA limits but resulting in oscillatory behavior. At deeper submergences (e.g., 0.6 m), free-surface interference was minimized, leading to smoother lift generation, though hydrodynamic drag increased.
- Ride Height Regulation: The controller successfully maintained target ride heights and trim angles, though aggressive adjustments often drove the front hydrofoil to its maximum mechanical limits ( and ).
Ultimately, while the PID framework proved capable in steady environments, the non-linearities of multiphase wave interactions suggest that future iterations could benefit from advanced strategies like Model Predictive Control (MPC).
🔒 Request Access to Full Master’s Thesis (PDF)
PID adjustments in steady-flow conditions.
Wave-induced disturbances and AoA compensation.
Related Projects
Numerical Investigation of Flow Past a Circular Cylinder using OpenFOAM
Development of a fully parameterised, block-structured meshing and automated simulation framework for incompressible bluff-body flow analysis in OpenFOAM.
Numerical Investigation of Particle Packing and Flow Dynamics in Fixed Bed Reactors
A comprehensive computational investigation integrating DEM and CFD to evaluate the hydrodynamic and thermal performance of packed bed reactors using hollow cylindrical and trilobe-shaped catalyst pellets.