Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
asking a question

Subject: asking a question

From: danny kristiadi

Date: 6 May, 2013 09:23:08

Message: 1 of 4

how do i solve a differential equation which consist of 3 variables? what is the best possible operator i could use?

the equation is:

1/r * d(partial)/dr*(r*dT/dr)+d^2T/dx^2= 1/a *dT/dt

initial conditions are:
T(x,r,t)
T(0,0,0)=30 C
T(0,0,t)=400 C

as you see, all three of them are in one equation, and I need the profile of temperature(T) to radius (r), length (x), and time (t)

Subject: asking a question

From: Nasser M. Abbasi

Date: 6 May, 2013 11:54:37

Message: 2 of 4

On 5/6/2013 4:23 AM, danny kristiadi wrote:
> how do i solve a differential equation which consist of 3 variables? what is the best possible operator i could use?
>
> the equation is:
>
> 1/r * d(partial)/dr*(r*dT/dr)+d^2T/dx^2= 1/a *dT/dt
>
> initial conditions are:
> T(x,r,t)
> T(0,0,0)=30 C
> T(0,0,t)=400 C
>
> as you see, all three of them are in one equation, and I need the profile of temperature(T) to radius (r), length (x), and time (t)
>


I can't read your pde.

But MW sells a pde toolbox, may be you can try it

http://www.mathworks.com/products/pde/

did you try an anlytical solution? (separation of variables?)

--Nasser

Subject: asking a question

From: Bill Greene

Date: 6 May, 2013 17:06:08

Message: 3 of 4


>
> the equation is:
>
> 1/r * d(partial)/dr*(r*dT/dr)+d^2T/dx^2= 1/a *dT/dt
>
> initial conditions are:
> T(x,r,t)
> T(0,0,0)=30 C
> T(0,0,t)=400 C
>
> as you see, all three of them are in one equation, and I need the profile of temperature(T) to radius (r), length (x), and time (t)

The previous suggestion was to try PDE Toolbox.
If I understand your equation correctly, I believe PDE Toolbox may be able to solve
this.

Take a look at this example:
http://www.mathworks.com/help/pde/examples/heat-distribution-in-radioactive-rod.html

Bill

Subject: asking a question

From: danny kristiadi

Date: 13 May, 2013 11:10:08

Message: 4 of 4

"Nasser M. Abbasi" wrote in message <km85lq$7ci$1@speranza.aioe.org>...
> On 5/6/2013 4:23 AM, danny kristiadi wrote:
> > how do i solve a differential equation which consist of 3 variables? what is the best possible operator i could use?
> >
> > the equation is:
> >
> > 1/r * d(partial)/dr*(r*dT/dr)+d^2T/dx^2= 1/a *dT/dt
> >
> > initial conditions are:
> > T(x,r,t)
> > T(0,0,0)=30 C
> > T(0,0,t)=400 C
> >
> > as you see, all three of them are in one equation, and I need the profile of temperature(T) to radius (r), length (x), and time (t)
> >
>
>
> I can't read your pde.
>
> But MW sells a pde toolbox, may be you can try it
>
> http://www.mathworks.com/products/pde/
>
> did you try an anlytical solution? (separation of variables?)
>
> --Nasser
Thank you very much for the help.

Tags for this Thread

No tags are associated with this thread.

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.

Contact us