Thread Subject: Basic PDE Boundary condition

Subject: Basic PDE Boundary condition

From: Sang

Date: 20 Nov, 2009 22:34:20

Message: 1 of 2

Hi~~

I could not find any source for my question.
Left boundary condition is du/dx=0
Right boundary condition is du/dx=-1.5

function [pl,ql,pr,qr] = pdex1bc (xl,ul,xr,ur,t);
pl = 0;
ql = 1;
pr =?
qr = ?

What do I have to write to each term of pr and qr?

Thank you in adavance.

Subject: Basic PDE Boundary condition

From: Torsten Hennig

Date: 21 Nov, 2009 11:39:57

Message: 2 of 2

> Hi~~
>
> I could not find any source for my question.
> Left boundary condition is du/dx=0
> Right boundary condition is du/dx=-1.5
>
> function [pl,ql,pr,qr] = pdex1bc (xl,ul,xr,ur,t);
> pl = 0;
> ql = 1;
> pr =?
> qr = ?
>
> What do I have to write to each term of pr and qr?
>
> Thank you in adavance.

It depends on how you defined f the pde-definition.
If f = DuDx, then you have to set
pl = 0, ql = 1, pr = 1.5 , qr = 1.

Best wishes
Torsten.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
pde bc Sang 20 Nov, 2009 17:39:23
rssFeed for this Thread

Contact us at files@mathworks.com