此为 Mathematica 8 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

CUDAFluidDynamics


demonstrates computational fluid dynamics using CUDALink.
  • The CUDALink package must be loaded using Needs.
  • 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
The CUDALink application must first be loaded:
This computes and renders the fluid:
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]=