Buying for a Team? Gift This Course
Wishlisted Wishlist

Please confirm that you want to add A Beginner's Guide to simulating with OpenFOAM to your Wishlist.

Add to Wishlist

A Beginner's Guide to simulating with OpenFOAM

Get to know how to simulate various flow configurations in OpenFOAM.
4.3 (7 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
530 students enrolled
Created by Andrej Lerch
Last updated 4/2016
$10 $30 67% off
19 hours left at this price!
30-Day Money-Back Guarantee
  • 1.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Have a coupon?
What Will I Learn?
Simulate flows in OpenFOAM
Laminar and turbulent
Stationary and instationary
Set correct boundary conditions
Create meshes
Regular and unstructured meshes
Analyze residuals
Extract force and moment coefficients
Visualize solutions
Extract solution data
View Curriculum
  • Install OpenFOAM, GMSH and Paraview
  • Alternatively you can just install CAE Linux on your machine. It has all the required software preinstalled and configured.

In this course you are going to learn how to simulate various flow configurations in the Computational Fluid Dynamics software OpenFOAM. This includes the simulation of laminar and turbulent, stationary and transient flows. Furthermore, you are going to see how to work with multiphase flows. We will cover how to choose correct initial and boundary conditions for the calculation. Moreover I will explain how to define a spatial domain and mesh it with a structured or unstructured grid. You are going to learn how to edit runtime controls and how to run a job including how to check convergence of the solution and visualize it graphically.

Who is the target audience?
  • For Engineers, Scientists, Beginners in CFD and OpenFOAM
  • For Engineers
  • For Scientists
  • For Beginners in CFD
  • For Beginners in OpenFOAM
  • For Experts in other CFD Software
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 28 Lectures Collapse All 28 Lectures 01:23:38
1 Lecture 00:43

Short introduction of who I am and what you are going to learn in this OpenFOAM course.

Preview 00:43
Laminar flow through a pipe
7 Lectures 23:11

We will set up the case and create the geometry of our domain in order to create a simulation mesh.

Preview 05:07

We will create a regular mesh from a block and define boundary surfaces.

Preview 03:45

We will edit the boundary conditions for pressure and velocity on inlet, outlet and walls and define initial distributions for our field values.

Preview 02:53

We will edit runtime controls such as time step, how often results will be saved etc.

Editing the runtime controls

I will show you how to create a mesh, check it for errors and start the job.

Creating the mesh and starting the job

We will analyze the log file, plot the residuals and check the convergence of our solution.

Analyzing the log file, checking the residuals for convergence of the solution

We will visualize the converged solution for pressure and velocity.

Simple visualization of the solution in paraview
Turbulent flow over a backward facing step
7 Lectures 17:18

First of all we will set up the case and create the geometry and mesh from three blocks.

Setting up the case and creating the geometry

Then we will edit the boundary and initial conditions.

Editing boundary conditions and initial distribution

I will show you how to choose the turbulence model and configure the physical properties for the fluid.

Selecting the turbulence model, editing the fluid properties and runtime control

We will execute the mesh creation and run the job with log file output.

Creating the mesh and running the job

We will plot the results in Paraview.

Plotting the results and visualization of the solution in paraview

We will plot the velocity profile for a certain axial position.

Plotting the velocity profile

I will show you how to add streamlines to the plot.

Adding streamlines
Transient flow around cylinder
7 Lectures 29:02

Creating the case folder.

Introduction and setting up the case

Well will create the geometry in gmsh in order to make a unstructured mesh.

Creating the geometry of the spatial domain

Creating the actual mesh and refining the cylinder surface and wake.

Creating the unstructured mesh with refinements

We will edit the boundary conditions, change runtime settings and set up the simulation for calculating force coefficients for drag and lift.

Editing boundary conditions, runtime settings und force coefficients

Converting the mesh and running the job

Plotting the residuals over time and have a look at the force coefficients.

Analyzing the residuals and force coefficients

We will visualize the transient solution in Paraview.

Visualizing the solution
Container with two phase fluid
6 Lectures 13:24

Creating the container geometry.

Setting up the case and creating the geometry

We will activate the gravitational force and select fluid properties suchs as density and viscosity.

Activating gravitational force, editing fluid properties

Changing the boundary conditions and initial values.

Editing the boundary conditions and initial distribution

Adjusting the runtime and choosing a variable time step according to a maximum Courant number.

Setting up the runtime with variable time step

Running the job and logging the progress in a file.

Running the job

Analyzing the transient solution und visualizing the filling of the container over time with two phase fluid.

Analyzing the solution
About the Instructor
4.3 Average rating
20 Reviews
872 Students
3 Courses
Engineer for Numerical Simulation

Hi everyone,
my name is Andrew and I am an engineer from Germany. I have got a M. sc. in Physical Science and many years of experience in quite a lot of programming languages such as C, C++, Java, Python, Matlab etc. My main field of work is numerical simulations e.g. strucutral mechanics, thermo dynamics and electro dynamics.

Report Abuse