Can't solve linear equation involving temperatures with Maxima plug-in

Can't solve linear equation involving temperatures with Maxima plug-in - 消息

#1 已发布: 2022/1/30 10:40:45
EngMath

EngMath

0个赞,共51个帖子。

组: User

Hi,

I'm doing some heat transfer calculations and I want to solve a simple equation using Maxima plug-in but the results don't appear and the progress bar is just stuck. Here's the equation that I need to solve:




Do you know what's wrong here ? Is it because of temperature units ?

I also attached the SMath file:

Heat sink.sm (13.11 KiB)已下载 1227 次。
#2 已发布: 2022/1/30 11:07:18
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi. Tthe problem seems to be related to the variable name, more specifically, to the apostrophe in Ts'

img.png

Best regards
Alvaro.
#3 已发布: 2022/1/30 11:40:21
EngMath

EngMath

0个赞,共51个帖子。

组: User

Wrote

Hi. Tthe problem seems to be related to the variable name, more specifically, to the apostrophe in Ts'

img.png

Best regards
Alvaro.



Thanks for the reply. That's what I also suspected but it doesn't solve the equation even if I change it to T_s2 or T_2 for instance.



I attached a new file where T_s' is replaced with T_s2 and I still don't get any result from this equation:

Heat sink.sm (13 KiB)已下载 1281 次。
#4 已发布: 2022/1/30 12:32:04
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote


I attached a new file where T_s' is replaced with T_s2 and I still don't get any result from this equation:

Heat sink.sm (13 KiB)已下载 1281 次。



However the file you attached works fine in my SMath. After Maxima gets stuck in a calculation, you have to close SMath and start the process again to get Maxima working.

Heat sink.pdf (42.58 KiB)已下载 805 次。

As margin comment, remember that for temperature differences it's better to use Delta-K or Delta-C units.

Best regards.
Alvaro.
1位用户喜欢此帖子
EngMath 2022/1/30 13:49:00
#5 已发布: 2022/1/30 13:49:42
EngMath

EngMath

0个赞,共51个帖子。

组: User

Thanks, the calculation was indeed successful when I reopened this SMath file after saving it. I wonder what causes the problem, apparently it's some small bug.
#6 已发布: 2022/1/30 18:09:40
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

After Maxima gets stuck in a calculation, you have to close SMath and start the process again to get Maxima working.

As margin comment, remember that for temperature differences it's better to use Delta-K or Delta-C units.

Best regards.
Alvaro.



I filed the problem in the BTS.

You also can restart Maxima using the command MaximaControl("Restart" )=.. in your worksheet or from the menu Insert> Maxima> Settings> Save and Restart

BTW, there is no Delta-K unit but for all non-absolute temperature units, indeed quantities indicating state have units like °C and changes or differences have units like Delta°C. There is a section on this in the Handbuch. Next to it is a section on angular velocities, a likewise common pitfall in SMath.

BTW, was there a special reason to use LinSolve instead of Solve?
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1位用户喜欢此帖子
sergio 2022/1/31 06:27:00
#7 已发布: 2022/1/30 20:08:13
EngMath

EngMath

0个赞,共51个帖子。

组: User

Wrote

I filed the problem in the BTS.



Thanks for reporting this bug.

Wrote

BTW, was there a special reason to use LinSolve instead of Solve?



No, I use it out of habit. And I suppose that it could be faster for linear equations than Solve (I can be wrong though).
  • 有新帖
  • 无新帖