4. Tutorials

The tutorials take you through complete cases, from the input file to the results in ParaView. Each one starts from a packaged example, so no mesh generation is needed, and each one says what you will learn, what the problem is, which settings matter and how to read the results.

Tutorial Interface Solver What it shows
Transonic flow over the RAE 2822 airfoil using the CLI CLI 2D, density-based, SA RANS Running a deck, the settings a shock needs, a monitor-based stop, Mach field and surface pressure in ParaView against wind-tunnel data

More tutorials will be added to this list.

Before you start a tutorial

Solver. Install Wake CFD and check that the solver runs — see Installation. Use the 2D executable (wake_2d_mixed) for 2D cases and the 3D executable (wake_3d_mixed) for 3D cases; the input file says which in analysis.dimension.

ParaView. The results are written as VTK files (.pvtu / .vtu) and read in ParaView, version 5.10 or later.

Tutorial files. The files of each tutorial are in the examples that come with the solver, in shared/examples/ of the installation folder. Each tutorial lists the files it uses.

Working directory. Wake CFD reads the mesh relative to the input file and writes the results into a new folder next to it (<input name>_001/, then _002/, …). Copy the tutorial folder to a working location before running it, keep the files inside it together, and run the solver in that folder. The installed examples then stay unchanged.

Checking a deck. --validate checks an input file without running it and reports any error with its location in the file:

wake_2d_mixed case.jsonc --validate

Stopping a run. Ctrl+C stops a run gracefully: the solver finishes the current iteration and writes its output. See Controlling a run.