Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello-
I am trying to use pdesolve to solve the unsteady heat conduction equation for a 1D plate that has heat generation and a convective boundary condition. I have the following sheet, but it keeps saying "variable is undefined". I have never used pdesolve before, but I think I am doing it right. Any suggestions would be appreciated.
Thanks
-Jon
Solved! Go to Solution.
Yes, you are doing right. One of the BCs creates the problem. I think you missed (probably a copy/paste error) to specify what is the difference in temperature at the end of the plate.
You used: Tair - T(z,t), but it should be Tair - T(zhalf,t). The solution obtained looks like in the picture. Please find the sheet attached.
Is this the solution you are looking for?
Yes, you are doing right. One of the BCs creates the problem. I think you missed (probably a copy/paste error) to specify what is the difference in temperature at the end of the plate.
You used: Tair - T(z,t), but it should be Tair - T(zhalf,t). The solution obtained looks like in the picture. Please find the sheet attached.
Is this the solution you are looking for?
awesome! Thank you!