Unleashing the Power of GPU Solvers in Computational Simulations: A Paradigm Shift in Simulation Technology

 

 


Simulation is advancing rapidly, driven by the ever-growing need for increased precision, efficiency, and scalability. At the forefront of this transformation is the adoption of GPU solvers, which promise unparalleled speed and accuracy in computational fluid dynamics (CFD) and other physics simulations.

In a recent webinar hosted by Klas Johansson of EDRMedeso, the focus was on the Ansys GPU solver, particularly in relation to CFD applications.

 

Why GPU Solvers?

Traditionally, CPUs have been the backbone of the simulation process. However, the limitations of Moore’s Law and the increasing demand for faster, more complex simulations have made GPUs a game-changing alternative. Unlike CPUs, GPUs offer significantly higher memory bandwidth and computational power, enabling rapid processing and efficient scaling.

Key drivers for the shift to GPU solvers include:

  • Performance Gains: GPUs have seen exponential improvements in processing power, driven by advancements in AI and machine learning.
  • Speed and Scalability: Simulations run faster on GPUs, allowing engineers to achieve quicker design iterations.
  • Cost-Effectiveness: When comparing the hardware costs and energy consumption of CPU clusters with GPUs, the latter offers both a more sustainable and economical solution.

 

The Ansys Fluent Native GPU Solver

The Ansys Fluent native GPU solver is a pivotal tool in the evolution of CFD simulation. First introduced in beta in 2022, the GPU solver has undergone rapid development, integrating new features and capabilities with each release.

Key Features and Developments

  • Sliding Mesh and Coupled Solvers: These enhancements allow simulations involving complex motions and interactions, like rotating machinery.
  • Chemical Combustion Models: Expanded support for chemistry-related simulations.
  • Discrete Phase Modeling (DPM): A beta feature enabling particle tracking with up to 20x speed improvements compared to CPU-based solvers.
  • Multi-Phase Flow: Volume of fluid simulations are on the roadmap, offering capabilities for applications like fluid mixing.

 

Performance Comparisons

A single high-end GPU, like the NVIDIA A100, can deliver performance equivalent to hundreds of CPU cores. For instance, a dam-break simulation showed a speedup of over 3.5 times using one A100 compared to 128 CPU cores.

In transient simulations, GPU solvers often require fewer iterations to converge, further reducing computation time and cost.

 

Licensing for GPU Solvers

The licensing model for GPU solvers differs from traditional CPU-based systems. Instead of counting CPU cores, Ansys uses streaming multiprocessors (SMs) as the licensing metric for GPUs. Each Fluent Enterprise license includes support for GPUs with up to 40 SMs, with additional HPC packs required for more powerful GPUs. This approach ensures flexibility and scalability, allowing organizations to adapt their licensing based on their computational needs.

 

Ansys Discovery: A Unified Tool for Modeling and Simulation

Ansys Discovery complements the Fluent GPU solvers by integrating GPU-accelerated simulation into a versatile modeling environment. Discovery is positioned as the future of geometry preparation and simulation, replacing legacy tools like SpaceClaim and DesignModeler.

Three Pillars of Ansys Discovery

  • Modeling Mode: Offers direct and history-based geometry modeling, catering to a wide range of user preferences.
  • Explore Mode: Provides real-time simulation capabilities using integrated GPU solvers for structural, fluid, and thermal analyses.
  • Refine Mode: Enables high-fidelity simulations with tools like Fluent and Mechanical, leveraging GPU acceleration.

Innovative Features in Discovery

  • LiveGX Solver: Shared with the Fluent GPU solver, this tool enables seamless transitions between Discovery and flagship Ansys products.
  • GPU-Based Meshing: a new meshing algorithm runs entirely on GPUs, providing speed and precision for complex geometries.
  • Cutter Bodies: simplifies simulations by allowing users to move objects without manual volume extraction.

 

Efficiency and Sustainability

One of the most compelling arguments for adopting GPU solvers is their contribution to sustainability. Traditional CPU clusters require extensive power and cooling infrastructure, while GPUs can deliver equivalent or superior performance with a fraction of the energy consumption. This makes GPU solvers not only a technological advancement but also an environmentally responsible choice.

 

Real-World Applications

The transformative potential of GPU solvers can be exemplified in the following real-world scenarios:

Automotive CFD Simulation

A car body simulation with 50 million elements showed a 20x speedup using GPUs.

Cost comparisons revealed near parity between GPU and CPU setups, making GPUs the clear choice for efficiency.

Compressor Simulation

A transient simulation of a stator-rotor-stator setup with 44 million elements demonstrated a significant reduction in computation time and costs using GPU solvers.

The solver required fewer iterations, further optimizing performance.

Electronics Cooling

Discovery’s capabilities in simulations involving internal cooling of electronic components, leverage features like surface-to-surface radiation and integrated fan libraries.

 

Challenges and Considerations

While GPU solvers offer immense benefits, there are practical considerations:

  • Memory Limitations: The amount of memory on the GPU can limit the size of simulations. Multi-GPU setups may be required for larger models.
  • Learning Curve: Transitioning from CPU to GPU workflows may require training and adaptation.
  • Hardware Availability: High-end GPUs like the NVIDIA H100 are in demand and may have limited availability.

 

The Future of GPU Solvers

Ansys continues to innovate, with a roadmap that includes expanded multi-phase flow capabilities, enhanced meshing algorithms, and further integration of GPU solvers across its product suite. As these tools evolve, they will become indispensable for industries ranging from automotive and aerospace to electronics and energy.

 

Is GPU the Right Choice for You?

GPU solvers represent a transformative leap forward in simulation technology, offering unprecedented speed, accuracy, and efficiency. Whether you’re tackling complex CFD problems or exploring multi-physics applications, GPU solvers can redefine your approach to design and analysis.

 

If you’re considering GPU solvers, now is the time to explore their potential. EDRMedeso is here to guide you through benchmarking, implementation, and optimization, ensuring you maximize the value of these cutting-edge tools.

 

 

Speak to an Expert

 

Watch the recent GPU webinar on-demand

 

More about Ansys Fluent

 

More about Ansys Discovery

ajax-loader-image