March 1, 2021
The first generation of CAD and CAE software for PCs was designed to do all the calculations on the CPU. Graphics processing units (GPUs) were only for accelerating graphics displays. It would be years before NVIDIA and AMD added sophisticated parallel processing hardware, at first in support of new video games. It didn’t take long for CAD/CAE software developers to realize there were new capabilities in GPUs that they could use.
There was one problem: CPUs are designed as sequential processing units. Engineering applications constantly solve challenging algorithms. The sequential, evolving nature of engineering and design work matched with the single-threaded nature of solving algorithms. So in virtually every CAD, CAE and CAM program, the CPU did the mathematical heavy lifting and the GPU delivered results to the screen.
To this day, CAD programs mostly operate in a serial, single-threaded mode, while GPUs use a parallel approach to processing graphics, and perform the same calculations millions of times to achieve graphics realism. CAD vendors can’t just toss away generations of work in sequential processing.
Nonetheless, engineering software vendors have found ways to harness the tremendous performance that GPUs offer and use the hardware as a tool for product development engineering.
New Uses for Engineering Data
Engineering workflows have evolved from manual processes to computer-based designs that are more realistic and tangible. Today, there are forms of engineering work that did not exist 10 years ago.
“Visualization of design in VR and democratization of simulation are really interesting topics that can drive discussions around GPUs,” notes Chris Ramirez, strategic alliances manager at Dell for manufacturing and construction.
“Up until recently, mainstream engineering tools were all CPU-bound on single threads,” notes Andrew Rink, a senior member of the marketing team at NVIDIA. “But now designers and engineers use multiple design tools, and there are new capabilities that require much more graphics acceleration. Someone might be using AutoCAD but want to drop the model into VR or use a physically based rendering tool. This completely changes the dynamic. If someone is thinking about real-time simulation or VR, they need a higher-end GPU.”
“Throughout all design work, we are seeing two trends,” says Glen Matthews, senior manager of product management at AMD. “VR/AR is one. The other is rendering within design; it shortens the production cycle. Both trends are about using visualization to design products faster.”
A GPU Convert
Henrik Jensen co-founded software company Luxion to push the boundaries of 3D rendering. It demonstrated the first interactive ray tracing application in 2006. The company’s primary product, KeyShot, creates physically accurate renderings of 3D objects with the use of global illumination algorithms. It has become popular for professional use cases, including product development.
When Luxion began, GPUs were on the market for a few years, but were primarily for faster display, not algorithmic processing.
“KeyShot used complex algorithms, and they ran well on the CPU. But they didn’t map to GPUs,” says Jensen. So the company focused its development work on CPU use.
In 2018 Jensen attended an NVIDIA event and saw the prototype of the RTX specification, which included hardware support for ray tracing, the most common form of illumination for 3D rendering. Jensen was impressed by how far GPUs had come since 2006. The company decided to “start fresh with new tech” for KeyShot 9, released in 2019.
“Starting with the newest generation of NVIDIA technology gave us an advantage,” he says.
But Luxion did not abandon CPU-based rendering, for two reasons. One, says Jensen, is the large base of existing KeyShot users that do not use the latest GPU technology. Two, AMD had big advancements in CPU technology.
“AMD Threadripper is amazing,” says Jensen. The best combination of CPU and GPUs, Jensen says, would be an NVIDIA RTX-class GPU and an AMD Threadripper CPU.
“For most product scenes the GPU does deliver blazing performance, but for highly complex scenes with a lot of geometry and textures, the CPU with access to more memory becomes competitive,” says Jensen.
A CPU like Threadripper is also preferable over GPUs in scenes with highly divergent shading behavior. On a Luxion benchmark designed to test such shading, Jensen says the NVIDIA RTX 6000 is three times faster at rendering the scene than the Threadripper 3990X. Precision is another factor. The CPU uses double-precision 64-bit floating point calculations, while the GPU uses single-precision 32-bit floating point calculation.
“This does limit the accuracy in large scenes, and can lead to gaps or inaccurate shading,” notes Jensen.
KeyShot on a CPU has one more trick, Jensen says—direct ray tracing of NURBS. “Direct NURBS ray tracing is beneficial when working with large models that contain small parts.”
All in at Ansys
Engineering simulation and analysis specialist Ansys has used GPU acceleration in its products since the release of Ansys 15.0 in 2014. Today, nine products in the Ansys portfolio support GPUs for faster computational performance.
Discovery Live offers interactive, instantaneous simulation results for up-front design exploration. Mechanical uses GPU acceleration in several of its solver algorithms. Fluent and Polyflow use GPUs to support pressure-based coupled solver and radiation heat transfer models. HFSS and HFSS SBR+ use GPUs to support various frequency and time-domain electromagnetic analyses. EMIT specializes in radiofrequency interference for complex environments. DesignerSI tests signal integrity and electromagnetic interference analysis. Maxwell is for 2D and 3D low-frequency electromagnetic and electromechanical analysis. For licensing, Ansys generally treats each GPU in a workstation or high-performance computing cluster the same as a single-core CPU.
Ansys continues to invest in GPUs.
“Our customers can cut the time for typical Ansys Mechanical models in half, enabling them to innovate products faster across the entire life cycle,” says Wim Slagter, Ansys director of HPC and cloud marketing.
In a performance test with Fluent, Ansys compared use of a four-core CPU workstation with a 32-core CPU workstation equipped with two Quadro GV100 GPUs. The CPU/GPU combo outperformed the CPU-only workstation by a factor of 5.5x.
GPUs in Other Applications
The following offers examples of how GPUs are becoming more common as a co-computing platform with the CPU.
Altair uses GPUs to improve a wide range of simulation and analysis functions across its portfolio.
“Multiple physics can be accurately simulated on GPUs,” notes an Altair brief, “to explore and evaluate alternatives overnight and significantly speed up design workflows.” The company says advanced monitoring and predictive maintenance simulations can run up to six times faster using GPUs than on a CPU-based workflow.
Autodesk is adding GPU acceleration to many of its products. VRED 2021 now does ray tracing on the GPU instead of in the CPU. In a test comparing CPU and GPU ray tracing, a dual-CPU workstation with 40 CPU cores was compared to one, two and three NVIDIA RTX 8000 GPUs. One GPU was 2.3x faster than the CPU-only workstation; the three-GPU workstation was 6.6x faster. The latest releases of Alias, Arnold and Fusion 360 also include GPU-specific upgrades.
Creaform offers various 3D measurement solutions used in metrology and other engineering fields. Their HandySCAN 3D, Go!SCAN 3D and MetraSCAN products require an NVIDIA Quadro RTX5000 GPU running OpenGL 4.5 or higher.
Dyndrite is a software startup creating the first GPU-accelerated geometry kernel, the Accelerated Computation Engine. The software simultaneously supports various geometry types including surface meshes, B-reps, volumetric data, voxels and tetrahedral meshes.
Granuleworks also develops DEM software and specializes in powder simulations. The software is optimized for the Volta and later generation of NVIDIA GPUs. With a 16-core Intel Xeon workstation CPU as the 1.0 score in a benchmark, a GPU-equipped workstation scored a 22.48x faster resolution time for a ribbon mixer simulation.
Hexagon MSC Actran offers GPU acceleration in its 2021 suite of noise, vibration and harshness simulation applications. The updated multifrontal massively parallel solver, for example, uses GPU acceleration to perform 10x faster than previous versions.
Numeca specializes in turbomachinery simulation. OMNIS Turbo can scale linearly on either thousands of CPU cores or on multiple GPUs. Numeca says GPU-based simulations generally run 2.4x faster than CPU-only runs.
PTC Creo is a multi-app CAD platform. The core design environment, Creo Parametric, can work with either NVIDIA or AMD GPUs to enhance various performance aspects. Full-screen anti-aliasing in real time allows designers to work with smooth, accurate edges. Creo Simulation Live, an adaptation of Ansys Discovery Live for Creo, requires an NVIDIA GPU from the Kepler, Maxwell or Pascal product generations.
Rocky ESSS is a specialist in particle physics, also known as discrete element modeling (DEM). The solver in Rocky 4 can distribute a simulation across multiple GPUs. A commercial-scale high-shear wet granulation simulation that used multiple GPUs was able to simulate more than 10 million particles for the first time in company history. “These kinds of very high particle counts were not possible previously but are now a reality,” the company says.
Turbostream CFD optimizes for CPU and GPU use. A study at the U.K.’s University of Cambridge performed a “typical, routine” Deverson simulation using 3 million grid nodes. The simulation took 8 hours to run on a four-core CPU and 20 minutes to run using a GPU.
More AMD Coverage
More Ansys Coverage
More Dell Coverage
More Luxion Coverage
More NVIDIA Coverage
About the AuthorRandall Newton
Randall S. Newton is principal analyst at Consilia Vektor, covering engineering technology. He has been part of the computer graphics industry in a variety of roles since 1985.Follow DE