Draghilev method revisited

Draghilev method revisited - Messages

#41 Posted: 11/8/2018 5:37:16 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

The parameterization by Draghilev method.The starting point is taken near the bifurcation point (0,0).



Just a very little modifications: using norme(J) and the SMath ability for handling undefined parameters.

Clipboard02.gif
ContourTifoleum.sm (16 KiB) downloaded 78 time(s).

Best regards.
Alvaro.
2 users liked this post
frapuano 11/9/2018 8:20:00 AM, Fridel Selitsky 11/9/2018 6:23:00 AM
#42 Posted: 11/9/2018 5:29:40 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Thank you, Alvaro. The norme function simplifies the code and reduces the calculation time.
Example of using norme when solving ODE

LorenzPointsAreEquidistantc.sm (6 KiB) downloaded 83 time(s).
2 users liked this post
frapuano 11/9/2018 8:20:00 AM, Alvaro Diaz Falconi 11/9/2018 12:19:00 PM
#43 Posted: 11/9/2018 1:08:46 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Ber. I don't remember to read nothing in the literature about equally spaced points in the numerical solution of the ode, except for the opposite: adaptive steps, but referring for the time variable, not the X,Y,Z solution points. About how you apparently get the same distance between solution points, i.e. sqrt(X^2+Y^2+Z^2), I guess that the background theory must to be in the Draghilev method and how the solution (X,Y,Z) is obtained from the differential equation. You have a very interesting point for investigate and publish about it.

I try to investigate the relationship between the symbolic ode solution and the paramatrization, but the symbolic solutions are quite complicated, and I don't have simple examples.

Apparently the distance between the points is 1 (guess can be easily proved because you divide by the norme the system), and this seems to provide more stable numerical solutions for the system (can be applied here Lyapunov's theorems?)

Clipboard08.gif

Unfortunately in this example I introduce the factor 1/1000 for avoid numerical over max limit error for the case without norme.

Best regards.
Alvaro.
#44 Posted: 11/10/2018 11:39:23 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

The parameterization by Draghilev method.The starting point is taken near the bifurcation point (0,0).


Thanks Ber7, gorgeous
For this particular Trifolium, once created it is easy to collect
as many as desired to any scale corresponding to Draghilev 'a'
The great tool here, is the bidirectional fmesh(f(x),x0,x1,mesh)

Cheers ... Jean

2D Parametric Plot [Create Trifolium].sm (31 KiB) downloaded 83 time(s).
#45 Posted: 11/11/2018 2:48:41 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Thank you Jean, I suggest a small change in the animation.
TrifoliumAnim.sm (24 KiB) downloaded 73 time(s).
#46 Posted: 11/11/2018 11:48:44 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I suggest a small change in the animation.


Thanks Ber7 ... even more compacted.
Trifolium:=stack(b1,b2,b3,b4) from inversing f4(x) <= f3(x).

0Anim Trifolium [Windmill Ber7].sm (25 KiB) downloaded 70 time(s).

EolNew.gif

#47 Posted: 11/24/2018 4:03:02 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Graph of implicit function with bifurcation point (Problem on
the calculation of the arch)

https://en.smath.info/forum/yaf_postst7262_Solution-of-nonlinear-equations-by-Draghilev-method-in-Engineering.aspx

The graph consists of three curves that occur at the bifurcation point.
1. Find the coordinates of the bifurcation point
2.The starting point for each of the three graphs is taken near the bifurcation point
3. Build graphics by Draghilev method

Point Bifurcation.sm (38 KiB) downloaded 75 time(s).
1 users liked this post
sergio 11/24/2018 4:39:00 PM
#48 Posted: 11/25/2018 10:29:54 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

The graph consists of three curves that occur at the bifurcation point.
1. Find the coordinates of the bifurcation point
2.The starting point for each of the three graphs is taken near the bifurcation point
3. Build graphics by Draghilev method



Thanks Ber7.
This version works fine compared to the previous "arca" that never stopped pedaling .
By same token, I'm puzzled by the Lagrange points. Where those contours come from ?

LagrangePoints.PNG
#49 Posted: 11/26/2018 4:56:38 AM
frapuano

frapuano

13 likes in 115 posts.

Group: User

Joan

from Wikipedia it is stated that they are involved in Astronomy and that for 2 large bodies there are 5 of these points so I guess that your pictures/worksheet refers on how to calculate them all(their positions).

https://en.wikipedia.org/wiki/Lagrangian_point

Best regards

Franco
#50 Posted: 11/28/2018 10:30:11 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Thank you, Alvaro. The norme function simplifies the code and reduces the calculation time.
Example of using norme when solving ODE



dn_GearsBDF is nearly ½ time. I think its Lorentz

LorentzAlvaro.PNG
#51 Posted: 1/5/2019 10:22:29 AM
алексей

алексей

17 likes in 78 posts.

Group: User

