Black FridayUpgrade your career this Black Friday. Get up to ₹60,000 Scholarship on IIT programsUp to ₹60K Black Friday Scholarship52 seats leftOffer ends Fri, 27 Nov, 11:59 pm IST.

Black Friday Scholarship – IIT Jammu & IIT Roorkee

The best Black Friday deal isn't a gadget. It's your next career move.

Get up to ₹60,000 Black Friday Scholarship on our PG programs with IIT Jammu and iHUB DivyaSampark, IIT Roorkee. IIT certification, 12 live sessions with IIT faculty and 100% placement assistance.

Only 52 seats left. Offer ends Fri, 27 Nov, 11:59 pm IST

3,905 engineers placed since 2019 · 1,276 hiring companies

By submitting you agree to our Terms and Privacy Policy.

Your free demo class is requested

Browse courses
Recorded workshop · CFD

Bootcamp: Introduction to CFD

Held 22 Oct 20201 videoCertificate available

Notes written by Skill-Lync from the recording · Updated 17 Nov 2026

What this workshop covers

This Introduction to CFD bootcamp covers the math behind computational fluid dynamics, then builds a first OpenFOAM case from meshing to boundary conditions.

The recording joins two live sessions from October 2020. Day 1 (to about 1:03:00) is theory: the Navier-Stokes equations and the conservation laws behind them, why partial differential equations must be discretized before a computer can solve them, and a forward-difference derivation from a Taylor series. The instructor then derives the central-difference form of the 2D Laplace equation on a whiteboard and turns it into a working 2D heat conduction solver in Google Sheets, with a mesh, boundary temperatures and a colour heat map. A biomedical example, CFD of a mechanical heart valve, is used to introduce turbulence modelling and fluid-structure interaction.

Day 2 moves to OpenFOAM (ESI version v1912 at the time, run in a Windows container). It runs the laplacianFoam flange tutorial, builds a base mesh with blockMesh, explains the three phases of snappyHexMesh, and sets up a transient mixing T case where water enters at 300 K and 350 K, fixing solver errors live. The session suits final-year mechanical students and beginners who have done a fluid mechanics course and want to see what sits inside a CFD solver. It is an overview from Skill-Lync, not a complete course: turbulence models, solution algorithms and most snappyHexMesh settings are named but not taught, and the live mixing T run is stopped after a few time steps.

Chapters

  1. 0:00 What CFD is and where it is used
  2. 6:00 Navier-Stokes equations and the conservation laws
  3. 9:34 Discretization and a Taylor series finite difference
  4. 19:04 CFD workflow, solver error and prerequisites
  5. 25:22 Laplace equation, boundary conditions, steady vs transient
  6. 28:54 Heart valve CFD: turbulence and fluid-structure coupling
  7. 40:00 Discretizing the 2D Laplace equation by hand
  8. 54:23 2D heat conduction solver in Google Sheets
  9. 1:03:01 Day 2: OpenFOAM and the laplacianFoam flange tutorial
  10. 1:24:21 blockMesh and snappyHexMesh explained
  11. 1:51:42 Mixing T case: STL geometry, scaling and meshing
  12. 2:21:52 Water properties, k-epsilon, boundary conditions, run

Key points from the session

  • Discretization replaces each derivative with differences between neighbouring points. Dropping the higher-order Taylor series terms turns a derivative into the change in value between two neighbouring points divided by the distance between them, which is only an approximation that improves as dx gets smaller, so every CFD result carries some error.
  • For the 2D Laplace equation with equal grid spacing in x and y, the central-difference form reduces to a simple rule: the temperature at each interior point is the average of its four neighbours (left, right, top and bottom).
  • The spreadsheet solver starts every cell at 300 K, fixes the top wall at 900 K and the other walls at 300 K, applies the averaging formula to interior cells only, and uses conditional formatting (300, 500 and 900 K) as the post-processing step.
  • The instructor's rule of thumb is that a well set-up simulation should be within about 5 percent of reality, and that an engineer who does not understand discretization, mesh quality and the solver is trusting a black box.
  • In the laplacianFoam flange tutorial, two patches are fixed at 273 K and 573 K, the other two are zero gradient, and temperature is solved with a PCG solver, DIC preconditioner and a tolerance of 1e-6. Iterations continue until the residual drops below that tolerance.
  • snappyHexMesh needs a blockMesh base mesh and a watertight geometry, ideally ASCII STL with one file per patch. It runs in three phases (castellation, snapping, layer addition), and each refinement level halves the cell size: a 6 m base cell becomes 3 m at level 1 and 1.5 m at level 2.
  • Useful commands from the demo: surfaceTransformPoints to scale a CAD model exported in millimetres to metres, surfaceCheck to get the bounding box for blockMesh vertices, and surfaceFeatureExtract before running snappyHexMesh. Keeping base cells the same size in x, y and z helps snappyHexMesh.
  • For the mixing T case the inlets get fixed velocities and temperatures of 300 K and 350 K, the outlet is zero gradient, and the pipe wall is no-slip with k-epsilon wall functions (kqRWallFunction, epsilonWallFunction, nutkWallFunction). When OpenFOAM stops on an error such as a wrong thermoType or a missing patch entry, read the message and fix that entry.

Why does CFD need discretization at all?

The Navier-Stokes equations are partial differential equations, and the instructor explains that a computer can only solve algebraic, linear equations. Discretization rewrites each derivative as differences between values at neighbouring mesh points, which turns the equations into a large set of algebraic equations a program can solve, at the cost of a small approximation error.

What is the difference between a steady and a transient CFD simulation?

A transient simulation follows quantities that change with time, like the heart valve flow. A steady simulation looks for a result that does not change, like the flow rate from a tap held at one position. The instructor notes a transient run will eventually settle to the steady answer, but it can take far longer to compute.

Is OpenFOAM harder to use than ANSYS Fluent?

In the session, yes: OpenFOAM has no built-in graphical interface, so every case is set up through text dictionary files and terminal commands. The instructor's view is that Fluent is better when time is short, while OpenFOAM is open source, lets you change or write your own solver, and is widely used in CFD research.

Where to go next

A 22 Oct 2020 workshop recording from Skill-Lync on CFD. For a structured course with projects on this topic, see Skill-Lync's mechanical engineering courses.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.