- #1
Disinterred
- 38
- 0
I am writing code for a particle simulation and I have this question:
A particle, with initial coordinates (xi,yi,zi) w.r.t a fixed origin in a global rectangular coordinate system, is traveling toward one of the faces of a cube with a speed whose direction can be described by the standard spherical polar angles (θi,φi) w.r.t a local origin at the initial coordinates (xi,yi,zi).
Now, say it hits the cubic face at a point (xc,yc,zc). If the particle is to undergo specular reflection, what are the spherical polar coordinates (θc,φc) w.r.t a local origin at the point (xc,yc,zc) which describe the direction of the velocity it reflects at? (in terms of the original angles)
Essentially, for a 2-D collision, I know that the particle must satisfy the usual law of reflection if we want specular reflection and thus we can get the new angle easily. But now in 3-D, there are two angles, so I am not sure what specular reflection would entail?
θ and φ are the usual spherical polar angles,
0° ≤ θ ≤ 180° (pi rad)
0° ≤ φ < 360° (2pi rad)
The only solution that makes sense to me is that the θ angle will obey the usual law of reflection, but the φ angle has no restrictions and can be anything from 0 to 2pi
Homework Statement
A particle, with initial coordinates (xi,yi,zi) w.r.t a fixed origin in a global rectangular coordinate system, is traveling toward one of the faces of a cube with a speed whose direction can be described by the standard spherical polar angles (θi,φi) w.r.t a local origin at the initial coordinates (xi,yi,zi).
Now, say it hits the cubic face at a point (xc,yc,zc). If the particle is to undergo specular reflection, what are the spherical polar coordinates (θc,φc) w.r.t a local origin at the point (xc,yc,zc) which describe the direction of the velocity it reflects at? (in terms of the original angles)
Essentially, for a 2-D collision, I know that the particle must satisfy the usual law of reflection if we want specular reflection and thus we can get the new angle easily. But now in 3-D, there are two angles, so I am not sure what specular reflection would entail?
Homework Equations
θ and φ are the usual spherical polar angles,
0° ≤ θ ≤ 180° (pi rad)
0° ≤ φ < 360° (2pi rad)
The Attempt at a Solution
The only solution that makes sense to me is that the θ angle will obey the usual law of reflection, but the φ angle has no restrictions and can be anything from 0 to 2pi
Last edited: