Skip to main content
Speclore

球座標與圓柱座標

關於spherical圓柱形坐標的參考數據和工程資訊,用於標準組織應用。

作者 Merrick S

sphericalcylindricalcoordinates

概述

當座標系與物體的對稱性相吻合時,許多工程問題會大幅簡化:管流天然適合柱座標,而點或球體周圍的場則天然適合球座標。本頁提供點 PP 在笛卡兒座標、柱座標與球座標之間的換算方程式,將三種座標系並列比較,並說明各角度的取值範圍,以便正確解讀結果。

座標系比較

5 行
三維座標系的比較
Coordinates$(x, y, z)$$(\rho, \Phi, z)$$(r, \Phi, \theta)$
Radial Distance$r = \sqrt{x^2 + y^2 + z^2}$$\rho = \sqrt{x^2 + y^2}$$r = \sqrt{x^2 + y^2 + z^2}$
Azimuthal Angle$\Phi = \arctan(y/x)$$\Phi = \arctan(y/x)$$\Phi = \arctan(y/x)$
Polar AngleN/AN/A$\theta = \arccos(z/r)$
Best GeometryRectangularCylinders, pipesSpheres, cones

來源: engineeringtoolbox.com

球座標

將點 PP 的笛卡兒座標換算為球座標:

r=(x2+y2+z2)1/2r = \left(x^2 + y^2 + z^2\right)^{1/2}

tan⁡(Φ)=yx\tan(\Phi) = \frac{y}{x}

cos⁡(θ)=zr=z(x2+y2+z2)1/2\cos(\theta) = \frac{z}{r} = \frac{z}{\left(x^2 + y^2 + z^2\right)^{1/2}}

將球座標換算回笛卡兒座標:

x=rcos⁡(Φ)sin⁡(θ)x = r \cos(\Phi) \sin(\theta)

y=rsin⁡(Φ)sin⁡(θ)y = r \sin(\Phi) \sin(\theta)

z=rcos⁡(θ)z = r \cos(\theta)

  • rr —— 自原點到點 PP 的徑向距離
  • Φ\Phi —— 在 xyxy 平面上、自 xx 軸正向量起的方位角(範圍:0≤Φ<2π0 \leq \Phi < 2\pi)
  • θ\theta —— 自 zz 軸正向量起的極角(範圍:0≤θ≤π0 \leq \theta \leq \pi)

常見應用: 具球對稱性的問題,例如重力場、電磁波與量子力學軌域。

柱座標

將點 PP 的笛卡兒座標換算為柱座標:

ρ=(x2+y2)1/2\rho = \left(x^2 + y^2\right)^{1/2}

tan⁡(Φ)=yx\tan(\Phi) = \frac{y}{x}

z=zz = z

將柱座標換算回笛卡兒座標:

x=ρcos⁡(Φ)x = \rho \cos(\Phi)

y=ρsin⁡(Φ)y = \rho \sin(\Phi)

z=zz = z

  • ρ\rho —— 自 zz 軸到點 PP 的垂直距離
  • Φ\Phi —— 在 xyxy 平面上、自 xx 軸正向量起的方位角(範圍:0≤Φ<2π0 \leq \Phi < 2\pi)
  • zz —— 沿 zz 軸的高度(與笛卡兒座標的 zz 相同)

常見應用: 具柱對稱性的問題,例如管流、同軸電纜與圓柱形儲槽。

重要說明

  • 在兩種座標系中,Φ\Phi 都表示自 xx 軸量起的同一個方位角。
  • 球座標與柱座標徑向距離之間的關係為 r=ρ2+z2r = \sqrt{\rho^2 + z^2}。
  • 座標變換對於簡化具自然對稱性區域上的積分至關重要。

參考文獻