Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages12>
Options
Go to last post Go to first unread
Offline OchkovVF  
#1 Posted : 13 April 2024 20:19:39(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Catenary-G-fixed (1).gif

I finally took a ride along this road with my granddaughter. On the way, I was not thinking about the beauty of Moscow, but about how to solve this problem at SMath.

Lujniki.gif

Mathcad 15
Catenary-G-fixed.xmcd (59kb) downloaded 10 time(s).

Edited by user 13 April 2024 20:36:10(UTC)  | Reason: Not specified

thanks 1 user thanked OchkovVF for this useful post.
on 25/04/2024(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline OchkovVF  
#2 Posted : 14 April 2024 20:13:09(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Mathcad Prime 9
Catenary-G-fixed.pdf (790kb) downloaded 23 time(s).
Offline overlord  
#3 Posted : 15 April 2024 09:56:22(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
I could make it to Minimize() but that is a problem exceeds me.
If anyone can solve it as in mathcad, later parts can be implemented too.
Some can solve Minimum of a single variable function with derivation of it.
I don't know how to do it with more than 1 variables as in your example.

Regards

catenary_G.sm (44kb) downloaded 12 time(s).
thanks 1 user thanked overlord for this useful post.
on 16/04/2024(UTC)
Offline mkraska  
#4 Posted : 16 April 2024 12:01:25(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
This solution is not really animated but has a slider to change the position of the suspended load.
The solution is unreliable at the endpoints. The procedure is Newton-Raphson with approximated gradient.
Each new iteration uses the result of the previous one as initial guess. This is done using absolute variables. Just follow the instructions to properly initialize the procedure.

2024-04-15 22_11_13-SMath Solver - [Seilbahn5a.sm_].png
Seilbahn5a.sm (61kb) downloaded 11 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 16/04/2024(UTC)
Offline OchkovVF  
#5 Posted : 16 April 2024 18:16:47(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
The solution is unreliable at the endpoints.
Sorry - not only
Martin-Bug.png

Offline mkraska  
#6 Posted : 17 April 2024 12:05:12(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Yes, that is dependent on how fast you move the slider, small steps usually produce good solutions. Note that the procedure just performs a single Newton iteration. To improve the solution, press F9 (recalculate). I forgot to mention this. Yet, this still does not always work.

Edited by user 17 April 2024 12:12:18(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline ioan92  
#7 Posted : 19 April 2024 00:38:51(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 41
France, Metropolitan

Was thanked: 153 time(s) in 119 post(s)
Hi Valery, Hi Everybody,

I think that it could be possible to deal with the problem as a structural equilibrium one, using a FEM technique. The drawing and the animation are details after having the right results.

It seems that the rope is considered as inextensible; an approximation not always accepted.
The proposed dimensions let us think more to a sort of toy than to a technical object as that from the photo.

However, this does not represent a too high difficulty for looking for a solution. In fact, for each X given abscissa value, there is to obtain the Y ordinate value for the nacelle position. In each (X;Y) nacelle position, the force’s equilibrium must be assured. This is the way to determine the Y for each given X. The traction rope must assure the missing force to fix the nacelle in a position. Without knowing the traction rope data, the problem is not enough defined (?).
Another variable could be the length of one of the two segments of the cable...

If I understand, the proposed problem includes some input features and data as:
• A unique nacelle rolling with a pulley on the carrying rope (???) : G=10 g.
• A carrying rope : dX = 10cm; dY = 7cm; L = 15cm; gc = 5g/cm; Gc = 15cm x 5g/cm = 75g.
• A traction rope: undefined as geometry and its end support positions. (???) Its behavior is unclear for me …

An equillibrium possibility:
2024-04-18 17_12_38-Poulie Valery.pptx - PowerPoint.png

Best regards,
Ioan

Edited by user 19 April 2024 05:19:41(UTC)  | Reason: Not specified

thanks 1 user thanked ioan92 for this useful post.
on 19/04/2024(UTC)
Offline mkraska  
#8 Posted : 20 April 2024 01:13:06(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
In the given system there is no traction rope. There is a single rope which runs in an endless loop. There are several ways to parametrize the system. You can use the cable length on either side of the nacelle, or as I did, the fraction of the total length.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline ioan92  
#9 Posted : 20 April 2024 07:14:35(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 41
France, Metropolitan

Was thanked: 153 time(s) in 119 post(s)
Thank you, Martin, for your information.

I asked if the animation introduced by Valery concerns a real technical problem like in his photo or is a simple mathematical abstract discussion.

Perchance, I’m familiar enough with cable’s analysis focusing on the engineering use. Next, I’ll point some basics, as I understand them now. I’m grateful for any eventual critics or suggestions.

From the practical viewpoint, there are two main families of cable transportation application:
* Using one alone cable with the cabins sealed on it:

bursa-teleferik-hatti-koronaviruse-karsi-dezenfekte-edildi.jpg
Telecabines.jpg (2,715kb) downloaded 1 time(s).

* Using a couple of:
i. a carrying cable, on which the cabin(s) are rolling with pulleys and
ii. another traction cable for controlling the movements of cabin(s).

1024px-Teleadm1.jpg
Telecabines.jpg (2,715kb) downloaded 1 time(s).

From geometrical viewpoint, an inextensible catenary (cosh(x)) cable is a plan figure, enough defined by three geometrical data (e.g.: the two projections H and V and the developed length of the cable L).
From mechanical viewpoint it is necessary to know also the load (constant on the whole length of the cable) w.

These data are enough to establish its full geometry and also the 4 (3 distinct – the two horizontal reactions are equal) values of reactions on its length using one equation.

The problem in discussion here can be reduced to a couple of two elementary cables, linked to the point where the G force from the cabin is applied. For each position of the cabin fixed on the cable, there can be identified two elementary cables.

A solution to obtain the two coordinates of the cabin is (as Martin mentioned) to use as input variable the length of one of the two elementary cables and to deduct from the two equilibrium projections, the two coordinates of the cabin (X and Y). These can be used to draw (animate) the cabin’s position.
A parametric formulation is useful.

Once these hypotheses are accepted, the rest is nothing than some mathematical developments. I do not reproduce all the mathematics development here because I’m in a publishing progress with the subject of catenary and parabolic cable as well extensible as not extensible.

Best Regards,
Ioan

Edited by user 20 April 2024 20:54:00(UTC)  | Reason: Not specified

thanks 1 user thanked ioan92 for this useful post.
on 20/04/2024(UTC)
Offline OchkovVF  
#10 Posted : 20 April 2024 21:37:23(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
My students solve this problem at the intersection of mathematics, mechanics and computer science (STEM education - see
https://www.routledge.co...kov/p/book/9781032174624).
We take an inextensible cable of length L and with a known specific gravity (the mass of one meter of cable). We attach a load of known mass to this cable at a distance l from one end of the cable. Next, the cable with the load is attached at two points. It is necessary to determine the geometry of the cable sag and the force at the attachment points. Then you need to change the value of l from zero to L and create an animation.
I can do this in Mathcad, but I cannot do it in SMath. I turned to you for help.

thanks 1 user thanked OchkovVF for this useful post.
on 22/04/2024(UTC)
Offline ioan92  
#11 Posted : 20 April 2024 22:21:36(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 41
France, Metropolitan

Was thanked: 153 time(s) in 119 post(s)
Originally Posted by: OchkovVF Go to Quoted Post
My students solve this problem at the intersection of mathematics, mechanics and computer science (STEM education - see
https://www.routledge.co...kov/p/book/9781032174624).
We take an inextensible cable of length L and with a known specific gravity (the mass of one meter of cable). We attach a load of known mass to this cable at a distance l from one end of the cable. Next, the cable with the load is attached at two points. It is necessary to determine the geometry of the cable sag and the force at the attachment points. Then you need to change the value of l from zero to L and create an animation.
I can do this in Mathcad, but I cannot do it in SMath. I turned to you for help.



OK – Now, you clearly defined the problem that you and your students had solved.

My question is: do you intend to associate your solution to a really technical situation, or it is only an abstract construction "game"?
,
From my understanding – if you fix the cable at its two ends, it is not clear how do generate, physically, the mass movement?
As I mention in my post #9, for such a case, there are introduced a pulley and a second cable for traction. If you solve the technical side of the problem in a different mode, how do assure the forces equilibrium?

In respect with your post #1 animation, what is not clear for me is: if red and blue continue the line is the problem’s unique cable, what is the physical meaning of the second (pointed) line?

Edited by user 20 April 2024 23:41:05(UTC)  | Reason: Not specified

Offline OchkovVF  
#12 Posted : 20 April 2024 22:33:14(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
The dotted lines are a phantom continuation of the catenary.
If G=0 we have one line.

Offline ioan92  
#13 Posted : 20 April 2024 22:48:57(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 41
France, Metropolitan

Was thanked: 153 time(s) in 119 post(s)
Originally Posted by: OchkovVF Go to Quoted Post
The dotted lines are a phantom continuation of the catenary.
If G=0 we have one line.



If the cable is fixed on its two ends, "the phantom" must be a cosh curve passing through this 2 same points ??? !!!
Offline StvMath  
#14 Posted : 21 April 2024 06:41:21(UTC)
StvMath


Rank: Advanced Member

Groups: Registered
Joined: 26/07/2022(UTC)
Posts: 35
United Kingdom
Location: UK

Was thanked: 22 time(s) in 19 post(s)
Here is my force-balance approach to this problem.

I divide the cable weight into a number of nodes equally distributed along the cable, then add the cable car weight to one of the nodes (the one nearest to the distance that it was added in the original catenary file here, though this can be changed as desired). The nodes are then assumed to be connected by weightless, inextensible links.
It took me some time to get the syntax right! I’ve no doubt an SMath expert could significantly improve the implementation.

CableCar.sm (45kb) downloaded 5 time(s).
thanks 2 users thanked StvMath for this useful post.
on 21/04/2024(UTC),  on 21/04/2024(UTC)
Offline ioan92  
#15 Posted : 21 April 2024 07:38:23(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 41
France, Metropolitan

Was thanked: 153 time(s) in 119 post(s)
Hi StvMath,

I enjoy your solution, based on the discretization of the continuum.
As always with such an approach, the results are enough dependent on the input data values and decisions.

I played a little with your tool by introducing (“provoking it”) some limit situations, namely:
• a small or a null cable weight;
• a small or a null “cable car weight”.

Please try such cases and tell us your evaluations. Normally, in this way, some analytical results could be checked (?).

Once again, thanks for your interesting work,

Best regards,
Ioan

Edited by user 21 April 2024 07:59:40(UTC)  | Reason: Not specified

Offline OchkovVF  
#16 Posted : 21 April 2024 07:43:12(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Originally Posted by: StvMath Go to Quoted Post
Here is my force-balance approach to this problem.

I divide the cable weight into a number of nodes equally distributed along the cable, then add the cable car weight to one of the nodes (the one nearest to the distance that it was added in the original catenary file here, though this can be changed as desired). The nodes are then assumed to be connected by weightless, inextensible links.
It took me some time to get the syntax right! I’ve no doubt an SMath expert could significantly improve the implementation.

CableCar.sm (45kb) downloaded 5 time(s).


See please Figures in my article
http://twt.mpei.ac.ru/ochkov/Chain.pdf
thanks 1 user thanked OchkovVF for this useful post.
on 21/04/2024(UTC)
Offline OchkovVF  
#17 Posted : 21 April 2024 08:09:35(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
The dotted lines are a phantom continuation of the catenary.
If G=0 we have one line.
G-0-1000.png
thanks 1 user thanked OchkovVF for this useful post.
on 21/04/2024(UTC)
Offline OchkovVF  
#18 Posted : 21 April 2024 08:17:25(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
See please Figures in this article too
http://twt.mpei.ac.ru/ochkov/catenary.pdf
G-Photo.png

Edited by user 21 April 2024 08:20:31(UTC)  | Reason: Not specified

thanks 1 user thanked OchkovVF for this useful post.
on 21/04/2024(UTC)
Offline StvMath  
#19 Posted : 21 April 2024 09:59:45(UTC)
StvMath


Rank: Advanced Member

Groups: Registered
Joined: 26/07/2022(UTC)
Posts: 35
United Kingdom
Location: UK

Was thanked: 22 time(s) in 19 post(s)
Originally Posted by: ioan92 Go to Quoted Post
Hi StvMath,

I enjoy your solution, based on the discretization of the continuum.
As always with such an approach, the results are enough dependent on the input data values and decisions.

I played a little with your tool by introducing (“provoking it”) some limit situations, namely:
• a small or a null cable weight;
• a small or a null “cable car weight”.

Please try such cases and tell us your evaluations. Normally, in this way, some analytical results could be checked (?).

Once again, thanks for your interesting work,

Best regards,
Ioan



Hi Ioan,

Thanks for your comments.

I agree with you that the results are data dependent etc.
The discretisation I used was quite coarse, so I wouldn’t expect good agreement with analytical results in your limiting situations. Of course, a much finer discretisation could, in principle, be used. However, the current model is relatively slow (about 5 seconds on my laptop), and I don’t have the patience to wait for the results of a much finer discretisation!
The current model works ok when the cable car weight (G) is set to zero, but the Jacobian crashes if the specific weight (gc) is much below 0.5.

Of course, if SMath had its own Minimize (or Maximize) function we could just have copied Val Ochkov’s original Mathcad approach and saved ourselves the trouble of looking for an alternative method!!
thanks 1 user thanked StvMath for this useful post.
on 21/04/2024(UTC)
Offline overlord  
#20 Posted : 21 April 2024 15:05:30(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: StvMath Go to Quoted Post
Of course, if SMath had its own Minimize (or Maximize) function

There is lbfgs function for Maxima, it can calculate Minimize.
If it could be implemented to SMath, Minimize problem can be solved.

Regards

Code:
(%i1) load("lbfgs");
(%o1)           /usr/share/maxima/5.47.0/share/lbfgs/lbfgs.mac
(%i2) f(x,y):=(x-y)/((x^2+5)*(y^2+5))+(x^2+y^2)/20000;
                                                    2    2
                                     x - y         x  + y
(%o2)               f(x, y) := ----------------- + -------
                                 2        2         20000
                               (x  + 5) (y  + 5)
(%i3) lbfgs(f(x,y),[x,y],[1,1],1e-10,[-1,0]);
(%o3)          [x = - 1.2860935388262762, y = 1.286093516249451]
Users browsing this topic
Guest
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.