Rigid rod moving in potential field

  • Context: Graduate 
  • Thread starter Thread starter kirzoaktrt
  • Start date Start date
  • Tags Tags
    Field Potential Rod
Click For Summary
SUMMARY

This discussion focuses on simulating a rigid rod of length L moving in a two-dimensional potential field, where friction is negligible. The force acting on the rod is derived from the potential field using the equation -∇P, where P represents potential energy. The simulation involves discretizing time and space, with the rod treated as composed of N parts to calculate total force and torque. Key steps include updating angular velocity, velocity, and the position of the center of mass iteratively.

PREREQUISITES
  • Understanding of potential fields and gradients, specifically -∇P.
  • Familiarity with numerical simulation techniques, including discretization of time and space.
  • Knowledge of rigid body dynamics, including force and torque calculations.
  • Proficiency in programming for simulations, particularly in handling iterative updates.
NEXT STEPS
  • Research numerical methods for simulating rigid body dynamics in two dimensions.
  • Explore the concept of discretizing forces and torques in computational physics.
  • Learn about the integration techniques for updating positions and velocities in simulations.
  • Investigate the implications of treating a rigid body as multiple particles for simulation accuracy.
USEFUL FOR

Researchers, physicists, and software developers interested in computational physics, particularly those focused on simulating rigid body dynamics in potential fields.

kirzoaktrt
Messages
4
Reaction score
0
Hi,

I'd like to write a program that "simulates" a rigid rod of length L moving in a potential field. The problem is in two dimensions. Friction is assumed to be negligible. The potential field and its gradient is known at every point of the two-dimensional domain.

The "mass" of the rod and the magnitude of the potential gradient can be arbitrarily set. The rod has uniform density.

I understand that the force acting upon a particle in a potential field is -∇P, where P is the potential. This is an attraction of the particle towards lower potentials. What is the force acting on the rod?

Since this is a computer simulation, time and space are discretized. The simulation would proceed in discrete timesteps Δt. How do I compute the position of the rod in each timestep? How would you generally approach this problem?

Your help is greatly appreciated.
 
Physics news on Phys.org
How does the rod couple to the field?

For example, in an electric potential field, the units are V = J/C, i.e. energy per unit charge. What is the equivalent "charge" of the rod?
 
The force is -∇P at every point in the two-dimensional domain, while

P=qψ.

In this context, P is the potential energy, which is known and ψ is the potential. q would be a constant, which could be the mass, charge or whatever. I can set it to be anything, but it is a real constant. I set Δt and q such that the problem can be handled numerically, but they don't have any significance besides this.

Answering your question, it does not matter whether you treat this as a gravity or electric problem. Units are unimportant.
 
All you need is to figure the total force and total torque acting on the rod. These would be given by integrals, but in your computer program they will be calculated as sums. Break down the rod into N parts and for each part calculate the force as if it was a particle. calculate the torque using the center of mass as pivot. Add all the forces to find the total force and add all the torques to find the total torque. Use those to figure out the acceleration and angular acceleration of the rod. use those to update one time step to find what's the updated values for angular velocity and velocity. Use those to update the position of the center of mass and orientation (angle) of the rod. Rinse and repeat.
 
Thanks!

Two questions.

1, Without losing generality, can the rod be treated as two particles connected by a massless rod?
2, I assume that it does not matter whether I rotate or translate the rod first at each iteration, yes?
 
Answers:

1, No
2, Yes

Many thanks for the replies.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
11K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K