Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6801 > unrolled thread

Laplace equation with gradient boundary conditions

Started byTom Wolander <ultimni@hotmail.com>
First post2011-11-29 12:05 +0000
Last post2011-12-02 12:24 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Laplace equation with gradient boundary conditions Tom Wolander <ultimni@hotmail.com> - 2011-11-29 12:05 +0000
    Re: Laplace equation with gradient boundary conditions "Nasser M. Abbasi" <nma@12000.org> - 2011-12-02 12:24 +0000

#6801 — Laplace equation with gradient boundary conditions

FromTom Wolander <ultimni@hotmail.com>
Date2011-11-29 12:05 +0000
SubjectLaplace equation with gradient boundary conditions
Message-ID<jb2hqr$5ca$1@smc.vnet.net>
I have bought Mathematica 8 a week ago and this is my first post on
this board.
My main purpose for the purchase was to work on PDEs, specifically on
the heat equation.
As one of the first tests I wanted to solve a steady state temperaure
distribution on a rectangular domain with a radiative boundary
condition on one face (flux=0 on the other 3). I made sure to have
continuity in corners.
This is a rather easy exercice of a radiating wall - I have solved
many of similar and more complex problems "by hand" many years ago.
Unfortunately I failed with NDSolve in Mathematica and the tutorials
are of no help despite some 4 hours I spent in there.
I found only one rather esotherical hint somewhere deep in one "Issue"
section on a command which seemed to say that NDSolve could work only
with Cauchy boundary conditions.
If this were true, then use of Mathematica 8 would be excluded for
virtually any work in thermics where the boundary conditions are
always of the (non Cauchy) convection/radiation type.
In other words the elementary steady state problem (Laplace equation)
with flux conditions on boundaries can't be solved?

It might be that this issue has been already discussed but I couldn't
find a relevant thread by using search.

Could somebody help me by answering whether Laplace equation with
Robin like BC can't really be solved?
And if it can be done, what have I missed to make NDSolve work?

[toc] | [next] | [standalone]


#6890

From"Nasser M. Abbasi" <nma@12000.org>
Date2011-12-02 12:24 +0000
Message-ID<jbag2m$1ug$1@smc.vnet.net>
In reply to#6801
On 11/29/2011 6:05 AM, Tom Wolander wrote:

>
> Could somebody help me by answering whether Laplace equation with
> Robin like BC can't really be solved?

Robin is when the same boundary has both Neumann boundary conditions and
Dirichlet on it.

I have a mathematica CDF which solves the Poisson/Laplace on
rectangle, non-uniform grid, with mixed boundary conditions.

In mixed BC, one boundary can have Neumann and the other boundary
can have Dirichlet.

It is still beta, and can have bugs, but here it is if you like
to try it (#25 in the list)

http://12000.org/my_notes/mma_demos/KERNEL/KERNEL.htm

I update it on regular basis.

I implemented it myself, using finite difference. I can
add Robin, not too hard to do, but I do not think Robin is used
much. At least in school, we never had a HW problem using it,
and it would make the GUI where one defines the BC' more
complex, and I am running out of real estate on the demonstration
interace (too many things to fit on too little space :)

--Nasser

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web