PDE solution??

  • Follow


I have to solve an equation in the form:

d^2(V)/dt^2 = A d^2(V)/dx^2 + B d(V)/dt

x= space
t= time
A,B= constants

How can I get it with matlab?

thanks
0
Reply mail.plutus (24) 11/28/2006 2:39:39 PM

pdetool doesn't work?
0
Reply matt 12/4/2006 10:01:07 PM


matt wrote:
>
>
> pdetool doesn't work?
  
Hi,

pdetool does not take into account de d/dt term...
0
Reply mail.plutus (24) 12/5/2006 2:27:43 PM

steve wrote:
>
>
> matt wrote:
>>
>>
>> pdetool doesn't work?
>
> Hi,
>
> pdetool does not take into account de d/dt term...
  

If A and B are constants, than you can solve this PDE in closed form.
Otherwise, why not just use finite differences?

HTH,

Greg
0
Reply gregvwDEL (117) 12/5/2006 4:01:50 PM

Anything available for finite differences using matlab?

Greg von Winckel wrote:
>
>
> steve wrote:
>>
>>
>> matt wrote:
>>>
>>>
>>> pdetool doesn't work?
>>
>> Hi,
>>
>> pdetool does not take into account de d/dt term...
>
>
> If A and B are constants, than you can solve this PDE in closed
> form.
> Otherwise, why not just use finite differences?
>
> HTH,
>
> Greg
0
Reply mail.plutus (24) 12/5/2006 5:15:06 PM

The easiest thing would be to discretize in x using centered
differences and then time-step the resulting system of ODEs using
ode45.

What are your boundary conditions for x? I presume you have initial
data for V(x,0) and Vt(x,0)?
0
Reply gregvwDEL (117) 12/5/2006 5:40:39 PM

5 Replies
16 Views

(page loaded in 0.048 seconds)


Reply: