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

Can't solve linear equation involving temperatures with Maxima plug-in - Сообщения

#1 Опубликовано: 30.01.2022 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 КиБ) скачан 24 раз(а).
#2 Опубликовано: 30.01.2022 11:07:18
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 Опубликовано: 30.01.2022 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 КиБ) скачан 32 раз(а).
#4 Опубликовано: 30.01.2022 12:32:04
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 КиБ) скачан 32 раз(а).



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 КиБ) скачан 36 раз(а).

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

Best regards.
Alvaro.
1 пользователям понравился этот пост
EngMath 30.01.2022 13:49:00
#5 Опубликовано: 30.01.2022 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 Опубликовано: 30.01.2022 18:09:40
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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?
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
sergio 31.01.2022 06:27:00
#7 Опубликовано: 30.01.2022 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).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений