Density-Based Solver

Category: Fluid Analysis (CFD) | Integrated 2026-04-06
CAE visualization for density based theory - technical simulation diagram
Density-based solver

Density-Based Solver: Theoretical Foundations

Overview

🧑‍🎓

Professor! Today's topic is about density-based solvers, right? What are they like?


🎓

Standard solution method for compressible flow. Approximate Riemann solver. Shock capturing.




Governing Equations




$$ \frac{\partial\mathbf{U}}{\partial t}+\frac{\partial\mathbf{F}}{\partial x}+\frac{\partial\mathbf{G}}{\partial y}=\mathbf{S} $$
$$ \text{Roe, AUSM, HLLC flux} $$



🧑‍🎓

So, if you cut corners on the density-based solver part, you'll pay for it later. I'll keep that in mind!


Discretization Methods

🧑‍🎓

How do you actually solve this equation on a computer?


🎓

We use spatial discretization by the Finite Element Method (FEM). We assemble the element stiffness matrix and construct the global stiffness equation.


🎓

We perform transformation to the weak form (variational form) and use formulation by the Galerkin method using test functions and shape functions. The choice of element type (low-order elements vs. higher-order elements, full integration vs. reduced integration) directly affects the trade-off between solution accuracy and computational cost.




Matrix Solution Algorithms

🧑‍🎓

What exactly are matrix solution algorithms?


🎓

Solve the system of equations by direct methods (LU decomposition, Cholesky decomposition) or iterative methods (CG method, GMRES method). Preconditioned iterative methods are effective for large-scale problems.



SolverClassificationMemory UsageApplicable Scale
LU decompositionDirect MethodO(n²)Small to Medium Scale
Cholesky decompositionDirect Method (Symmetric Positive Definite)O(n²)Small to Medium Scale
PCG MethodIterative MethodO(n)Large Scale
GMRES methodIterative MethodO(n·m)Large Scale / Non-symmetric
AMG PreconditionerPreprocessingO(n)Very Large Scale
🧑‍🎓

So, if you cut corners on the finite element method part, you'll pay for it later. I'll keep that in mind!


Implementation in Commercial Tools

🧑‍🎓

So, what software can you use to do density-based solvers?


Tool NameDeveloper/CurrentMain File Formats
Ansys FluentAnsys Inc..cas, .dat, .msh, .jou
Ansys CFXAnsys Inc..cfx, .def, .res, .ccl
Simcenter STAR-CCM+Siemens Digital Industries Software.sim, .java, .csv
OpenFOAMOpen Source (OpenCFD/ESI, OpenFOAM Foundation)Dictionary files (blockMeshDict, etc.), .foam

Vendor Lineage and Product Integration History

🧑‍🎓

Do the origins of each software have dramatic stories?



Ansys Fluent

🧑‍🎓

Next is about Ansys Fluent. What's the content?


🎓

Developed by Fluent Inc. Acquired by Ansys in 2006. A general-purpose CFD solver based on unstructured grids.

Current Affiliation: Ansys Inc.



Ansys CFX

🧑‍🎓

Please tell me about "Ansys CFX"!


🎓

CFX developed by AEA Technology (UK). Acquired by Ansys in 2003. Features a coupled solver.

Current Affiliation: Ansys Inc.


🧑‍🎓

After hearing this, I finally understand why development is so important!



Simcenter STAR-CCM+

🧑‍🎓

Next is about Simcenter STAR. What's the content?


🎓

Developed by CD-adapco. Acquired by Siemens in 2016 and integrated into the Simcenter brand. Features polyhedral meshes.

Current Affiliation: Siemens Digital Industries Software


🧑‍🎓

Wow, the story of development is super interesting! Please tell me more.


File Formats and Interoperability

🧑‍🎓

Are there any points to note when transferring data between different software?


FormatExtensionTypeOverview
CGNS.cgnsCFD DataCFD General Notation System. Standard exchange format for CFD results.
VTK.vtk/.vtuVisualizationVisualization Toolkit format. Used by ParaView, etc.
🎓

When converting models between different solvers, careful attention is needed regarding element type correspondence, material model compatibility, and differences in load/boundary condition representation. Particularly, higher-order elements and special elements (cohesive elements, user-defined elements, etc.) often cannot be directly converted between solvers.


🧑‍🎓

I see... Formats seem simple at first glance, but they're actually very deep, aren't they?


Practical Considerations

🧑‍🎓

Are there things like "field wisdom" that aren't in textbooks?


🎓

Verifying mesh convergence, validating the appropriateness of boundary conditions, and performing sensitivity analysis of material parameters are extremely important.


Related Simulators

Experience the theory with interactive simulators in this field

All Simulators

Related fields

Thermal AnalysisV&V · Quality AssuranceStructural Analysis
Rate this article
Thank you for your feedback!
Helpful
More details
Report error
Helpful
0
More details
0
Report error
0
Written by NovaSolver Contributors
Anonymous Engineers & AI — Sitemap
About the Authors