Datawave Marine Solutions
  • Dms Logo
  • Services
    • Vessel Design
      • Concept Design
    • Naval Architecture
    • Advanced Analysis
    • Marine Systems
    • Civil Engineering
  • Marine Operations
    • Passenger Vessels
    • Work Boats
    • Research Boats
    • Shipyards
    • Marine Startups
    • Waterway Maintenance
    • Autonomous Vessels
  • Portfolio
  • About Us
  • Resources
    • Blog
    • GHS Tutorials
    • FAQs
  • Contact
  • Menu Menu

Guts of CFD: CFD Linear Solution

The heart of any CFD program is an extremely efficient linear algebra solver. But CFD equations are non-linear. How do we stretch the limits of linear algebra to accommodate non-linear CFD equations? How do we take the mathematics from one cell and apply them to millions of cells?

1.0 Introduction

Computational Fluid Dynamics combines the elegance of mathematics with the raw processing power of the computer.  Previously, we covered the mathematics side:

  1. Navier Stokes Equations
  2. Interpolation Equations

But that elegance still lacks the power of the computer.  We need a way to apply the mathematics to millions and millions of equations, and then solve them efficiently.  Enter the CFD linear solver.

2.0 Linear Solution

Previously, we developed the mathematics for a single cell in computational fluid dynamics (CFD).  This mathematics created the differential equations for fluid flow.  We then added in the interpolation equations to convert calculus into algebra, so the computer understood it.  But this still required us to know the values in the surrounding cells.  Each cell in the simulation needs to know the value of its neighbors before we can solve it.  How to solve millions of equations, all coupled together?

With Linear Algebra.

2.1 Linear Algebra Solver

The heart of every CFD solver is a very efficient linear algebra solver, solving equations in the format of Figure 2‑1.  These programs need to be extremely efficient, since CFD simulations often solve matrices made from millions of equations.  One matrix for every transport equation in the simulation.  Take a moment to appreciate the massive magnitude of that matrix and the effort required to solve it.  That is why CFD developers invest heavily in shaving microseconds from the linear solver operations.

3.0 Solving Non-Linear Problems

We encounter a problem when applying linear algebra to CFD equations.  Linear algebra only works on linear equations.  No exponents, functions, or other funny business.  Each variable may be multiplied by a scaling factor (the A matrix) and that is it.  How do we stretch the limits of linear algebra to accommodate non-linear CFD equations?

Iteration.  Equation 1 shows an example of converting a non-linear transport equation into a format suitable for a linear CFD solver.  The feature is that the matrix no longer strictly holds constants.  It is also a function of the variables that we solve.  Strictly speaking, this is not linear algebra.  But done carefully, it works.  By factoring out part of the variables, the remaining terms are suitable for the linear solver.

The solution process is iterative.  The CFD engineer first creates an initial guess at the fluid flow.  The CFD solver generates the matrix from that first guess and solves for the fluid flow.  The solver next updates the matrix based on the newly calculated solution and resolves.  This iteration continues, comparing the difference between updated solutions.  The CFD engineer determines when to stop iterations.

4.0 Conclusion

The heart of any CFD program is an extremely efficient linear algebra solver.  But CFD equations are non-linear.  To get around that problem, we factor out part of the non-linear problem and solve it with linear algebra.  Using iteration, this process works accurately.  This little sleight of hand in the equations allowed us to apply the extreme efficiency of linear algebra to the complexity of CFD equations.

5.0 References

[1] V. R. Raj, “Quadratic Profile Used in QUICK Scheme,” Wikimedia Commons, 12 Nov 2012. . Available: https://commons.wikimedia.org/wiki/File:Quadratic_profile.jpg. .
[2] Max Pixel, “Cumulus Storm Turbulence Thunderstorm Cloud Roller,” Max Pixel, 01 Jan 2019. . Available: https://www.maxpixel.net/Cumulus-Storm-Turbulence-Thunderstorm-Cloud-Roller-567678. .
[3] S. Wasserman, “Choosing the Right Turbulence Model for Your CFD Simulation,” Engineering.com, 22 Nov 2016. . Available: https://www.engineering.com/DesignSoftware/DesignSoftwareArticles/ArticleID/13743/Choosing-the-Right-Turbulence-Model-for-Your-CFD-Simulation.aspx. .
[4] Q. Wang, C. Yan and T. Hui, “Mechanism Design for Aircraft Morphing Wing,” Research Gate, <https://www.researchgate.net/figure/y-plus-value-for-the-CFD-model-10-degree-of-extension-angle-of-attack-6_fig4_268478784>, Accessed: 2019, Jan, 01, April 2012.
[5] S. Tao, F. Yuqing, L. Graeme and J. Kaixi, “CFD simulation of bubble recirculation regimes in an internal loop airlift reactor,” in 27th International Mineral Processing Congress, <https://www.researchgate.net/publication/289001212_CFD_simulation_of_bubble_recirculation_regimes_in_an_internal_loop_airlift_reactor>, Accessed: 2019, Jan, 01., January 2014.

Share This Post

  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail

More Like This

Seakeeper Clickbait

How a Seakeeper Works: Gyro Stabilization Explained

Fluid Dynamics, Fluid Loads, Fluids, Miscellaneous, Naval Architecture, Ship Motion Control
https://dmsonline.us/wp-content/uploads/2026/03/Clickbait.jpg 720 1280 Nicholas Barczak /wp-content/uploads/2025/06/DMS-logo.svg Nicholas Barczak2026-04-07 07:00:002026-06-01 10:09:14How a Seakeeper Works: Gyro Stabilization Explained
How to Buy a Towing Tank

