osaft.core.functions.cartesian_2_spherical_vector
- osaft.core.functions.cartesian_2_spherical_vector(v_x, v_z, theta)[source]
Transforms velocities in the a 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_x (
float) – velocity in radial directionv_z (
float) – velocity in tangential directiontheta (
float) – polar angle
- Return type
tuple[float,float]