CUDALink`
CUDALink`

CUDAFluidDynamics

CUDAFluidDynamics[]

demonstrates computational fluid dynamics using CUDALink.

更多信息

  • 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

范例

基本范例  (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]=

参见

CUDAFunctionLoad  CUDAVolumetricRender  CUDAVolumetricDataRead

教程