Advanced Tutorial 1: Self-Propulsion Simulation¶
Overview¶
This tutorial is a practical introduction to self-propulsion simulations with SHIPFLOW. You set up and run a fully automated propulsion analysis — resistance, propeller open water (POW) and self-propulsion — and extrapolate the results to full scale with the ITTC-78 performance prediction method.
Time required: 30–45 minutes
Difficulty: Advanced
Prerequisites: Basic Tutorials 1–5; knowledge of XPAN, XBOUND and XCHAP, and basic knowledge of propeller modelling in SHIPFLOW
SHIPFLOW modules used: XPAN, XBOUND, XGRID, XCHAP
Coarse grids
The examples in this tutorial use the zonal approach with very coarse grids to keep computation times short. Real cases must be computed with a much finer grid.
Learning Objectives¶
By completing this tutorial, you will be able to:
- Add a lifting line propeller model in XCHAP
- Set up a self-propulsion computation
- Set up an automated propeller open water (POW) computation
- Switch on the ITTC-78 full-scale performance prediction
- Run resistance, POW and self-propulsion in one go with
spauto - Find the results in the OUTPUT file and in the report
Background: Self-Propulsion Analysis¶
Three separate computations are needed to evaluate the propulsive factors. They correspond closely to the usual procedure in a ship model testing facility:
- Towing resistance — the hull without propeller
- Propeller open water (POW) — the propeller alone, in uniform inflow
- Self-propulsion — the hull with the working propeller
The ITTC-78 performance prediction method combines the results of all three and extrapolates them to full scale: the full-scale propeller rate of revolution, thrust, torque, efficiency and delivered power.
SHIPFLOW can run the three computations separately, or automatically in sequence from a single configuration with the SPAUTO command. This tutorial uses the automatic approach.
What is XCHAP?¶
XCHAP is the RANS viscous flow solver of SHIPFLOW. In this tutorial it computes the flow around the hull with the propeller, represented by the lifting line actuator disc model LLINE, and it runs the propeller open water computations set up with POW.
For an introduction to XCHAP and its volume grids, see Basic Tutorial 5.
Tutorial Files¶
The configuration and offset files for this tutorial are located in your SHIPFLOW installation:
C:\FLOWTECH\SHIPFLOW<version>-x86_64\tutorials\tutorial-files\AdvancedTraining\Tutorials-v5\Tutorial_1\source\
| File | Description |
|---|---|
config_TA1 |
SHIPFLOW configuration |
off_ta1 |
Offset file (hull geometry) |
Part 1: Setting Up the Self-Propulsion Simulation¶
1.1 Import the Configuration¶
- Go to Import → Configuration (SHIPFLOW).
- Select
config_TA1in thesourcefolder and click Open. - When the file selection dialog appears again, select the offset file
off_ta1. - Save the project.
1.2 Inspect the Propeller Geometry¶
The imported configuration already contains the propeller geometry, xflow → prop, but no propeller model yet. In the Connect workspace, select Configurations → config_TA1 → xflow → prop and review its parameters in the Object Editor:
| Parameter | Value | Meaning |
|---|---|---|
id |
ID1 |
Name that XCHAP uses to find this propeller |
dpro |
2.3 |
Propeller diameter |
dhub |
0.46 |
Hub diameter |
xsh, zsh |
0.45, 1.32615 |
x- and z-coordinates of the propeller centre |
geofile |
MP2208 |
File with the blade data: number of blades, expanded area ratio and the radial distributions of pitch, chord, thickness and camber |
All parameters are described under PROPELLER in the User Manual.
Propeller geometry files
Example propeller geometry files are in the data\propellers folder of the SHIPFLOW installation. SHIPFLOW looks for the geofile first in the working directory and then in that folder.
1.3 Add the Propeller Lifting Line Model¶
Add the lifting line model so that the propeller is represented in the flow computation.
- Select Configurations → config_TA1 → xchap and add the command lline.
- Set
idtoID1, theidof the propeller in xflow → prop. -
Check that
diskonison. Withonthe propeller model is run;offsets the propeller forces to zero (see LLINE).
The id values must match
lline | id must be exactly the same as prop | id. Otherwise the lifting line model cannot find the propeller geometry.
Alternative: the panel method propeller model
SHIPFLOW also includes the panel method propeller program ESPPRO, which resolves the blades and the wake
instead of representing the propeller by a lifting line. To use it, add xchap → pprop instead of
xchap → lline and set id to the propeller id. Both models take the blade from xflow → prop. The
geofile MP2208 works for pprop as it is, but such a table carries no skew and no rake. For the real
blade, give a .prda blade geometry file prepared with cad2esprep as geofile on xflow → prop (see
Helper Programs), or the skew and rake distributions on
xflow → prop together with pitch, chord, thickness and camber. The rest of this tutorial is the same for
both models. See PPROP in the User Manual for the
recommended self-propulsion settings and for sheet cavitation.
1.4 Configure for Asymmetric Flow¶
The propeller makes the flow asymmetric, so the computational domain must cover both sides of the hull. The half domain with a symmetry plane that is used for resistance computations is not valid here.
| Value | Meaning |
|---|---|
xzplane |
The centre plane (xz-plane) is a symmetry plane, so only one side of the hull is computed |
nosym |
No symmetry plane: both sides of the hull are computed — needed with a propeller |
With a propeller on the centre line, nosym is also the default (see SYMMETRY).
The grid settings are under xgrid → size. As noted at the start, this case uses the zonal approach (domain = zonal) and a coarse grid; etamax and zetamax are the numbers of grid planes in the circumferential and radial directions (see XGRID SIZE).
1.5 Activate Self-Propulsion¶
In self-propulsion mode the advance ratio J, and with it the propeller rate of revolution, is adjusted until thrust, resistance and towing force are in balance (see SELFPROPULSION).
Self-propulsion on its own
With lline, symmetry = nosym and selfpr you could already run a self-propulsion computation on its own. The next steps add what the complete ITTC-78 analysis needs: the open water computation, the full-scale extrapolation and the automatic sequence.
selfpr is not strictly required to run a self-propulsion computation. It is used in this tutorial so that the resistance, POW and self-propulsion runs are all done automatically.
1.6 Configure the Propeller Open Water (POW) Computation¶
The ITTC-78 method needs the open water characteristics of the propeller. The POW computation provides them.
| Parameter | Value | Meaning |
|---|---|---|
j |
[0.2, 0.9] |
List of advance ratios to compute — here only two, J = 0.2 and J = 0.9 |
start |
start |
Start each computation from an initial guess |
maxit |
10 |
Number of XCHAP iterations for each advance ratio |
output |
POW.dat |
File for the table of J, KT, KQ and open water efficiency |
All parameters are described under POW in the User Manual.
Tutorial values only
These values keep the computation short, not accurate. In a real case, list advance ratios no more than 0.1 apart, over a range wide enough to cover the operating point of the self-propulsion computation, and give each advance ratio enough iterations to converge (the default maxit is 500, or 150 with the KRYLOV solver).
1.7 Enable the ITTC-78 Full-Scale Prediction¶
The ITTC-78 method extrapolates the model-scale results to full scale. The full-scale prediction includes an estimate of the air resistance of the superstructure, so the transverse area above the waterline must be given.
- Select xflow and add the command ittc78.
- Set
onofftoon. -
Set
a_t, the maximum transverse area above the waterline, to55(m²).
You do not need to give the towing force coefficient (ctow on selfpr): with ittc78 switched on, it is calculated automatically. All parameters are described under ITTC78 in the User Manual.
1.8 Run All Three Computations Automatically¶
The spauto command runs the three computations — resistance, POW and self-propulsion — one after the other from this single configuration.
With all, all three computations needed for the propulsion analysis are run. The other values run only one of the steps (resistance, POW, self-propulsion or the ITTC-78 extrapolation); see SPAUTO.
1.9 Save and Run¶
- Save the project (Ctrl+S).
- In the Connect workspace, select Computations → shfComputation1.
- Click the Run button
.
The three computations run one after the other. With the coarse grid of this tutorial they take a couple of minutes.
Part 2: Reviewing the Results¶
2.1 The OUTPUT File¶
When the computations have finished, all results are written to the file config_TA1_OUTPUT (in general <configuration>_OUTPUT). Open it in the FileViewer.
The propulsion analysis in the file includes, among other values:
| Label | Quantity |
|---|---|
CTMR |
Total resistance coefficient of the model, from the resistance computation |
CTMS |
Total resistance coefficient of the model, from the self-propulsion computation |
CTOW |
Non-dimensional towing force |
t |
Thrust deduction fraction |
WTM |
Effective mean wake, model scale |
ETAO, ETAR, ETAH, ETAD |
Open water, relative rotative, hull and propulsive efficiency |
NS |
Propeller speed, ship scale [rpm] |
TS, QS |
Thrust [kN] and torque [kNm], ship scale |
PD |
Delivered power, ship scale [MW] |
The main results are also listed in the TableViewer, from where they can be used as evaluation parameters in a design study. Advanced Tutorial 4 uses the delivered power _PD in this way.
2.2 The Report¶
XPOST also writes a report with tables and figures. It is an HTML page in the folder config_TA1_REPORT, next to the OUTPUT file:
Open it in a web browser.
Demonstration results only
The coarse grid, the low iteration counts and the two advance ratios make the results physically unrepresentative — the efficiencies above 1 in the screenshots are a symptom of this. Do not use these values for engineering decisions.
Troubleshooting¶
Specific to This Tutorial¶
Results look unrealistic. This is expected with the coarse settings used here. For meaningful results, use a finer grid, more iterations and advance ratios no more than 0.1 apart (see 1.6).
More memory and time than a resistance case. With nosym the grid covers both sides of the hull instead
of one.
General troubleshooting
Problems that can occur in any SHIPFLOW case are collected on one page: Troubleshooting.
Directly relevant to this tutorial:
- Self-propulsion does not converge — advance ratios,
pow | maxit,idmatching - An
idmismatch between related commands —lline | idvsprop | id - XFLOW WARNING: XZ-SYMMETRY IS ENFORCED FOR STANDARD CASES — expected in a zonal
nosymcase - Memory errors
Summary¶
In this tutorial you have:
- added the lifting line propeller model
xchap | llineand linked it to the propeller geometry throughid - set up a full-domain (
nosym) self-propulsion computation with a POW computation and the ITTC-78 full-scale prediction - run resistance, POW and self-propulsion automatically with
spauto - found the results in
config_TA1_OUTPUTand in the HTML report
Key Parameters¶
| Command | Parameter | Value in this tutorial | Purpose |
|---|---|---|---|
xflow | prop |
id |
ID1 |
Propeller geometry and position |
xchap | lline |
id, diskon |
ID1, on |
Lifting line model, linked to the propeller |
xflow | symmetry |
symmetry |
nosym |
Both sides of the hull are computed |
xflow | selfpr |
onoff |
on |
Self-propulsion |
xchap | pow |
j, start, maxit, output |
[0.2, 0.9], start, 10, POW.dat |
Propeller open water computation |
xflow | ittc78 |
onoff, a_t |
on, 55 |
ITTC-78 full-scale prediction |
xflow | spauto |
run_ |
all |
Resistance, POW and self-propulsion in sequence |
Next Steps¶
- Advanced Tutorial 2: Bulb and Forebody Optimisation — parametrise the bow and optimise it for wave resistance with CAESES.
- Advanced Tutorial 4: Complex Appendage Modelling — uses self-propulsion computations in a design study of an energy saving device.
- User Manual: SPAUTO, SELFPROPULSION, ITTC78, POW, LLINE and PPROP.
Getting help: send your questions to [email protected]. Product information is available at shipflow.se.
Tutorial updated: June 2026
SHIPFLOW version: 8.0.37
Document version: 1.0






![The command xchap → pow with start = start, maxit = 10, output = POW.dat and j = [0.2, 0.9]](../../images/advanced/tutorial-1/tutorial-1-add-pow.png)



