Thermal Physics - Rod in Cylinder

Thermal Physics - Rod in Cylinder - Solve thermal problem - Messages

#1 Posted: 1/30/2018 3:40:39 PM
Norm Schutzkus

Norm Schutzkus

9 likes in 90 posts.

Group: User

I have another MC sheet I'm working on in SMATH. I am not certain how to solve for/ replace the "Find" solver in MC. Attached is my worksheet and the pdf of the Prime MC sheet.

I welcome any help to solve this.

Thank you,

File not found.File not found.
#2 Posted: 1/30/2018 9:02:26 PM
CBG

CBG

77 likes in 312 posts.

Group: User

This can be one of the solutions.
The "T" in the formula can be easily isolated.


Temp.png

Thermal Physics - Rod in Cylinder_R1.sm (13 KiB) downloaded 54 time(s).


Best Regards

Carlos
#3 Posted: 1/31/2018 1:46:31 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

This can be one of the solutions.
The "T" in the formula can be easily isolated.



Well done Carlos,

I think it can be plotted directly on the canvas
Will try tomorrow [tonight, I'm dead... not completely !]

Jean
#4 Posted: 1/31/2018 2:43:54 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I think it can be plotted directly on the canvas
Will try tomorrow



roots(,,) solve on the canvas.
Next matter is the unit system to be adapted,
unfortunately incompetent on that !

RodSolveRoots.PNG




#5 Posted: 1/31/2018 5:24:21 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Not nearly as nice as your Mathcad sheet...

Uses the symbolic solver in Maxima. You have to select one of the four solutions, I guess the
real positive one is correct.

Thermal%20Physics%20-%20Rod%20in%20Cylinder_Kr.sm (39 KiB) downloaded 56 time(s).

2018-01-30 22_02_41-SMath Studio 0.98.6598 - [Thermal%20Physics%20-%20Rod%20in%20Cylinder.sm_].png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
frapuano 1/31/2018 6:03:00 AM, Radovan Omorjan 1/31/2018 8:24:00 AM
#6 Posted: 1/31/2018 10:54:01 AM
Norm Schutzkus

Norm Schutzkus

9 likes in 90 posts.

Group: User

Thank you, all, for your help. I'll look closer at the solutions presented; learning more about SMATH.

Martin, I get a message opening your sheet looking for "Maxima.bat". Is this in a plugin that I need to download? Your sheet presents the following message: "Initializing error. Please reinitialize under settigs."

Norm
#7 Posted: 1/31/2018 11:34:41 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Please follow the link in my signature, there you find instructions how to install Maxima (a free CAS system) and how to tell SMath where to find it.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#8 Posted: 1/31/2018 12:46:11 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Try this in stricly Smath ... done 6179.

Very interesting, but missing the physical drawing !!!

Solve Maple Thermal Physics.sm (33 KiB) downloaded 46 time(s).
#9 Posted: 1/31/2018 1:25:11 PM
CBG

CBG

77 likes in 312 posts.

Group: User

One of the solutions with graphics.

Tem_Graf.png


Thermal Physics - Rod in Cylinder_R2.sm (15 KiB) downloaded 47 time(s).


Best Regards


Carlos
#10 Posted: 1/31/2018 2:18:07 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. In the attached, just numerical methods, and how to parametrize the solver, like Mathcad find solve blocks.

Best regards.

Alvaro.

Thermal Physics - Rod in Cylinder.sm (17 KiB) downloaded 55 time(s).
1 users liked this post
Fridel Selitsky 1/31/2018 3:11:00 PM
#11 Posted: 1/31/2018 3:18:10 PM
Norm Schutzkus

Norm Schutzkus

9 likes in 90 posts.

Group: User

Carlos, Jean, Martin and Alvaro, many thanks! Your support is superb!

There's a lot here for me to digest.

Norm
#12 Posted: 1/31/2018 7:40:41 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Carlos, Jean, Martin and Alvaro, many thanks! Your support is superb!

There's a lot here for me to digest.

Norm



Norm,

observe closely your function ... it has rational format.
It suggests that a rational model would fit the data set.
Isn't true looking at the fit from a 4 terms rational.
The red and green traces from Carlos would be as easy, not done.

Please, don't forget the physical drawing.
You could do the very same in Mathcad.

Jean

Maths Thermal Physics - Rod in Cylinder_R2.sm (66 KiB) downloaded 56 time(s).

#13 Posted: 1/31/2018 9:26:44 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Yet another one without using for-loops and using both [Built-in Plot] and [X-Y Plot Plugin].
God I really don't like to look at those for-loops, thanks to Andrey I will avoid them as much as I can. (Smath Studio 0.98.6604)

Thermal Physics - Rod in Cylinder_R3.sm (20 KiB) downloaded 58 time(s).
#14 Posted: 2/1/2018 12:46:42 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

God I really don't like to look at those for-loops, thanks to Andrey I will avoid them as much as I can.


Not backward compatible ... maybe a bug ?
I welcomed that feature as it was announced. And reattached Mandelbroth,
no answer from Designers ... maybe not so gorgeous as you pretend.

#15 Posted: 2/1/2018 1:18:17 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

As I say before, this is a general numeric setup.
Best regards.
Alvaro.Thermal Physics - Rod in Cylinder.sm (24 KiB) downloaded 53 time(s).
#16 Posted: 2/1/2018 2:36:46 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

As I say before, this is a general numeric setup.



Alvaro,

Your original [previous] is a gorgeous piece of work.
Just needed be doctored a bit. It might be compacted.

Jean

Maths Thermal Physics - Rod in Cylinder_R2 [Alvaro].sm (20 KiB) downloaded 52 time(s).
#17 Posted: 2/1/2018 3:41:35 AM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Wrote

Wrote

God I really don't like to look at those for-loops, thanks to Andrey I will avoid them as much as I can.


Not backward compatible ... maybe a bug ?
I welcomed that feature as it was announced. And reattached Mandelbroth,
no answer from Designers ... maybe not so gorgeous as you pretend.



It shouldn't work before 6580, using range like this is introduced with this verison as far as I remember. This is why I have written the Smath version I used. Anyway, below you can see how it looks. Still I think it looks better then for-loops.

Regards
Thermal Physics - Rod in Cylinder_R3.png
#18 Posted: 2/1/2018 4:21:55 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Jean.

The point about MAXITERS is to figure after the root function body, not before in such way that you can change it like TOL in Mathcad.

Also notice that in your worksheet you don't call the function Bisection defined there, but the function Bisection from the Nonlinear solvers plugin.

Best regards.

Alvaro.
#19 Posted: 2/1/2018 4:41:33 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

Sooner or later, this way or another - one will end up by using some nonlinear solvers.

radiation.GIF

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#20 Posted: 2/1/2018 11:32:21 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

It shouldn't work before 6580, using range like this is introduced with this verison as far as I remember. This is why I have written the Smath version I used. Anyway, below you can see how it looks. Still I think it looks better then for-loops.



I love for-loops !

1. with units => "Matrix must be square"
2. w/o units => "Can not calculate"


Matrixmustbesquare.PNG
  • New Posts New Posts
  • No New Posts No New Posts