How do I solve the Laplace equation using Robbin's Boundary Conditions?

  • #1
shreddinglicks
216
6
Homework Statement
Equation

(d^2 u)/(dx^2 )+(d^2 u)/(dy^2 )=0

boundary conditions

u(0,y)=0
u(a,y)=50
u(x,0)=0
u^' (x,b)=-h[u(x,b)-70]
Relevant Equations
(d^2 u)/(dx^2 )+(d^2 u)/(dy^2 )=0
I've tried a few things. I did one method to try to accomplish the removal of the -70 in the derivative boundary condition. It came out as below. When plotting it however it gave a solution that didn't make sense.

1730136669757.png


1730136684280.png
 
Last edited:
Physics news on Phys.org
  • #2
What is the boundary condition at [itex]x = a[/itex]? What do you mean by the notation [itex]u'[/itex], since [itex]u[/itex] is a function of 2 varaibles? Do you mean [itex]\frac{\partial u}{\partial x}[/itex]? Is [itex]h[/itex] a constant?

If that is correct, then I would set [tex]
u(x,y) = \frac{70h}{1 + ah}x + v(x,y)[/tex] where [itex]v[/itex] satisfies [tex]\begin{split}
v(0,y) = 0, \\
\frac{\partial v}{\partial x}(a,y) + hv(a,y) &= 0, \\
v(x,0) &= -\frac{70h}{1 + ah}x, \\
v(x,b) &= 50 - \frac{70h}{1 + ah}x. \end{split}[/tex]
 
  • #3
pasmith said:
What is the boundary condition at [itex]x = a[/itex]? What do you mean by the notation [itex]u'[/itex], since [itex]u[/itex] is a function of 2 varaibles? Do you mean [itex]\frac{\partial u}{\partial x}[/itex]? Is [itex]h[/itex] a constant?

If that is correct, then I would set [tex]
u(x,y) = \frac{70h}{1 + ah}x + v(x,y)[/tex] where [itex]v[/itex] satisfies [tex]\begin{split}
v(0,y) = 0, \\
\frac{\partial v}{\partial x}(a,y) + hv(a,y) &= 0, \\
v(x,0) &= -\frac{70h}{1 + ah}x, \\
v(x,b) &= 50 - \frac{70h}{1 + ah}x. \end{split}[/tex]
Yes, exactly as you said. du/dx and h is a constant.

I realized I made an error.

The conditions are actually

1730136193713.png

I'll fix it also on the original post.

It's what you have but y instead of x.

1730138509262.png

1730137038134.png


The problem is, this gives an answer where for all y when u(0,y)=0 when x should be zero, x does not equal zero.

The funny thing is if I manipulate the equation by multiplying the first term by x/a. I can plot a solution that makes sense.

1730137022111.png
 

Attachments

  • 1730136289863.png
    1730136289863.png
    2.4 KB · Views: 6
  • 1730136397561.png
    1730136397561.png
    4.8 KB · Views: 7
  • 1730136876131.png
    1730136876131.png
    2 KB · Views: 10
Last edited:
  • #4
You're only satisfying the boundary condition at [itex]x = a[/itex]. No wonder you don't get the right value at [itex]x = 0[/itex].

Setting [itex]u(x,y) = \frac{70hy}{1 + bh} + v(x,y)[/itex] gives [tex] \begin{split} v(0,y) &= -\frac{70h}{1 + bh}y \\
v(a,y) &= 50 - \frac{70h}{1 + bh}y \\
v(x,0) &= 0 \\
\left.\frac{\partial v}{\partial y}\right|_{(x,b)} + hv(x,b) &= 0. \end{split}[/tex] This gives you [tex]
u(x,y) = \frac{70h}{1 + bh}y + \sum_{n=1}^\infty X_n(x) \sin k_n y.[/tex] Now [itex]X_n[/itex] is a linear combination of [itex]\cosh k_n x[/itex] and [itex]\sinh k_n x[/itex]. But instead of taking [itex]X_n(0) = 0[/itex], you must take [tex]\sum_{n=1}^\infty X_n(0) \sin k_n y + \frac{70h}{1 + bh}y = 0.[/tex] You can't just ignore the [itex]\cosh k_n x[/itex] solution, you need it to satisfy this condition.
It is, however, more convenient to take advantage of the fact that [tex]\sinh k_n(a- x) \equiv \sinh k_n a \cosh k_n x - \cosh k_n a \sinh k_n x[/tex] is a linear combination of [itex]\cosh k_n x[/itex] and [itex]\sinh k_n x[/itex] and set [tex]
X_n(x) = \frac{A_n \sinh k_n(a-x) + B_n \sinh k_n x}{\sinh k_n a}[/tex] so that [tex]\begin{split}
0 &= u(0,y) = \frac{70h}{1 + bh}y + \sum_{n=1}^\infty A_n \sin k_n y \\
50 &= u(a,y) = \frac{70h}{1 + bh}y + \sum_{n=1}^\infty B_n \sin k_n y \end{split}[/tex]
 

FAQ: How do I solve the Laplace equation using Robbin's Boundary Conditions?

What is the Laplace equation?

The Laplace equation is a second-order partial differential equation given by ∇²φ = 0, where φ is a scalar function and ∇² is the Laplacian operator. It describes the behavior of scalar fields such as electric potential, fluid flow, and temperature in a region where there are no internal sources or sinks.

What are Robin boundary conditions?

Robin boundary conditions are a type of mixed boundary condition that combine Dirichlet and Neumann conditions. They are typically expressed in the form αφ + β(∂φ/∂n) = g on the boundary, where α and β are constants, ∂φ/∂n is the derivative of φ in the direction normal to the boundary, and g is a given function. These conditions allow for a balance between the value of the function and its normal derivative at the boundary.

How do I set up the Laplace equation with Robin boundary conditions?

To set up the Laplace equation with Robin boundary conditions, first define the domain in which you want to solve the equation. Then, specify the Laplace equation ∇²φ = 0 within that domain. Finally, apply the Robin boundary conditions on the boundary of the domain by defining the appropriate constants α and β and the function g that describes the behavior of φ at the boundary.

What methods can I use to solve the Laplace equation with Robin boundary conditions?

Common methods for solving the Laplace equation with Robin boundary conditions include analytical techniques such as separation of variables and Fourier series, as well as numerical methods like finite difference, finite element, or boundary element methods. The choice of method often depends on the complexity of the domain and the boundary conditions.

Are there any software tools available for solving the Laplace equation with Robin boundary conditions?

Yes, there are several software tools available for solving the Laplace equation with Robin boundary conditions, including MATLAB, COMSOL Multiphysics, and Mathematica. These tools provide built-in functions and solvers that can handle various types of boundary conditions, including Robin conditions, making it easier to model and analyze complex problems.

Back
Top