## Numerical Background

##### Panel Method

The numerical method used in *pan*MARE is a 3-dimensional zeroth-order panel method. The surface of a body is divided into quadrilateral body and wake panels.
On every body panel a source with strength \(\sigma \) and a dipole with strength \(\mu\) is placed.
On the wake only dipoles with strength \(\mu_{W}\) are located. All strength are constant over one panel but can vary among each other.

In addition, on each panel a collocation point is defined. In * pan*MARE the collocation point is defined as the midpoint of
the panel. In the end, the discrete formulation of the boundary condition equations is the following:

##### Wake Modeling

In the steady calculations, the strength of the trailing panels does not vary with time but are constant for all panels which originate from one panel at the trailing edge. The location of the trailing wake panels is unknown at the beginning of the solution and has to be found in an iterative manner until it follows streamlines starting from the trailing edge.

For propeller steady flow calculations the algorithm is as follows:

- Solve the boundary value problem (BVP) with prescribed helical wake.
- Calculate the unknown dipole strength (\(\mu\)) on the body surface and on the first wake strip.
- Calculate induced velocities (\(v_{ind}\)) by approximating the derivatives of the dipole strength.
- Find the new wake coordinates by aligning with the total local velocities: $$v_{total}=v_{ind}+V_{\infty}.$$
- Solve the BVP again with the updated wake geometry and align the wake geometry until the difference of the wake geometries between two iteration steps is within a given tolerance.
- Save the calculated wake geometry and strength values on the wake and on the body for the unsteady wake alignment process. These steady results are the initial values for the unsteady calculations.

For propeller unsteady flow calculation, first a steady flow calculation is performed. The time-stepping algorithm is as follows:

- Set initial wake shape which is the same as calculated in the steady mode.
- Solve the integral equations at each time step and calculate the unknown dipole strength (\(\mu)\) on the body surface and on the first wake strip.
- Determine induced velocities (\(v_{ind}\)) from the calculated dipole strength.
- Compute the new position of the wake panels, the method is the same as in steady calculations.
- Solve the BVP again with the updated wake geometry.
- Move to the next time step and align the wake geometry.
- Return to step 2 and repeat the procedure for the new time step until the difference of the wake geometries between two iteration steps is within a given tolerance.

##### Remarks

Panel methods are used for flow calculations in which the viscous effects can be neglected or calculated by other methods. The usage of potential based boundary element methods such as the panel method is widely spread in the propeller design due to their short calculation time. A three-dimensional problem is namely reduced to a two-dimensional problem (Boundary Element Problem).