Contents
1 Introduction
1.1 Getting started
1.1.1 Note for Windows Users
2 Incompressible flow
2.1 Lid-driven cavity flow
2.1.1 Pre-processing
2.1.2 Viewing the mesh
2.1.3 Running an application
2.1.4 Post-processing
2.1.5 Increasing the mesh resolution
2.1.6 Introducing mesh grading
2.1.7 Increasing the Reynolds number
2.1.8 High Reynolds number flow
2.1.9 Changing the case geometry
2.1.10 Post-processing the modified geometry
2.2 Flow around a cylinder
2.2.1 Problem specification
2.2.2 Note on potentialFoam
2.2.3 Mesh generation
2.2.4 Boundary conditions and initial fields
2.2.5 Running the case
2.3 Magnetohydrodynamic flow of a liquid
2.3.1 Problem specification
2.3.2 Mesh generation
2.3.3 Running the case
3 Compressible flow
3.1 Steady turbulent flow over a backward-facing step
3.1.1 Problem specification
3.1.2 Mesh generation
3.1.3 Boundary conditions and initial fields
3.1.4 Case control
3.1.5 Running the case and post-processing
3.2 Supersonic flow over a forward-facing step
3.2.1 Problem specification
3.2.2 Mesh generation
3.2.3 Running the case
3.2.4 Exercise
3.3 Decompression of a tank internally pressurised with water
3.3.1 Problem specification
3.3.2 Mesh Generation
3.3.3 Preparing the Run
3.3.4 Running the case
3.3.5 Improving the solution by refining the mesh
4 Multiphase flow
4.1 Breaking of a dam
4.1.1 Problem specification
4.1.2 Mesh generation
4.1.3 Boundary conditions
4.1.4 Setting initial field
4.1.5 Fluid properties
4.1.6 Turbulence modelling
4.1.7 Time step control
4.1.8 Discretisation schemes
4.1.9 Linear-solver control
4.1.10 Running the code
4.1.11 Post-processing
4.1.12 Running in parallel
4.1.13 Post-processing a case run in parallel
5 Stress analysis
5.1 Stress analysis of a plate with a hole
5.1.1 Problem specification
5.1.2 Mesh generation
5.1.3 Running the code
5.1.4 Post-processing
5.1.5 Exercises
1.1 Getting started
1.1.1 Note for Windows Users
2 Incompressible flow
2.1 Lid-driven cavity flow
2.1.1 Pre-processing
2.1.2 Viewing the mesh
2.1.3 Running an application
2.1.4 Post-processing
2.1.5 Increasing the mesh resolution
2.1.6 Introducing mesh grading
2.1.7 Increasing the Reynolds number
2.1.8 High Reynolds number flow
2.1.9 Changing the case geometry
2.1.10 Post-processing the modified geometry
2.2 Flow around a cylinder
2.2.1 Problem specification
2.2.2 Note on potentialFoam
2.2.3 Mesh generation
2.2.4 Boundary conditions and initial fields
2.2.5 Running the case
2.3 Magnetohydrodynamic flow of a liquid
2.3.1 Problem specification
2.3.2 Mesh generation
2.3.3 Running the case
3 Compressible flow
3.1 Steady turbulent flow over a backward-facing step
3.1.1 Problem specification
3.1.2 Mesh generation
3.1.3 Boundary conditions and initial fields
3.1.4 Case control
3.1.5 Running the case and post-processing
3.2 Supersonic flow over a forward-facing step
3.2.1 Problem specification
3.2.2 Mesh generation
3.2.3 Running the case
3.2.4 Exercise
3.3 Decompression of a tank internally pressurised with water
3.3.1 Problem specification
3.3.2 Mesh Generation
3.3.3 Preparing the Run
3.3.4 Running the case
3.3.5 Improving the solution by refining the mesh
4 Multiphase flow
4.1 Breaking of a dam
4.1.1 Problem specification
4.1.2 Mesh generation
4.1.3 Boundary conditions
4.1.4 Setting initial field
4.1.5 Fluid properties
4.1.6 Turbulence modelling
4.1.7 Time step control
4.1.8 Discretisation schemes
4.1.9 Linear-solver control
4.1.10 Running the code
4.1.11 Post-processing
4.1.12 Running in parallel
4.1.13 Post-processing a case run in parallel
5 Stress analysis
5.1 Stress analysis of a plate with a hole
5.1.1 Problem specification
5.1.2 Mesh generation
5.1.3 Running the code
5.1.4 Post-processing
5.1.5 Exercises