mhmounty
- 10
- 0
I've been trying to work through the heat equation given in this Sous Vide cooking primer:
http://amath.colorado.edu/~baldwind/sous-vide.html
It gives a modified version of the heat equation with a shape parameter for simplification. The equations are shown below:
[PLAIN]http://amath.colorado.edu/~baldwind/heatEq3.png
When I try to put this into Mathematica, one of the initial conditions gives me the value "True". I can't figure it out for the life of me. My Mathematica input is here:
pde = {D[u[r, t],
t] == \[Alpha] (D[u[r, t], r, r] + \[Beta] D[u[r, t], r]/r),
u[r, 0] == Temp0, D[u[0, t], r] == 0,
D[u[R, t], r] == (h/k) (TempW - u[R, t])}
And this is what it spits out:
{Derivative[0, 1][r, t] ==
9.95*^-8*(Derivative[1, 0][r, t]/r +
Derivative[2, 0][r, t]), u[r, 0] == 25, True,
0 == 1250.*(60 - u[R, t])}
I've got some dummy variables in there for the alpha, beta, h, k, ... constants. I'm just not sure why this gives me "True". I know I'm completely missing something simple here. But it's been a while since I've tried to solve anything like this without finite elements.
http://amath.colorado.edu/~baldwind/sous-vide.html
It gives a modified version of the heat equation with a shape parameter for simplification. The equations are shown below:
[PLAIN]http://amath.colorado.edu/~baldwind/heatEq3.png
When I try to put this into Mathematica, one of the initial conditions gives me the value "True". I can't figure it out for the life of me. My Mathematica input is here:
pde = {D[u[r, t],
t] == \[Alpha] (D[u[r, t], r, r] + \[Beta] D[u[r, t], r]/r),
u[r, 0] == Temp0, D[u[0, t], r] == 0,
D[u[R, t], r] == (h/k) (TempW - u[R, t])}
And this is what it spits out:
{Derivative[0, 1][r, t] ==
9.95*^-8*(Derivative[1, 0][r, t]/r +
Derivative[2, 0][r, t]), u[r, 0] == 25, True,
0 == 1250.*(60 - u[R, t])}
I've got some dummy variables in there for the alpha, beta, h, k, ... constants. I'm just not sure why this gives me "True". I know I'm completely missing something simple here. But it's been a while since I've tried to solve anything like this without finite elements.
Last edited by a moderator: