osaft.core.functions.spherical_2_cartesian_vector#

osaft.core.functions.spherical_2_cartesian_vector(v_r, v_theta, theta)[source]#

Transforms velocities in the Spherical coordinate system (v_r, v_theta) of an axisymmetric model to the Cartesian system (v_x, v_z). See here for the definition of the coordinate system.

Parameters:
  • v_r (float) – velocity in radial direction

  • v_theta (float) – velocity in tangential direction

  • theta (float) – polar angle

Return type:

tuple[float, float]