CUDAFluidDynamics


demonstrates computational fluid dynamics using CUDALink.

DetailsDetails

  • The CUDALink package must be loaded using Needs["CUDALink`"].
  • The following options can be given:
  • "Device"$CUDADeviceCUDA device used to perform computation
    ImageSize360size of the fluid dynamics window
    "NumberOfParticles"Automaticnumber of fluid particles used in simulation

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

The CUDALink application must first be loaded:

In[1]:=
Click for copyable input

This computes and renders the fluid:

In[2]:=
Click for copyable input
Out[2]=
New to Mathematica? Find your learning path »
Have a question? Ask support »