Graduate Discretization for a fourth-order PDE (and solution)

Click For Summary
The discussion centers on solving a fourth-order partial differential equation (PDE) governing an L x L plate, with specific boundary conditions. The original poster successfully solved the PDE using substitutions but seeks a direct approach using fourth-order finite differences. The main challenge lies in implementing the second-order boundary condition F" = 0, particularly how to handle ghost points outside the boundary. Suggestions include conducting a Von Neumann stability analysis to address potential algorithm instability, which was later confirmed, and an adjustment to the Gauss-Seidel Successive Over-Relaxation (SOR) method resolved the issue. The conversation highlights the importance of stability in numerical methods for PDEs.
maistral
Messages
235
Reaction score
17
Hi. I have this PDE that governs an L x L plate (similar to the Poisson equation, it seems)

313ppgz.png


with boundary conditions F = 0 and F" = 0 along the edges. I have successfully solved the problem by setting up an equality W = ∇2F then I solved the two PDEs simultaneously:
W = ∇2F (boundary condition F = 0 along the edges)
φ = ∇2W (boundary condition W = 0 along the edges since W = F").

Simple discretization using second order derivatives followed, then poof. Answer.

What I would like to know is how to solve this without using substitutions (I mean, directly attacking the differentials using fourth-order finite differences). What I did is I took the second order derivative of the second-order finite differences with respect to the same variables (for the non-mixed derivative) and the other variable (for the mixed derivative).

My problem is coming from the boundary conditions. The boundary F = 0 is a no-brainer. The problem is how should I implement the second order boundary condition F" = 0. Does anyone have an idea on how to execute this properly?

What I did is that I tried using the second order three-point formula for the second derivative using double the steps then equated it to zero, then applied the resulting formula to the ghost points formed outside the boundary. ie.
(F(x+2Δx,y) - 2F(x,y) + F(x-2Δx,y)) / (2Δx)2 = 0 say, for points beside the right border then I solved for the ghost point F(x+2Δx,y). I applied the same to the points beside the top, bottom, and left borders.

And, this happened:

mts32h.png


:DD:DD:DD:DD

How should I implement the second order condition? I hope for any kind and generous response. Thanks!
 
Physics news on Phys.org
Perhaps the algorithm is unstable. You could try with the Von Neumann stability analysis to see if the problem is in the scheme. However, the instability could be due to the boundary conditions. I think what you did is fine, but the problem is in the algorithm (of course this is under the assumption that you have made no coding mistakes). You should look for a stable algorithm to solve this equation, if that is actually the problem that makes everything blow up.

https://en.wikipedia.org/wiki/Von_Neumann_stability_analysis
 
  • Like
Likes BvU
Yeah, apparently the algorithm is unstable. A simple adjustment to Gauss-Seidel SOR made it work.

Thanks!
 
  • Like
Likes Telemachus

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K