• 09/03/2020
  • Public Content

Computational Fluid Dynamics (CFD): Fluid Animate

Fluid animate is one of a class of algorithms for calculating fluid flow. Specifically, it utilizes the Smoothed-Particle Hydrodynamics model. In this model, the fluid is represented as a gridless collection of particles that will move based on forces applied to the sample. Density and pressure of the fluid is calculated based on proximity of the particles' neighbors, and the particles will move accordingly. This provides several benefits, such as built-in conservation of mass (the particles themselves represent mass) and solely being a calculation of nearest neighbor, as opposed to linear systems of equations. The kernel is broken into 4 parts, as seen in
advance_frame
. However, the heaviest work is being done in
compute_forces()
, which is parallellized with Intel® Cilk™ Plus
cilk_for
. Additionally, the Vec3 class can be rewritten to take advantage of Intel® Cilk™ Plus Array Notation.
 
This code originally written as part of the Princeton Parsec benchmark suite by Richard O. Lee and later modified by Christian Bienia and Christian Fensch.
 
1

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserverd for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804