MoI discussion forum
MoI discussion forum

Full Version: Brachistochrone Problem

From: yakas
22 Sep 2018   [#1]

Im building a public skatepark and want to design one of the ramps with a Brachistochrone curve as its profile. How can I create one of these in MOI3d?

Thanks


From: Frenchy Pilou (PILOU)
22 Sep 2018   [#2]
As a bernoulli_brachistochrone seems an inverted cycloïd







And seems there is yet a Cycloïd somewhere... http://moi3d.com/forum/index.php?webtag=MOI&msg=6149.1

formula for Bemfarmer
https://mathsbyagirl.wordpress.com/2016/07/27/brachistochrone-curve-problem/

some geometric curves by Bemfarmer http://moiscript.weebly.com/geacuteomeacutetries-par-bemfarmer.html

from http://www.nanotechinnov.com/architecture-03-brachistochrone-et-chainette



From: Frenchy Pilou (PILOU)
22 Sep 2018   [#3]
With any calculus you can load the image above inside Moi
redraw a curve over (then rotate)
and use Transform / Orient / Line-Line / Uniform (copy)

Am I right ?


From: Michael Gibson
22 Sep 2018   [#4] In reply to [#1]
Hi yakas, some great tips from Pilou above, and also if you want to make a curve by a math formula you might try Max's FxGraph plug-in from here: http://moi3d.com/forum/index.php?webtag=MOI&msg=6447.1

http://moi.maxsm.net/files/

There are instructions for how to install a plug-in here:
http://moi3d.com/faq#Q:_How_do_I_install_a_plug-in_script.3F

- Michael
From: bemfarmer
22 Sep 2018   [#5] In reply to [#1]
Hi yakas,

Based upon reading numerous papers, which include lots of calculus, the problem needs to be defined. What are the coordinates of the start point A,
and the end point B? Can we assume zero friction?
Without friction, the Brachistochrone curve is a cycloid. (There are more complex equations in the case of friction.)
The problem is determining what radius of cycloid fits the start point A, and the end point B, if they are not level. This requires a "solver" program.

This link shows a cycloid, and simple solution by Gary Brookfield, for the case that A and B are level, and separated by horizontal length L:
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.509.2999&rep=rep1&type=pdf
R is the radius of a cycloid, and theta the angle of rotation of the disk.
The parametric equations, for level, or nonlevel A and B, are:
x = R * (theta - sin(theta))
y = (-1) * R * (1 - cos(theta)) {The negative 1 is applied so that the y axis increases with height.}

For level A and B, R = L / (2*PI)
Travel time on the cycloid is equal to the SquareRoot(2*PI*L / g)
g = 9.8 meters per second per second, which is earth gravity.

This particular cycloid can be plotted in MoI relatively easily, e.g. with FXGraph, or a simple script.

If your design starts with A and B at different levels, a mathematical solver will be needed in order to solve for the correct values of R and theta for the cycloid...
I do not currently know how to program a solver. There are math software programs which do solving...

- Brian (past bedtime)
From: Frenchy Pilou (PILOU)
22 Sep 2018   [#6]
:)

From: Frenchy Pilou (PILOU)
22 Sep 2018   [#7]
I am not sure that site exits in English ?
Skate is shown! ;)
but ..." but apparently, there was no cycloidal ramp construction".

http://www.mathcurve.com/courbes2d/brachistochrone/brachistochrone.shtml
From: bemfarmer
22 Sep 2018   [#8] In reply to [#7]
Thank you Pilou.
Your link translates well to English, with Chrome translate.
It has the friction equations as well.

Some scripting may be attempted this weekend, as well as searching for "Solver" code...

- Brian

English link to same site:
http://mathcurve.com/courbes2d.gb/brachistochrone/brachistochrone.shtml
From: Frenchy Pilou (PILOU)
22 Sep 2018   [#9] In reply to [#8]
Cool!

I just find how have the English Page of the Mathcurves.com !
One more time the Symdrom of Edgard Allan Poe of he Purloined Letter has made a victim ! :)

And what about my silly conjecture of the Orient / Line - Line use ?
From: Frenchy Pilou (PILOU)
22 Sep 2018   [#10] In reply to [#8]



From: yakas
23 Sep 2018   [#11]
Thanks for all the replies.

I originally came across this VSauce episode which inspired my interest in building a skateable version.
https://www.youtube.com/watch?v=skvnj67YGmw

@Bemfarmer here are the rules guiding the curve(shown in red but not accurate).
Basically point A needs to be tangent to ground plane and the height of point B needs to be 5 feet or so but cannot go beyond vertical(ideally 70-80 degrees).


Image Attachments:
Brachistochrones.JPG 


From: yakas
23 Sep 2018   [#12] In reply to [#7]
Great link about the skate ramp Pilou, and all your other links.
From: Frenchy Pilou (PILOU)
23 Sep 2018   [#13] In reply to [#12]
Maybe you know him, it was a SktechUp Master! ;) Jeff Hammond
Now I believe that he uses Rhino or Moi ;)





By Jeff Hammond




From: Frenchy Pilou (PILOU)
23 Sep 2018   [#14] In reply to [#11]
2 curves are in tangency as soon as 4 control points following are aligned!


From: bemfarmer
23 Sep 2018   [#15] In reply to [#11]
Hi Yakas,

The existing CycloidInterp script will work, with aRadius = bRadius = 2.5 feet+, mirrored upside down, using half of one cycle.

At a radius of 2.5 feet, the height difference is 5 feet, and the upper tangent is 90 degrees.
At a radius of 3 feet, the height difference is 6 feet, and with one vertical foot removed from the top of the cycloid,
the tangent is about 65.9052 degrees from the horizontal, as measured with Michael's Angle script.

Some more options may be added to the script...

- Brian

(No calculus needed. It has already been proven that without friction, the brachistochrone is a cycloid)
(The CycloidInterp script uses the Trochoid formula. When aRadius = bRadius, the trochoid is a common cycloid)
From: yakas
23 Sep 2018   [#16] In reply to [#15]
Great!

Thanks so much.