Doubts on the boundary conditions of PDE

In summary, the problem is singular and as epsilon decreases the boundary condition for the first order differential term will no longer be satisfied.
  • #1
jollage
63
0
Hi all,

Say I am solving a PDE as [itex]\frac{\partial y^2}{\partial^2 x}+\frac{\partial y}{\partial x}=f[/itex], with the boundary condition [itex]y(\pm L)=A[/itex]. I can understand for the second order differential term, there two boundary conditions are well suited. But what about the first order differential term? Imposing at the same time these two boundary condition will be redundant for that term, isn't it?
I came across this when I use spectral method to solve the PDE with Dirichlet BC ([itex]y(\pm 1)=0[/itex]) at the two ends. When constructing the matrix for the D^2 term, I get rid of the first and last row and columns. It's easy and it makes sense. But when I tried to construct the D term, what should I do then?

Thanks a lot.

Jo
 
Physics news on Phys.org
  • #2
jollage said:
Say I am solving a PDE as [itex]\frac{\partial y^2}{\partial^2 x}+\frac{\partial y}{\partial x}=f[/itex], with the boundary condition [itex]y(\pm L)=A[/itex].
Hi Jollage !
I suppose that A is a constant and f is a known function.
Note : it should be [itex]\frac{\partial ^2 y}{\partial x^2}[/itex]
I am surprised that you introduces partial derivative symbols because there is only one variable in the equation. If your wording is correct, it is not a PDE, but an ODE.
This linear ODE can be analytically solved (attachment)
 

Attachments

  • ODE.JPG
    ODE.JPG
    15.8 KB · Views: 544
  • #3
JJacquelin said:
Hi Jollage !
I suppose that A is a constant and f is a known function.
Note : it should be [itex]\frac{\partial ^2 y}{\partial x^2}[/itex]
I am surprised that you introduces partial derivative symbols because there is only one variable in the equation. If your wording is correct, it is not a PDE, but an ODE.
This linear ODE can be analytically solved (attachment)

Sorry, I should write that correctly. I am thinking Navier-Stokes equation when I wrote these equation.. The example I showed is not what I want to solve, I want to discuss the boundary condition for the D term. Do you have a clue? Thanks.

Jo
 
  • #4
jollage said:
The example I showed is not what I want to solve, I want to discuss the boundary condition for the D term.
Then, show what you want to solve.
And what "D term" means?
One cannot discuss about boundary conditions without knowing to what they are related.
 
  • #5
JJacquelin said:
Then, show what you want to solve.
And what "D term" means?
One cannot discuss about boundary conditions without knowing to what they are related.

Hi JJacquelin,

I'm from numerics, so please forgive me if I sound not professional... By D term I mean the first order differential term.

Let me rephrase the question. Let's say we have an ODE [itex]\frac{dy}{dx}=f[/itex], here we impose only one boundary condition. More than one b.c. would be redundant. But if we have now an ODE like [itex]\epsilon\frac{d^2y}{dx^2}+\frac{dy}{dx}=f[/itex], with [itex]\epsilon[/itex] very small. But anyway, mathematically, I should impose two boundary conditions, like Dirichlet b.c., at the two ends.

My question is in the case of very small epsilon, what happens w.r.t. the boundary condition? Asymptotically, if epsilon is very small, we can neglect the first term, then what about the b.c.? How should b.c. change?

Thank you.
 
  • #6
jollage said:
Hi JJacquelin,

I'm from numerics, so please forgive me if I sound not professional... By D term I mean the first order differential term.

Let me rephrase the question. Let's say we have an ODE [itex]\frac{dy}{dx}=f[/itex], here we impose only one boundary condition. More than one b.c. would be redundant. But if we have now an ODE like [itex]\epsilon\frac{d^2y}{dx^2}+\frac{dy}{dx}=f[/itex], with [itex]\epsilon[/itex] very small. But anyway, mathematically, I should impose two boundary conditions, like Dirichlet b.c., at the two ends.

