MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Boundary Conditions in PDE

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74330] Re: Boundary Conditions in PDE
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Mon, 19 Mar 2007 01:57:16 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <etik9a$j4q$1@smc.vnet.net>

bar at ANTYSPAM.ap.krakow.pl wrote:
> I have a problem with defining boundaru conditions id NDSolve 
> of PDE
> F is function of [x,t] 
> Conditions has form : (d/dx)F[0,t]==0;
> 
> I wrote this in form : D[F[0,t],x]==0 
> Its TRUE  (0==0)
> 
> Then i wrote D[F[x,t],x]
> out: F(1,0)[x,t] ;    {(1,0) looks like "power"}
> 
> And "copy"&"paste", and changed x to 0 in arguments
> 
> This way works, but I'm sure is a better way ? 
> 
> Regards, Olaf
>  
> 

Write your boundaries conditions as in In[3]:

In[1]:=
D[F[x,t],x]

Out[1]=
  (1,0)
F     [x, t]

In[2]:=
%//FullForm

Out[2]//FullForm=
Derivative[1, 0][F][x, t]

In[3]:=
Derivative[1,0][F][0,t] == 0

Out[3]=
  (1,0)
F     [0, t] == 0

Regards,
Jean-Marc


  • Prev by Date: Re: Plot3D Default ColorFunction
  • Next by Date: Re: Boundary Conditions in PDE
  • Previous by thread: Picking Arguments : Thank You All.
  • Next by thread: Re: Boundary Conditions in PDE