Friday, December 26, 2025

OpenFOAM: forwardStep

Friday 26 December 2025

This is about the tutorial forwardStep in OpenFOAM. Geometry defined in Fig. 1 and the tree structure in Fig. 2.


Fig. 1. Geometry


Fig. 2. Tree structure

Need to execute the following commands:

blockMesh        // To create the mesh
checkMesh       // To check the mesh ok
touch foam.foam
sonicFoam        // To simulate
foamToVTK     
paraview foam.foam &