Function es::NaiveBiotSavart

Function Documentation

Matrix3Xd es::NaiveBiotSavart(Matrix3Xd startNodes, Matrix3Xd endNodes, Matrix3Xd locations, VectorXd gamma, VectorXd effective_core_radius_squared)

O(N^2) ‘Naive’ application of the biot savart law to determine the action of many vortex lines on many control points.

Outputs:

Parameters
  • startNodes: [3 x n] Start nodes of vortex lines in x, y, z coords
  • endNodes: [3 x n] End nodes of vortex lines in x, y, z coords
  • locations: [3 x p] Locations in x, y, z coords at which induction is required
  • gamma: [n x 1] Circulation of each vortex line
  • rcEffSqd: [n x 1] Square of the effective vortex core radius for each vortex line

induction[3 x p] double Induction in u, v, w directions of the input vortex lines at the input control points