[CFD] Conjugate Gradient for CFD (Part 2): Optimum Distance and Directions @fluidmechanics101
[CFD] Conjugate Gradient for CFD (Part 2): Optimum Distance and Directions  @fluidmechanics101
Uploaded September 2023 | Updated December 2026, 3 hours ago
An introduction to the conjugate gradient method and other gradient descent based methods (steepest descent method) for CFD. This is Part 2 of a 2 Part lecture series.

Time stamps
0:00 Introduction
0:50 Basic algorithm summary
3:54 Iteration error (ek)
7:06 The key idea
9:20 Orthogonal directions
10:21 Conjugate directions
12:34 Optimum distance (alphak)
15:54 Alphak derivation
20:37 Next direction (pk+1)
26:39 Slider (betak+1)
28:59 First direction (p0)
30:14 Simplifications (alphak, betak+1)
31:08 Algorithm summary
33:32 Outro

References
J. Shewchuk 'An Introduction to the Conjugate Gradient Method Without the Agonizing Pain', Edition 1 1/4, 1994.
https://www.cs.cmu.edu/~quake-papers/painless-conjugate-gradient.pdf

============================================
Want to learn more?
============================================

Grab a copy of my CFD Fundamentals Course (for beginners):
udemy.com/course/computational-fluid-dynamics-fundamentals-course/?referralCode=F9CF2DFFCA224E93834E

Learn how to write your own CFD code in MATLAB and python (for intermediates):
dr-aidan-wimshurst-s-school.teachable.com/p/the-simple-algorithm

Learn how I draw my figures and diagrams in Inkscape (for everyone):
dr-aidan-wimshurst-s-school.teachable.com/p/inkscape-for-scientists-and-engineers

============================================
Did you like the video?
============================================

Download the lecture slides from my website:
fluidmechanics101.com/pages/lectures.html

Buy me a coffee to say thanks:
buymeacoffee.com/NKEZrhvg0

============================================
Donations:
============================================

1) PayPal
paypal.me/fluidmechanics101

==================================
Disclaimer
==================================
The methods, algorithms, equations, formulae, diagrams and explanations in this talk are for educational and demonstrative purposes only. They should never be used to analyse, design, accredit or validate real scientific / engineering / mathematical structures and flow systems. For such applications, appropriate trained, qualified and accredited (SQEP) engineers / scientists should be consulted along with the appropriate documentation, procedures and engineering standards. Furthermore, the information contained within this talk has not been verified, peer reviewed or checked in any way and is likely to contain several errors. It is therefore not appropriate to use this talk itself (or any of the algorithms, equations, formulae, diagrams and explanations contained within this talk) as an academic or technical reference. The reader should consult the original references and follow the verification and validation processes adopted by your company / institution when carrying out engineering calculations and analyses. Fluid Mechanics 101 and Dr. Aidan Wimshurst are not accountable or liable in any form for the use or misuse of the information contained in this talk beyond the specific educational and demonstrative purposes for which it was intended.
[CFD] Conjugate Gradient for CFD (Part 2): Optimum Distance and Directions[CFD] Large Eddy Simulation (LES) 3: Sub-Grid ModellingFluid Mechanics 101 Podcast - Tidal Stream Energy with Wouter Remmerie (Episode 4)[CFD]  The SIMPLE Algorithm (to solve incompressible Navier-Stokes)[CFD] Multi-Grid for CFD (Part 2): Restriction and Prolongation[CFD] Rhie & Chow Interpolation (Part 3): Deriving the Correction![CFD] Heat Transfer Coefficient (htc) in ANSYS Fluent, OpenFOAM and CFX[CFD] Large Eddy Simulation (LES) 2: Turbulent Kinetic Energy[CFD] Relaxation in CFD (Part 2) - Implicit Relaxation, Diagonal Dominance[CFD] What Wall Functions Do I Need for Epsilon?Fluid Mechanics Podcast - Dr Giovanni Giustini on on Nuclear Reactor Cooling and Thermal Hydraulics[CFD] Eddy Viscosity Models for RANS and LES
Fluid Mechanics 101 |

[CFD] Conjugate Gradient for CFD (Part 2): Optimum Distance and Directions

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER