Solve a system of second order PDE

Click For Summary

Discussion Overview

The discussion revolves around solving a system of second-order partial differential equations (PDEs) involving variables y and q, with constants A, B, C, D, and E. Participants explore various methods for solving these equations, including numerical approaches and transformations, while addressing the complexity of the problem.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant inquires about the possibility of solving the PDE system using Matlab and expresses difficulty with the pdepe function.
  • Another participant suggests splitting the system and finding q from the first differential equation, leading to a second PDE that is linear in form.
  • A method involving a particular solution of the second PDE in the form of an exponential function is proposed, along with an integral representation of the solution.
  • Further discussion introduces the idea of using Fourier transforms to simplify the PDEs, transforming time-domain variables into frequency-domain representations.
  • Concerns are raised about the complexity of the equations, with one participant mentioning a professor's advice to consider finite difference methods for second-order wave equations.
  • Another participant provides a detailed derivation of the equations for F and the general solution for y, emphasizing the form of the solution and the nature of the coefficients involved.
  • A participant shares their experience with implementing a numerical solution in Matlab, encountering issues with the integral returning infinite values and small imaginary components.

Areas of Agreement / Disagreement

Participants express various methods and approaches to tackle the problem, but there is no consensus on a definitive solution or method. The discussion reflects differing opinions on the best approach to take, indicating ongoing uncertainty and exploration.

Contextual Notes

Participants note the complexity of the equations and the challenges in finding explicit solutions. There are references to specific mathematical transformations and numerical methods, but limitations in the current understanding and application of these methods are evident.

Who May Find This Useful

This discussion may be useful for individuals interested in advanced methods for solving partial differential equations, particularly in the context of physics and engineering applications. It may also benefit those exploring numerical methods and transformations in mathematical modeling.

Woppe
Messages
4
Reaction score
0
I need to solve the following system of differential equations:
\frac{\partial^2 y}{\partial t^2} + A\frac{\partial y}{\partial t} - B \frac{\partial^2 y}{\partial z^2} = Cq

<br /> \frac{\partial^2 q}{\partial t^2} + D\frac{\partial q}{\partial t} + q = E\frac{\partial^2 y}{\partial t^2}<br />

A,B,C,D and E are constants.
Is it possible to solve this using Matlab? In that case, how is it done? I have looked into the function pdepe but I could not figure out how to use it in this case.
 
Physics news on Phys.org
Present Computer Algebra Systems are weak enough in automatic PDEs solving. At the same time they provide unprecedented possibilities to carry out exhausting calculations.

What about your problem. First of all you need split your system. Finding q from first DE and substituting it into second DE gives the equivalent PDE system, where the second PDE has only one dependent variable. It’ll be linear fourth order in t and second order in z.

Seek particular solution of the second PDE in the following form

y(t,z) = F(\tau,z)\exp(\tau t)

Substituting it, you obtain the second order DE for F (in fact it is ODE) which is solvable. Then (the general) solution to second PDE looks like

y(t,z) = \int_{- \infty}^\infty F(\tau,z)\exp(\tau t)d \tau

where, of course, F is the solution of above DE.

Substitution of it in the first DE gives the solution for q.
 
I understand how you create the new DE, but then I don't understand how you denote your expression.

Am I supposed to find F and tau? What substitution is required to obtain the second expression?

Thanks in advance.
 
kosovtsov actually performed some kind of Fourier/Laplace transform.

What is suggested is that you will transform the time-domain (t variable) to a frequency domain (w variable) so your function y(t,z) is represented:

y(t,z)=\int^{\infty}_{-\infty}F(w,z)e^{iwt}dw

If you're not quite familiar with Fourier transform, I will suggest you reading into it - but generally it means that your function y is composed of infinite harmonics with different frequency (exp(iwt) ) and different amplitudes which depend on the frequency (F(w)).
The function F(w) (in our case its F(w,z)) is the Fourier transform of y(t,z).

What is comfortable about Fourier transform, is that differentiation in the time domain, becomes multiplication in the frequency domain. So:

(\partial_{t})^{n}y(t,z)=(iw)^{n}F(w,z)
(\partial_{z})y(t,z)=\partial_{z}F(w,z)

So you reduce your PDE to an ODE-like equation (because you can regard w as a parameter, not a variable you differentiate wrt).

So go over your new PDE, and whenever you see y swap it with F, and whenever you see a t-derivative swap it with a powered (iw) and then you will have a simpler equation for F. Of course this doesn't mean you will have an explicit solution to y (it'll be expressed as an integral) but this can be approximated with numerical methods.
 
I have been talking to a professor in numerical calculations at my university, and I was told this equation is difficult to solve. I was recommended to look into second order wave equations, solved by finite differences. I have still not come closer to solving the problem though.

How can I find F in the equations you have written?
 
The equivalent splited system is as follows

<br /> q= (\frac {\partial^2 y}{\partial t^2}+A\frac {\partial y}{\partial t}-B\frac {\partial ^2 y}{\partial z^2})/C<br />

\frac {\partial ^4y}{\partial t^4}= B\frac {\partial ^4y}{\partial t^2 \partial z^2}-A\frac {\partial ^3y}{\partial t^3}-AD\frac {\partial^2y}{\partial t^2}+\frac {\partial ^2y}{\partial z^2}-A\frac {\partial y}{\partial t}-\frac {\partial^3y}{\partial t^3}+CE\frac {\partial^2y}{\partial t^2} -\frac {\partial^2y}{\partial t^2}+B\frac {\partial^2y}{\partial z^2}

Seeking a partial solution in form

y(t,z) = F(\tau,z)\exp(\tau t)

we get the following DE for F(\tau,z)

-B(\tau^2+D\tau+1)\frac {\partial ^2F}{\partial z^2}+\tau(\tau^3-EC\tau+D\tau^2+\tau+A\tau^2+AD\tau+A)F

In fact it is the oscillator equation (the scond order ODE with constant coefficients, as coefficients do not depend on z. Its solution is

F(\tau,z) = F1(\tau)\exp(\sqrt{\frac{\tau(\tau^3-EC\tau+D\tau^2+\tau+A\tau^2+AD\tau+A)}{B(\tau^2+D\tau+1)}}z)+\\ F2(\tau)\exp(-\sqrt{\frac{\tau(\tau^3-EC\tau+D\tau^2+\tau+A\tau^2+AD\tau+A)}{B(\tau^2+D\tau+1)}}z)

So the general solution for y

y(t,z) = \int_{-\infty}^\infty F(\tau,z)\exp(\tau t) d\tau\,,

where F(\tau,z) is in above form and F1(\tau), F2(\tau) are arbitrary functions.
 
Thanks for that!

To calculate the integral, I wrote a program in Matlab.
I assign the constans A, B, C, D, E values between 0.1 and 1.0, and use the following command:
Code:
y = quadgk(@(tau)FsfaTauZ(tau,z).*exp(tau.*t),-Inf,Inf)
Where FsfaTauZ contains the the function F as you wrote it, with F1 and F2 being constants equal to 1.
Just for the sake of simplicity, also t and z are set to 1.
Problem is, the value returned by quadgk approaches infitity and has a small imaginary component as well. That's not reasonable, since the value of y describes the deflection of a line exposed to a wind load.
 

Similar threads

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