Maple, Draghilev's method. The inverse problem of kinematics. For those who want to try hard and to do better in SMath.
#52 Posted: 1/5/2019 12:10:14 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

hose who want to try hard and to do better in SMath.


Thanks for the suggestion. My head is not oblate like Extraterrestrials !
#53 Posted: 1/6/2019 5:18:45 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Wrote

. I don't remember to read nothing in the literature about equally spaced points in the numerical solution of the ode, except for the opposite: adaptive steps, but referring for the time variable, not the X,Y,Z solution points. About how you apparently get the same distance between solution points, i.e. sqrt(X^2+Y^2+Z^2), I guess that the background theory must to be in the Draghilev method and how the solution (X,Y,Z) is obtained from the differential equation. You have a very interesting point for investigate and publish about it.
Apparently the distance between the points is 1 (guess can be easily proved because you divide by the norme the system), and this seems to provide more stable numerical solutions for the system (can be applied here Lyapunov's theorems?)

Best regards.
Alvaro.


An article about the effectiveness of the solution of the system diff. equations for parameterization integral curve through arc length
Russiy.pdf (607 KiB) downloaded 89 time(s).

2 users liked this post
Alvaro Diaz Falconi 1/7/2019 12:07:00 AM, frapuano 1/6/2019 9:21:00 AM
#54 Posted: 1/8/2019 6:02:47 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

Wrote

. I don't remember ...


An article about the effectiveness of the solution of the system diff. equations for parameterization integral curve through arc length
Russiy.pdf (607 KiB) downloaded 89 time(s).



Thanks for the paper. Now you found the keywords for this point, which seems to be "Arc Length Method". This give only 79 results at google search:
Clipboard04.gif

Results are related with mechanical engineering for finite elements analysis. From the first result, having this attached file: https://scholar.harvard.edu/files/vasios/files/ArcLength.pdf
Clipboard02.gif

Clipboard03.gif

But actually I don't find any appointment nor observation that solution points are equally spaced. Notice that It could be some "obvious" point for, given f(t,x,x' ) = 0, plot for x(t) it's equally spaced if one transform it to f(s,x,x' ) with s as the arc length. But it's immediate for me that the plot for the state space (x,x' ) seems to be equally spaced too, as in some smath examples here in this topic.

Also, for the observation that can apply Lyapunov theorems about stability of solutions, there are some references in the 79 google's search results. The application here of Lyapunov is related about the stability of the found solutions, because authors using the parametrization along the arc length for ill conditioned systems.

Wrote

. Apparently the distance between the points is 1 (guess can be easily proved because you divide by the norme the system), and this seems to provide more stable numerical solutions for the system (can be applied here Lyapunov's theorems?)



Best regards.
Alvaro.
2 users liked this post
frapuano 1/8/2019 6:23:00 PM, Fridel Selitsky 1/9/2019 2:27:00 AM
#55 Posted: 2/26/2019 2:32:50 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Finding Minimum Distanceof a Point from Curve
(with Draghilev method)



MinDistDragilev.sm (23 KiB) downloaded 75 time(s).
4 users liked this post
Davide Carpi 3/25/2019 8:39:00 AM, Andrey Ivashov 2/26/2019 4:12:00 PM, sergio 2/26/2019 4:47:00 PM, Alvaro Diaz Falconi 2/26/2019 5:37:00 PM
#56 Posted: 2/26/2019 3:07:47 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Finding Minimum Distance of a Point from Curve


Thanks Ber7 ... works fine.

#57 Posted: 3/13/2019 2:47:37 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Distance from point to implicit curve(with al_nleqsolve)
A thick red line is the normal to the curve at point a.


FindDist.pdf (243 KiB) downloaded 69 time(s).
FindDist.sm (72 KiB) downloaded 81 time(s).
4 users liked this post
frapuano 3/13/2019 5:49:00 PM, NDTM Amarasekera 3/13/2019 3:38:00 PM, Andrey Ivashov 3/13/2019 5:23:00 PM, Davide Carpi 3/25/2019 8:39:00 AM
#58 Posted: 3/24/2019 1:53:07 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Refined the algorithm and added examples
DistMod.sm (51 KiB) downloaded 77 time(s).

DistMod (4).png
3 users liked this post
frapuano 3/24/2019 2:30:00 PM, sergio 3/24/2019 2:05:00 PM, Davide Carpi 3/25/2019 8:39:00 AM
#59 Posted: 3/24/2019 6:18:49 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Refined the algorithm and added examples


Thanks Ber7,
looks interesting but couldn't doctor SS 6179.
#60 Posted: 3/25/2019 8:19:26 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

How the algorithm works.
Each time you press F9, we set the new position of point A

Animat.sm (21 KiB) downloaded 70 time(s).
2 users liked this post
NDTM Amarasekera 3/25/2019 12:22:00 PM, Davide Carpi 3/25/2019 8:39:00 AM
  • New Posts New Posts
  • No New Posts No New Posts