CUDALink`
CUDALink`

CUDAFluidDynamics

CUDAFluidDynamics[]

demonstrates computational fluid dynamics using CUDALink.

Details

  • 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

Examples

Basic Examples  (1)

The CUDALink application must first be loaded:

This computes and renders the fluid: