Solving Backward Euler with Newton's Method

Click For Summary
SUMMARY

This discussion focuses on implementing the backward Euler implicit method for solving a simple planar pendulum using Newton's method. The key equations involved are the angular acceleration defined as angularAcceleration(angle) = (-gravity/length) * sin(angle) and the update function u_(t+1) = u_t + deltaTime * velocity_(t+1). The primary question raised is about identifying the function f in Newton's method, specifically whether it pertains to the residual of the angular acceleration or the update step. Clarification on the notation for u_ and velocity_ is also sought.

PREREQUISITES
  • Understanding of backward Euler implicit method
  • Familiarity with Newton-Raphson iteration
  • Knowledge of differential equations, particularly for pendulum motion
  • Basic concepts of numerical integration techniques
NEXT STEPS
  • Study the implementation of the backward Euler method in numerical simulations
  • Learn about the derivation and application of Newton's method in solving nonlinear equations
  • Explore the dynamics of simple pendulum systems and their numerical solutions
  • Investigate the role of residuals in iterative methods for solving differential equations
USEFUL FOR

Mathematicians, physicists, and engineers involved in numerical analysis, particularly those working on simulations of dynamic systems and differential equations.

jacki
Messages
3
Reaction score
0
Greetings, I am trying to implement backward euler implicit method by Newton-raphson iteration. The differential equation is for a simple planar pendulum. So the function for the pendulum is :

(1) angularAcceleration (angle) = ( -gravity/length ) * sin(angle);

and the update function for implicit integration is:

(2) u_(t+1) = u_t + deltaTime * velocity_(t+1)

velocity_(t+1) = velocity_t + deltaTime * angularAcceleration ( u_(t+1) )

My question is: given that Newton's method is stated as x_(i+1) = x_i - f( x_i) / f ' (x_i) ,
what is the f in Newton's method? Is it the residual of the pendulum function given by (1) or the residual of the update step given by (2)?

Thanks in advance!
 
Physics news on Phys.org
Need to be clear about the notation first.

Is your u_ the approximation for angle ?

Is your velocity_ the approximation for angularVelocity (angle) ?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 17 ·
Replies
17
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K