How to Buy a Towing Tank: Purchase and Design Guide

Fluids, Fluids Special Methods, Miscellaneous, Towing Tank
https://dmsonline.us/wp-content/uploads/2025/08/Clickbait.jpg 720 1280 Nicholas Barczak /wp-content/uploads/2025/06/DMS-logo.svg Nicholas Barczak2025-11-11 07:00:002026-06-01 10:09:18How to Buy a Towing Tank: Purchase and Design Guide
050618 G 3721c 067

Surviving the Arctic: Polar Class Icebreakers

Design Support, Fluids, Mechanical, Propulsion, Special Purpose Mechanical Systems, Structural
https://dmsonline.us/wp-content/uploads/2023/12/USCGC_Healy_WAGB-20_north_of_Alaska-scaled-1.jpg 633 1200 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2024-05-14 09:00:002026-06-01 10:09:22Surviving the Arctic: Polar Class Icebreakers
Mackinawice1

Ramming the Ice: Icebreaker Propulsion

Energy Generation, Fluids, Hull Structure, Propulsion, Propulsion Plant, Propulsion Units, Propulsors, Structural, Transmission and Propulsor Systems
https://dmsonline.us/wp-content/uploads/2023/12/MackinawIce1-scaled-1.jpg 883 1200 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2024-03-19 09:00:002026-06-01 10:09:22Ramming the Ice: Icebreaker Propulsion
Ever Given Repaired

Ever Given: What We Don’t Know

Command and Surveillance, Fluid Dynamics, Miscellaneous, Ship Maneuvering, Ship Motion Control, Ship Response
https://dmsonline.us/wp-content/uploads/2022/03/Ever-Given-repaired.webp 667 1000 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2022-03-21 08:00:002025-07-23 09:49:47Ever Given: What We Don’t Know
Clickbait1 1.84.1

Stability Letters Explained

Fluids, Hydrostatics, Integration / Engineering
https://dmsonline.us/wp-content/uploads/2022/02/ClickBait1_1.84.1.jpg 1080 1920 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2022-02-21 06:00:002025-08-15 13:17:02Stability Letters Explained
Seawise University Wreck

Free Surface Moment

Fluids, Fluids Testing, Hydrostatics, Stability Test
https://dmsonline.us/wp-content/uploads/2021/01/Seawise_University_wreck.jpg 1059 1412 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2021-01-18 07:00:002026-06-01 10:09:25Free Surface Moment
Stability Test Pendulum Setup

Practical Stability Test: Naval Architect’s Guide

Fluids, Fluids Testing, Stability Test
https://dmsonline.us/wp-content/uploads/2021/06/PendulumSetup_500px.webp 422 500 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2020-11-02 06:00:002026-06-01 10:09:26Practical Stability Test: Naval Architect’s Guide
Container Ship Just Exiting Port

Stability Test Theory

Fluids, Fluids Testing, Stability Test
https://dmsonline.us/wp-content/uploads/2021/06/container-ship-2893480_1920.jpg 924 1386 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2020-10-19 06:00:002026-06-01 10:09:26Stability Test Theory
Previous Previous Previous Next Next Next

Categories

  • 3D Modeling
  • Arrangements
  • Auxiliary Systems
  • Command and Surveillance
  • Design Support
  • Drafting
  • Economics
  • Elastic Static Loading
  • Electrical
  • Energy Generation
  • Engineering Business
  • Equipment Integration
  • Fatigue
  • FEA / Numerical Methods
  • Fluid Dynamics
  • Fluid Loads
  • Fluids
  • Fluids Special Methods
  • Fluids Testing
  • Green Ship Design
  • Hiring Consultant
  • Hull Decks
  • Hull Structural Bulkheads
  • Hull Structure
  • Human Ergonomics
  • Hydrostatics
  • Insurance
  • Integration / Engineering
  • Legal
  • Marine Entrepreneurship
  • Masts, Kingposts, Service Platforms
  • Materials
  • Mechanical
  • Mechanical Handling Systems
  • Miscellaneous
  • Naval Architecture
  • Passenger Vessel
  • Piping
  • Production Engineering
  • Project Management
  • Propulsion
  • Propulsion Plant
  • Propulsion Units
  • Propulsor Shrouds and Ducts
  • Propulsors
  • Quality Assurance
  • Recreation
  • Regulations
  • Replenishment Systems
  • Resistance
  • Seakeeping / Fluid Structure Interaction
  • Shell and Supporting Structure
  • Ship Control Systems
  • Ship Maneuvering
  • Ship Motion Control
  • Ship Response
  • Shipyard And Support Services
  • Special Methods
  • Special Purpose Mechanical Systems
  • Special Purpose Structure
  • Stability Test
  • Structural
  • Support Services
  • Sustainable Marine Technology
  • Towing Tank
  • Transmission and Propulsor Systems
  • Unmanned Vessels
  • USCG
  • Vessel Design
  • Waterjet Propulsors

Our Socials

About Us

Ship designs tailored to your mission. Engineering that advances profits.

Dms Logo Negatives

What We Do

Vessel Design

Naval Architecture

Advanced Analysis

Marine Systems

Civil Engineering

Contact Us

(616) 504-1619

[email protected]

Website by Abstrakt Marketing Group ©
  • Privacy Policy
  • Sitemap
Scroll to top Scroll to top Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

AcceptLearn more

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Accept settingsHide notification only