Turbulence Simulations Help Make Movie Magic

By Scott Gibson

August 8, 2013

One could aptly say that Nils Thuerey’s experiences in computer modeling and simulation lean toward the dramatic: He and three colleagues won an Oscar for Technical Achievement in 2012 from the Academy of Motion Picture Arts and Sciences for developing an algorithm to create fast and controllable smoke simulations and explosions on film, and a 90-second scene from a feature film involving a burning horse and lots of slow-motion fire stands out in his mind as his most challenging visualization of late.

The horse and fire sequence was from “Rise of an Empire,” the prequel to the movie “300” about the Battle of Thermopylae in 480 B.C. And specifically, Thuerey and colleagues Theodore Kim, Markus Gross, and Doug James won the Oscar for “the invention, publication and dissemination of Wavelet Turbulence Software.” The application employs a technique that has “allowed for fast, art-directable creation of highly detailed gas simulation, making it easier for the artist to control the appearance of these effects in the final image,” the description of the award reads. The software has been used in about 30 feature films, including “Avatar” and “Iron Man 3.”

“It’s great to see technology making a real impact in industry — to see that it’s useful, and ultimately being able to watch it on the big screen,” Thuerey said.

In a recent talk in San Diego at the XSEDE13 conference — the annual meeting of researchers, staff and industry who use and support the U.S. cyberinfrastructure — Thuerey provided an overview of the technical methodology involved in special-effects turbulence modeling and simulation research.

Simulating and Iterating 

The development of simulated special effects is accelerated by high-performance computing (HPC), with speed advantages afforded by the parallelization of data and the use of graphics processing units (GPUs). Thuerey explained that in movie-making, right next to art direction (project control) in terms of importance is the time required to run a special-effects simulation, and the average turnaround of one-half day allowed by HPC seems to suit film artists.

The control aspect of film production also includes rendering the chaotic turbulence in fire, smoke and water and its complexity with as much realism as possible. The general approach to doing that, Thuerey said, is to start with a coarse and fast simulation and turn it into one that is detailed and of high resolution.

Fluid simulations — which in this context can refer to fire, smoke or water — serve as the base layer of a special effect, to which overlays, textures and particles are added. “You can have each layer approved, and then the simulation can remain ‘locked’ and unchanged,” Thuerey said. “In general, all movies iterate a lot: an artist produces different versions with feedback from supervisors and clients until everyone is happy — or as happy as possible.”

To add the details to effects, the researchers examine what are referred to as octaves in wavelet (small wave) turbulence. Metaphorically akin to musical octaves, these separate the different sizes of vortices (whirling masses) in a turbulent flow, and the large ones can be broken down into smaller and smaller ones. “We need vortices of very specific sizes that we can correctly blend in with those of the coarse simulation,” Thuerey explained.

The workflow for special-effects creation devised by Kim, Thuerey, James and Gross consists of the iterative steps of conceptualizing the artistic goal and developing the coarse simulation, followed by the execution of the one-time actions of detail detection, the tracking of motion and the application of turbulence.

More Particles, More Realism

Thuerey and colleagues Tobias Pfaff of the computer graphics laboratory ETH Zurich and Jonathan Cohen and Sarah Tariq of NVIDIA developed a scalable method of resolving the fine details of turbulent flows and published a paper entitled “Scalable Fluid Simulation using Turbulence Particles” for SIGGRAPH Asia 2010.  Thuerey discussed highlights from the paper during his talk at XSEDE13, relating how in their methodology they use what’s called a two-equation K-epsilon model to compute the transport of turbulent energy, which they integrate into a base flow of smoke. In the next step, the researchers add particles for greater realism, without changing the overall flow of the effect. The end result is turbulent, billowing smoke. Thuerey added that the faster speed afforded by GPUs makes the computing of more interesting flows possible.

“The ‘classical’ use of turbulence models in computational fluid dynamics is to gain knowledge about, say, averaged quantities, for example,” Thuerey explained. “For graphics, we are more interested in synthesizing the turbulent flow over time to generate images with it. So there’s quite a difference in the goals for each direction.”

“Anything is Possible”

HPC can help not only with an explosion taking place in the foreground of the screen but also in the background in the form of what are called “invisible VFX.” “The easier it is to create these effects, the more we can use them in all parts of a scene,” Thuerey said. One example he gave during his talk was the computerized addition of bruises on an actor.

With the computational power and the advances made possible by research in special effects, “anything is possible, but it can be pretty expensive,” Thuerey said.

