addParticles
Add particles to be advected by the flow.
Declaration
addParticles(name,fluxOp,x,y,z,trackedFieldNames,options)
Parameters
namea unique name to call the particlesfluxOpa WVParticleFluxOperation, used to determine how the flow advects the particlesxx-coordinate location of the particlesyy-coordinate location of the particleszz-coordinate location of the particlestrackedFieldsstrings of variable namesadvectionInterpolation(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)