Vectors with different coordinate systems

Click For Summary
SUMMARY

This discussion focuses on transforming vector coordinates between two different coordinate systems in the context of simulating a freely jointed chain polymer. The user describes the mathematical representation of vectors V1 and V2, where V1's z-axis aligns with V2's direction. The transformation involves using Euler transformations and projecting the components of V2 onto the axes of V1, resulting in specific equations for x, y, and z coordinates. The user has derived these equations but seeks confirmation on their accuracy.

PREREQUISITES
  • Understanding of vector mathematics and coordinate systems
  • Familiarity with Euler transformations
  • Knowledge of trigonometric functions and their applications in 3D space
  • Basic principles of polymer physics and chain simulations
NEXT STEPS
  • Research "Euler transformations in 3D coordinate systems"
  • Study "Vector projection techniques in physics"
  • Explore "Simulating polymer chains using computational methods"
  • Learn about "Coordinate transformations in computer graphics"
USEFUL FOR

Researchers and developers in computational physics, particularly those working on simulations of polymer chains, as well as students studying vector mathematics and coordinate transformations.

Hoeni
Messages
5
Reaction score
0
Hi,
I am trying to simulate a freely jointed chain polymer to do that I want to put several rods (length a) on top of each other but with different angles. My problem is like this
I have a vector(1) and at the end of this vector(1) I put another vector(2), the z-axis of this vector(2)'s coordinate system is the direction of vector(1), but how do express the coordinates of the tip of this vector(2) in the coordinate system of vector(1)
t=theta f= phi a= radius
V1:
x = a sin t cos f
y = a sin t sin f
z = a cos t

and in another coordinate system
V2:
x2 = a sin t2 cos f2
y2 = a sin t2 sin f2
z2 = a cos t2

The direction of V1 is the z-axis in the coordinate system of V2
Given the fact that all the angles are known, how do I express the location of V2 in the coordinate system of V1?
Probably something with Euler transformations but i haven''t been able to figure it out.
Thanks in advance for any help.
Hoeni
 
Physics news on Phys.org
You say "another coordinate system" but how are the two coordinate system related? You will need to know that before you can say anything about how descriptions of vectors in the two coordinate systems are related.
 
As I said: "The direction of V1 is the z-axis in the coordinate system of V2"
This was kind of the whole point of the question considering what I said about the freely jointed chain.

But I think I might have solved it, I used x2,y2,z2 ( derived from t2, a, and f2) and with some geometry I projected all these components on the three axes in the coordinate system of v1. My result:
x = x2 cos f + y2 cos t cos f + z2 sin t cos f
y = x2 sin f + y2 cos t sin f + z2 sin t cos f
z = 0 + y2 sin t + z2 cos t

But I need to check if I did al the calculations right.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 41 ·
2
Replies
41
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K