“The effects require very heavy computations, and the outcome is difficult to predict,” he explained. “So it takes many iterations to reach the desired shape, motion, etc.”

The content of Thuerey’s research and talk corresponds nicely with much of the activities taking place across the XSEDE ecosystem, according to XSEDE13 Technical Program Chair Amit Majumdar. “Scientfic visualization of terabytes to petabytes of data, produced by HPC simulations, is a big part of the end-to-end science process for XSEDE users,” he said. “Nils’ talk was excellent, as he discussed how he combines advanced algorithms and knowledge of domain science, such as turbulence, to generate these amazing visualizations.”

Thuerey praised the merit of XSEDE, saying, “It’s great to have such a strong organization for the high-performance-computing field.”

The annual XSEDE conference, organized by the National Science Foundation’s Extreme Science and Engineering Discovery Environment with the support of corporate and non-profit sponsors, brings together the extended community of individuals interested in advancing research cyberinfrastructure and integrated digital services for the benefit of science and society. XSEDE13 was held July 22–25 in San Diego; XSEDE14 will be held July 13–18 in Atlanta. For more information, visit https://conferences.xsede.org/xsede14.

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industy updates delivered to you every week!

Dell Strikes Reseller Deal with Atos; Supplants SGI

August 22, 2017

Dell EMC and Atos announced a reseller deal today in which Dell will offer Atos’ high-end 8- and 16-socket Bullion servers. Some move from Dell had been expected following Hewlett Packard Enterprise’s purchase of SGI Read more…

By John Russell

Glimpses of Today’s Total Solar Eclipse

August 21, 2017

Here are a few arresting images posted by NASA of today’s total solar eclipse. Such astronomical events have always captured our imagination and it’s not hard to understand why such occurrences were often greeted wit Read more…

By John Russell

Tech Giants Outline Battle Plans for Future HPC Market

August 21, 2017

Four companies engaged in a cage fight for leadership in the emerging HPC market of the 2020s are, despite deep differences in some areas, in violent agreement on at least one thing: the power consumption and latency pen Read more…

By Doug Black

HPE Extreme Performance Solutions

Leveraging Deep Learning for Fraud Detection

Advancements in computing technologies and the expanding use of e-commerce platforms have dramatically increased the risk of fraud for financial services companies and their customers. Read more…

Geospatial Data Research Leverages GPUs

August 17, 2017

MapD Technologies, the GPU-accelerated database specialist, said it is working with university researchers on leveraging graphics processors to advance geospatial analytics. The San Francisco-based company is collabor Read more…

By George Leopold

Tech Giants Outline Battle Plans for Future HPC Market

August 21, 2017

Four companies engaged in a cage fight for leadership in the emerging HPC market of the 2020s are, despite deep differences in some areas, in violent agreement Read more…

By Doug Black

Microsoft Bolsters Azure With Cloud HPC Deal

August 15, 2017

Microsoft has acquired cloud computing software vendor Cycle Computing in a move designed to bring orchestration tools along with high-end computing access capabilities to the cloud. Terms of the acquisition were not disclosed. Read more…

By George Leopold

HPE Ships Supercomputer to Space Station, Final Destination Mars

August 14, 2017

With a manned mission to Mars on the horizon, the demand for space-based supercomputing is at hand. Today HPE and NASA sent the first off-the-shelf HPC system i Read more…

By Tiffany Trader

AMD EPYC Video Takes Aim at Intel’s Broadwell

August 14, 2017

Let the benchmarking begin. Last week, AMD posted a YouTube video in which one of its EPYC-based systems outperformed a ‘comparable’ Intel Broadwell-based s Read more…

By John Russell

Deep Learning Thrives in Cancer Moonshot

August 8, 2017

The U.S. War on Cancer, certainly a worthy cause, is a collection of programs stretching back more than 40 years and abiding under many banners. The latest is t Read more…

By John Russell

IBM Raises the Bar for Distributed Deep Learning

August 8, 2017

IBM is announcing today an enhancement to its PowerAI software platform aimed at facilitating the practical scaling of AI models on today’s fastest GPUs. Scal Read more…

By Tiffany Trader

IBM Storage Breakthrough Paves Way for 330TB Tape Cartridges

August 3, 2017

IBM announced yesterday a new record for magnetic tape storage that it says will keep tape storage density on a Moore's law-like path far into the next decade. Read more…

By Tiffany Trader

AMD Stuffs a Petaflops of Machine Intelligence into 20-Node Rack

August 1, 2017

