CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Unit vector in 3-D (https://www.cfd-online.com/Forums/main/6468-unit-vector-3-d.html)

beggin August 18, 2003 05:16

Unit vector in 3-D
 
Hi, how many projections (2 or 3) it is necessary to define an unit vector in 3-D space? Three projections (ax, ay, az) it is obviously enough. But since ax^2 +ay^2+ az^2=1 it is may be enough two values? Thnx.

versi August 18, 2003 05:40

Re: Unit vector in 3-D
 
only 2 on spherical surface (\theta, \phi).

Mario August 18, 2003 06:09

Re: Unit vector in 3-D
 
ax^2 +ay^2+ az^2=1 is enought to determine the absolute value of 3rd component only. the direction must be specified additionally.

so, you need all 3 components in 3D

beggin August 18, 2003 07:00

Re: Unit vector in 3-D
 
Thank you, but why on sphere enough two numbers (latitude and longitude)? My be spherical coordinates give "more information" than the cartesian coordinates? I always considered that they are equivalent.


Kevin August 18, 2003 08:07

Re: Unit vector in 3-D
 
You need two points to define a vector. In 3D, you need the 3 coordinates of both points, i.e. x1,y1,z1 and x2,y2,z2. In your case, point 1 is at the axes origin and the norm of your vector is 1. Only two more informations are to be provided :

- two angles, in cylindrical coordinates, the norm being known

- two of the cartesian coordinates, the last one being detremined by the norm relation (x2**2 +y2**2+z2**2 = 1).



All times are GMT -4. The time now is 18:21.