I had a question pertaining to a molecular dynamics simulation I'm attempting and wasn't sure how to approach the geometry.
Consider a water molecule (one oxygen, two hydrogens) where the oxygen is centered at the origin.
One hydrogen's center position is randomly assigned (some xi, yi, and zi where the root of the sum of the squares is equal to a known r [the sum of the radii of the two molecules]).
The other hydrogen must be 109.5 degrees removed from the first hydrogen (in any direction) and must be the same radial distance, r, from the oxygen atom.
If you draw this graphically, you will see that the possible positions for the 2nd hydrogen atom is described by a circle. How can I determine the range of possible values for placement of this hydrogen atom relative to the oxygen atom without rotating the axes of the coordinate system each time? (I need to keep the oxygen's center at 0,0,0, and I need to keep the axes oriented the same way no matter where the hydrogen atoms lie.)
Thank you kindly,