My question is in the case of very small epsilon, what happens w.r.t. the boundary condition? Asymptotically, if epsilon is very small, we can neglect the first term, then what about the b.c.? How should b.c. change?

Thank you.

Your problem is singular: if [itex]\epsilon = 0[/itex] you can only satisfy one boundary condition, and unless you are lucky you will not be able to satisfy both. For [itex]0 < |\epsilon| \ll 1[/itex] what you get is a boundary layer, where the solution rapidly adjusts to satisfy the boundary condition (ie, [itex]y''[/itex] is large so that [itex]\epsilon y''[/itex] is of the same order of magnitude as the other terms in the equation).

An example of this type of problem is given in this Wikipedia page.
 
  • #7
jollage said:
Hi JJacquelin,

I'm from numerics, so please forgive me if I sound not professional... By D term I mean the first order differential term.

Let me rephrase the question. Let's say we have an ODE [itex]\frac{dy}{dx}=f[/itex], here we impose only one boundary condition. More than one b.c. would be redundant. But if we have now an ODE like [itex]\epsilon\frac{d^2y}{dx^2}+\frac{dy}{dx}=f[/itex], with [itex]\epsilon[/itex] very small. But anyway, mathematically, I should impose two boundary conditions, like Dirichlet b.c., at the two ends.

My question is in the case of very small epsilon, what happens w.r.t. the boundary condition? Asymptotically, if epsilon is very small, we can neglect the first term, then what about the b.c.? How should b.c. change?

Thank you.

Hi !
The concrete example below intends to explain what happens. The example is chosen so that the ODE can be analytically solved and so that the solution be as simple as possible. This is shown on the attached page.
When epsilon tends to 0, the solution of the second order ODE tends to the solution of the first order ODE on the range where one boundary is located. The second boundary condition (which is not compatible to the solution of the first order ODE) introduces a discontinuity, i.e., at the limit for epsilon=0 the solution of the second order ODE is no longer a simple function but a piecewise function.
Nevertheless, you are allowed to give more than one boundary condition in case of a first order ODE, but this will leads to piecewise functions which are compatible with the ODE only on each intervals related to one of the boundary conditions.
Since you are from numerics, you are used to solve the ODEs thanks to numerical methods. Try several examples similar to the example given here. This will help you a lot to intuitively understand this kind of behaviour.
 

Attachments

  • Example.JPG
    Example.JPG
    26.2 KB · Views: 524

1. What are boundary conditions in a PDE?

Boundary conditions in a PDE refer to the conditions that must be satisfied at the boundaries of the domain in which the PDE is being solved. These conditions are necessary to uniquely determine the solution to the PDE.

2. Why are boundary conditions important in solving PDEs?

Boundary conditions are important because they provide constraints on the solution of the PDE. Without boundary conditions, the solution may not be unique, which can lead to incorrect or unsatisfactory results.

3. What are the types of boundary conditions in PDEs?

There are several types of boundary conditions in PDEs, including Dirichlet boundary conditions, Neumann boundary conditions, and Robin boundary conditions. These conditions specify the values of the solution or its derivatives at the boundaries of the domain.

4. How do boundary conditions affect the behavior of a PDE solution?

Boundary conditions can significantly affect the behavior of a PDE solution. They can determine whether the solution is unique, smooth, or discontinuous, and can also affect the stability and convergence of numerical methods used to solve the PDE.

5. Can boundary conditions be changed or modified during the solution of a PDE?

In general, boundary conditions should not be changed or modified during the solution of a PDE. Doing so can lead to inconsistent or incorrect solutions. However, in some cases, it may be necessary to modify the boundary conditions to accurately represent the problem being solved.

Similar threads

Replies
4
Views
1K
  • Differential Equations
Replies
22
Views
2K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
1
Views
1K
Replies
2
Views
1K
  • Differential Equations
Replies
13
Views
2K
Replies
6
Views
2K
  • Differential Equations
Replies
11
Views
1K
Back
Top