"first glimpse" series
The goal of this tutorial series is not to teach you OpenFOAM. Here you will get a "first glimpse" of OpenFOAM, the idea behind it and the workflow you have to follow in order to run a successful simulation. We will concentrate on four step-by-step tutorials, which can be completed within a couple of hours depending on the hardware you are using.
Go back to Tutorials.
In order to be able to complete the tutorials, you will have to install OpenFOAM. There are multiple ways to do this. First, follow the official guideline here.
If you prefer Windows 10, you can find a tutorial on installing OpenFOAM in Windows 10 here.
In this tutorial you will get a first hands-on glimpse into the workflow of CFD simulations with OpenFOAM. The following topics will be covered:
- basic case setup
- initial values
- boundary conditions
- simulation (2D elbow case with three meshes)
- post processing
This is a step-by-step tutorial describing the lid driven cavity case.
In this second tutorial you will learn about the liquid-gas interaction in a multiphase flow. Here you will simulation a transient flow of two fluids separated by a sharp interface, or free surface. The focus here is on:
- mesh generation
- boundary conditions
- initial fields
- fluid properties
- time step control
- discretisation schemes
- solver control
- running the simulation
This is a more advanced case setup, where you can get a first idea of how to model the complex fluid dynamics phenomenon of vertex shedding behind a square cylinder. You can find the pdf and the case files in this link.
- Click on the link to download the pdf file with the instructions on how to run this case
- Download the case from the link provided
- Extract the file
- Open a terminal by pressing ctrl+alt+t
- If you extracted the file e.g. in Downloads change your working directory to the simulation case by entering the following command in the terminal
- Follow the commands on slides 19 and 22 of the pdf file
This simulation will run for a couple of hours depending on your hardware. We advice you to run it over night and check the results in the morning.
End of the "first glimpse" tutorial series
In this series we wanted to give you a first experience with OpenFOAM. We hope, that you had fun and that you are interested in further details. In the latter case you can consider completing the guided "3 weeks" series or consult the collection of tutorials ordered by contributors. We look forward to further widening your experience and knowledge. See you soon!