addParticles

Add particles to be advected by the flow.


Declaration

 addParticles(name,fluxOp,x,y,z,trackedFieldNames,options)

Parameters

  • name a unique name to call the particles
  • fluxOp a WVParticleFluxOperation, used to determine how the flow advects the particles
  • x x-coordinate location of the particles
  • y y-coordinate location of the particles
  • z z-coordinate location of the particles
  • trackedFields strings of variable names
  • advectionInterpolation (optional) interpolation method used for particle advection. “linear” (default), “spline”, “exact”
  • trackedVarInterpolation (optional) interpolation method used for tracked field. “linear” (default), “spline”, “exact”
  • absToleranceXY (adapative) absolute tolerance in meters for particle advection in (x,y). 1e-1 (default)
  • absToleranceZ (adapative) absolute tolerance in meters for particle advection in (z). 1e-2 (default)

Discussion


This site uses Just the Docs, a documentation theme for Jekyll.