Calculate Position in 3D Space with Force and Impulse

In summary, the conversation discusses the process of calculating a body's x and y position at a specific z value in 3D space when applying a particular force and impulse. It is recommended to use numerical integration, specifically the trapezoidal method, to calculate velocities and positions at small time steps. An iterative corrector method is also suggested for more accurate results. Overall, the conversation provides helpful tips and a predictor-corrector algorithm for this task.
  • #1
Dona123
7
0
Hi,

I want to calculate a body x and y position at a particular z value in 3D space when applying particular force and impulse.

Appreciates all the help!

Tnx
Dona
 
Physics news on Phys.org
  • #2
My objective is to draw the curvature path of the body in 3D space when applying a particular force and impulse!

Thanks
 
  • #3
Assuming you can calculate accelerations, you'll need to do some form of numerical integration to calculate velocities and positions in small steps of time.

For each time step, you calculate

new_velocity = old_velocity + time_step x average_acceleration

One way to do this is to use trapezoidal method

average_accleration = 1/2 (acceleration0 + acceleration1)

where acceleration0 is the acceleration at the start of a time step and acceleration1 is the acceleration at the end of a time step. This requires you be able to calculate acceleration1 directly or to be able to predict it via an iterative method (see below)

You can then calculate position once you calculate the new velocity, using the same method:

new_position = old_position + time_step x 1/2 x (old_velocity + new_velocity)

An iterative corrector method will improve the results. In the algorithm shown below, an, vn, and pn, are successive "guesses" that should converge quickly. F(...) calculates the acceleration based on pn(t), and Δt is the elapsed time per step. You may want to do 6 to 8 interations instead of the 4 shown in this example. The first step is essentially Euler (since a1(t) is set = F(p0(t)) (= a(t-1)), the remaining steps are trapezoidal. Even though each step of this algorithm will converge to a specific set of values, the algorithm is based on trapezoidal rule, a linear approximation, so you need to use small time steps (Δt).

v0(t) = v(t-1)
p0(t) = p(t-1)

a1(t) = F(p0(t)) (= a(t-1))
v1(t) = v(t-1) + 1/2 (a(t-1) + a1(t)) Δt
p1(t) = p(t-1) + 1/2 (v(t-1) + v1(t)) Δt

a2 = F(p1(t))
v2(t) = v(t-1) + 1/2 (a(t-1) + a2(t)) Δt
p2(t) = p(t-1) + 1/2 (v(t-1) + v2(t)) Δt

a3 = F(p2(t))
v3(t) = v(t-1) + 1/2 (a(t-1) + a3(t)) Δt
p3(t) = p(t-1) + 1/2 (v(t-1) + v3(t)) Δt

a4 = F(p3(t))
v4(t) = v(t-1) + 1/2 (a(t-1) + a4(t)) Δt
p4(t) = p(t-1) + 1/2 (v(t-1) + v4(t)) Δt

...

v(t) = vn(t)
p(t) = pn(t)
a(t) = F(pn(t))

time += Δt
t += 1

This is a predictor-corrector type algorithm:

http://en.wikipedia.org/wiki/Predictor-corrector_method#Euler_trapezoidal_example
 

1. What is a position in 3D space?

In physics, a position in 3D space refers to the location of an object in a three-dimensional coordinate system. It is described by three coordinates: x, y, and z, which represent the distance along the three axes of the coordinate system.

2. What is force in physics?

In physics, force is defined as any influence that causes an object to undergo a change in motion. It is measured in Newtons (N) and can be represented by a vector, with magnitude and direction.

3. How do you calculate position in 3D space with force and impulse?

To calculate the position of an object in 3D space using force and impulse, you will need to use Newton's second law of motion, which states that force is equal to the mass of an object multiplied by its acceleration. By knowing the mass of the object and the force acting on it, you can calculate its acceleration. Then, using the formula for displacement, you can determine the object's new position in 3D space.

4. What is impulse in physics?

In physics, impulse is defined as the change in an object's momentum caused by a force. It is measured in Newton-seconds (Ns) and is equal to the force applied to an object multiplied by the time it is applied. Impulse is a vector quantity and its direction is the same as the direction of the force.

5. What are some real-world applications of calculating position in 3D space with force and impulse?

This calculation is commonly used in physics and engineering to predict the motion of objects, such as the trajectory of a projectile or the movement of a spacecraft. It is also used in sports, such as calculating the motion of a basketball or football after being kicked or thrown. Additionally, it is used in video game and animation development to create realistic movement and physics simulations.

Similar threads

Replies
3
Views
1K
Replies
1
Views
774
Replies
2
Views
748
Replies
2
Views
761
  • Mechanics
Replies
5
Views
1K
  • Classical Physics
2
Replies
61
Views
1K
Replies
4
Views
650
Replies
3
Views
1K
Back
Top