With its Radeon “Vega” Instinct datacenter GPUs and EPYC “Naples” server chips entering the market this summer, AMD has positioned itself for a two-head Read more…

By Tiffany Trader

How ‘Knights Mill’ Gets Its Deep Learning Flops

June 22, 2017

Intel, the subject of much speculation regarding the delayed, rewritten or potentially canceled “Aurora” contract (the Argonne Lab part of the CORAL “ Read more…

By Tiffany Trader

Nvidia’s Mammoth Volta GPU Aims High for AI, HPC

May 10, 2017

At Nvidia's GPU Technology Conference (GTC17) in San Jose, Calif., this morning, CEO Jensen Huang announced the company's much-anticipated Volta architecture a Read more…

By Tiffany Trader

Reinders: “AVX-512 May Be a Hidden Gem” in Intel Xeon Scalable Processors

June 29, 2017

Imagine if we could use vector processing on something other than just floating point problems.  Today, GPUs and CPUs work tirelessly to accelerate algorithms Read more…

By James Reinders

Russian Researchers Claim First Quantum-Safe Blockchain

May 25, 2017

The Russian Quantum Center today announced it has overcome the threat of quantum cryptography by creating the first quantum-safe blockchain, securing cryptocurrencies like Bitcoin, along with classified government communications and other sensitive digital transfers. Read more…

By Doug Black

Quantum Bits: D-Wave and VW; Google Quantum Lab; IBM Expands Access

March 21, 2017

For a technology that’s usually characterized as far off and in a distant galaxy, quantum computing has been steadily picking up steam. Just how close real-wo Read more…

By John Russell

Nvidia Responds to Google TPU Benchmarking

April 10, 2017

Nvidia highlights strengths of its newest GPU silicon in response to Google's report on the performance and energy advantages of its custom tensor processor. Read more…

By Tiffany Trader

Groq This: New AI Chips to Give GPUs a Run for Deep Learning Money

April 24, 2017

CPUs and GPUs, move over. Thanks to recent revelations surrounding Google’s new Tensor Processing Unit (TPU), the computing world appears to be on the cusp of Read more…

By Alex Woodie

HPC Compiler Company PathScale Seeks Life Raft

March 23, 2017

HPCwire has learned that HPC compiler company PathScale has fallen on difficult times and is asking the community for help or actively seeking a buyer for its a Read more…

By Tiffany Trader

Leading Solution Providers

Trump Budget Targets NIH, DOE, and EPA; No Mention of NSF

March 16, 2017

President Trump’s proposed U.S. fiscal 2018 budget issued today sharply cuts science spending while bolstering military spending as he promised during the cam Read more…

By John Russell

Google Debuts TPU v2 and will Add to Google Cloud

May 25, 2017

Not long after stirring attention in the deep learning/AI community by revealing the details of its Tensor Processing Unit (TPU), Google last week announced the Read more…

By John Russell

CPU-based Visualization Positions for Exascale Supercomputing

March 16, 2017

In this contributed perspective piece, Intel’s Jim Jeffers makes the case that CPU-based visualization is now widely adopted and as such is no longer a contrarian view, but is rather an exascale requirement. Read more…

By Jim Jeffers, Principal Engineer and Engineering Leader, Intel

Six Exascale PathForward Vendors Selected; DoE Providing $258M

June 15, 2017

The much-anticipated PathForward awards for hardware R&D in support of the Exascale Computing Project were announced today with six vendors selected – AMD Read more…

By John Russell

Top500 Results: Latest List Trends and What’s in Store

June 19, 2017

Greetings from Frankfurt and the 2017 International Supercomputing Conference where the latest Top500 list has just been revealed. Although there were no major Read more…

By Tiffany Trader

IBM Clears Path to 5nm with Silicon Nanosheets

June 5, 2017

Two years since announcing the industry’s first 7nm node test chip, IBM and its research alliance partners GlobalFoundries and Samsung have developed a proces Read more…

By Tiffany Trader

Messina Update: The US Path to Exascale in 16 Slides

April 26, 2017

Paul Messina, director of the U.S. Exascale Computing Project, provided a wide-ranging review of ECP’s evolving plans last week at the HPC User Forum. Read more…

By John Russell

Graphcore Readies Launch of 16nm Colossus-IPU Chip

July 20, 2017

A second $30 million funding round for U.K. AI chip developer Graphcore sets up the company to go to market with its “intelligent processing unit” (IPU) in Read more…

By Tiffany Trader

  • arrow
  • Click Here for More Headlines
  • arrow
Share This