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

Notification

Icon
Error

9 Pages«<789
Options
Go to last post Go to first unread
Offline Razonar  
#161 Posted : 31 October 2024 06:55:41(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,478
Uruguay

Was thanked: 930 time(s) in 590 post(s)
Originally Posted by: grelkin2 Go to Quoted Post
... drawbacks. In linux smath does not work very well. I have all calculations going on the right side of de system. I calculate the coordinates of the tangent point and respectively the rotation speed of the oval. At the tangent point the velocity is zero and a tick icon is observed. ...


Hi grelkin2. I don't have a linux rigth now, and can tell which issue could be that. About the numeric precission, there are two big sorces of numerical errors. First, the arc length, which was "calculated" by eye looking at the graph when the curve closes, given the value of 7.3. This value can be improved numerically by solving an equation that sets the square of the norm between the final and initial points equal to zero. This problem is not difficult to solve.

As comment, this is why I notate in other posts under this topic that one need to divide with the norme of the Dragile system to parametrize about the arc lenght.

The second major source of error is considering the minimum of the entire curve only by taking into account a few points: only 31 for each rotated figure, from which the minimum is selected at each iteration. It could be improved by considering many more points, but it would be very slow and impractical, so it would be necessary to interpolate assuming a smooth curve, but it would require many steps to achieve this.
Finally, rkfixed is used, which is the least accurate of the wide variety of ode solvers available.

Best regards.
Alvaro.
Offline grelkin2  
#162 Posted : 31 October 2024 14:23:21(UTC)
grelkin2


Rank: Advanced Member

Groups: Registered
Joined: 12/12/2020(UTC)
Posts: 43

Was thanked: 5 time(s) in 5 post(s)
Originally Posted by: Razonar Go to Quoted Post
Hi grelkin2. I don't have a linux rigth now, and can tell which issue could be that. About the numeric precission, there are two big sorces of numerical errors. First, the arc length, which was "calculated" by eye looking at the graph when the curve closes, given the value of 7.3. This value can be improved numerically by solving an equation that sets the square of the norm between the final and initial points equal to zero. This problem is not difficult to solve.

As comment, this is why I notate in other posts under this topic that one need to divide with the norme of the Dragile system to parametrize about the arc lenght.

The second major source of error is considering the minimum of the entire curve only by taking into account a few points: only 31 for each rotated figure, from which the minimum is selected at each iteration. It could be improved by considering many more points, but it would be very slow and impractical, so it would be necessary to interpolate assuming a smooth curve, but it would require many steps to achieve this.
Finally, rkfixed is used, which is the least accurate of the wide variety of ode solvers available.

Best regards.
Alvaro.

Arc length is about 7.335. I changed N is your sm file to 121 points for smooth curves. rkfixed is a reliable basic method, the other methods are needed for optimization or experimentation or have specific uses.
Below is a plot of the translational velocity of the oval at which the velocity at the tangent point is zero.
ovl3.png
Offline Razonar  
#163 Posted : 31 October 2024 18:14:17(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,478
Uruguay

Was thanked: 930 time(s) in 590 post(s)
Hi grelkin2

Originally Posted by: grelkin2 Go to Quoted Post
Arc length is about 7.335. ...

This is how Dragilev's method can be used to calculate the arc length of a closed curve numerically. My improvement on Dragilev's method consists in dividing the system of differential equations by its norm to obtain the parameterization of the curves along their arc length. I have not seen this observation anywhere else.

Arc length of a planar closed curve - Dragilev Method.png

Arc length of a planar closed curve - Dragilev Method.sm (30kb) downloaded 2 time(s).

Originally Posted by: grelkin2 Go to Quoted Post
... I changed N is your sm file to 121 points for smooth curves. rkfixed is a reliable basic method, the other methods are needed for optimization or experimentation or have specific uses. ...

If you say ...

Originally Posted by: grelkin2 Go to Quoted Post
Below is a plot of the translational velocity of the oval at which the velocity at the tangent point is zero.

Yes, like my approach with 31 points, except that your zero is more zero than mine, which is only an approximation, but a pretty good one, because to detect it you have to zoom in on the graph. There is no numerical method that can withstand a sufficiently large zoom on its graph. It looks like you use more than 3000 points, something SMath couldn't handle in this case. One question: what's the interpration of the values of the x-axis?

Best regards.
Alvaro.
Offline uni  
#164 Posted : 31 October 2024 18:21:50(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
You can configure the method using a rkfixed variable. rkfixed := "RK1", …, rkfixed := “RK6”.
In Mathcad, it seems to me this method with a variable step. When I figure it out as this is done, I will make an update.

Edited by user 31 October 2024 18:28:53(UTC)  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
Offline grelkin2  
#165 Posted : 01 November 2024 02:39:05(UTC)
grelkin2


Rank: Advanced Member

Groups: Registered
Joined: 12/12/2020(UTC)
Posts: 43

Was thanked: 5 time(s) in 5 post(s)
Originally Posted by: uni Go to Quoted Post
You can configure the method using a rkfixed variable. rkfixed := "RK1", …, rkfixed := “RK6”.
In Mathcad, it seems to me this method with a variable step. When I figure it out as this is done, I will make an update.


Будет замечательно если ты подготовишь модель и рассмотришь зависимость времени вычисления от порядка при заданной точности.

It will be great if you prepare a model and consider the dependence of the calculation time on the order at a given accuracy.
Offline grelkin2  
#166 Posted : 01 November 2024 04:17:28(UTC)
grelkin2


Rank: Advanced Member

Groups: Registered
Joined: 12/12/2020(UTC)
Posts: 43

Was thanked: 5 time(s) in 5 post(s)
Originally Posted by: Razonar Go to Quoted Post


Yes, like my approach with 31 points, except that your zero is more zero than mine, which is only an approximation, but a pretty good one, because to detect it you have to zoom in on the graph. There is no numerical method that can withstand a sufficiently large zoom on its graph. It looks like you use more than 3000 points, something SMath couldn't handle in this case. One question: what's the interpration of the values of the x-axis?

Best regards.
Alvaro.
You could have sufficiently large zoom in octave.
olv2.mov (162kb) downloaded 2 time(s).
Value of the x-axis is the number of points at a given accuracy. I changed the accuracy and, accordingly, the number and combined everything in one animation.
olv3.mov (366kb) downloaded 2 time(s).
Offline Razonar  
#167 Posted : 01 November 2024 11:16:04(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,478
Uruguay

Was thanked: 930 time(s) in 590 post(s)
Originally Posted by: grelkin2 Go to Quoted Post
You could have sufficiently large zoom in octave.
olv2.mov (162kb) downloaded 2 time(s).


If 1000x is enough zoom for you, and make this point zero, it is ok for me too.

zero.png

With and without sliding.

R1.gif

R2.gif

Rolling Curve - Dragilev Method.sm (42kb) downloaded 2 time(s).
Rolling Curve - Dragilev Method.pdf (263kb) downloaded 2 time(s).

Best regards.
Alvaro.

Edited by user 01 November 2024 11:26:43(UTC)  | Reason: Not specified

Offline grelkin2  
#168 Posted : 02 November 2024 05:48:52(UTC)
grelkin2


Rank: Advanced Member

Groups: Registered
Joined: 12/12/2020(UTC)
Posts: 43

Was thanked: 5 time(s) in 5 post(s)
Originally Posted by: Razonar Go to Quoted Post

R1.gif
R2.gif

Best regards.
Alvaro.
[RUS]В этих замечательных анимациях можно наблюдать движение замкнутых кривых трех видов в зависимости от соотношения скорости движения центра и скорости вращения в точке касания. Движение с пробуксовкой, движение без проскальзывания и движение с проскальзыванием получаются при скорости движения центра меньше скорости вращения в точке касания, равно и больше соотвественно. Владея методом Драгилева можно задавать любой закон движения.
Ниже анимация с ускорением скорости движения, при которой можно наблюдать плавный переход между тремя видами движения, описываемых раннее. Также в эту анимацию включил движение без проскальзывания с циклоидоподобными кривыми.[/RUS]
[ENG]In these wonderful animations, you can observe the movement of closed curves of three types, depending on the ratio of the speed of movement of the center and the speed of rotation at the point of contact. Movement with stalling, movement without slippage and movement with slippage are obtained when the speed of movement of the center is less than the speed of rotation at the point of contact, equally and more respectively. Using the Draghilev method, you can set any law of motion.
Below is an animation with an acceleration of the speed of movement, at which you can observe a smooth transition between the three types of movement described earlier. Also included in this animation is a non-slip motion with cycloid-like curves.[/ENG]
olvm.png
olvm.mov (1,246kb) downloaded 0 time(s).
Offline Razonar  
#169 Posted : 03 November 2024 14:16:41(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,478
Uruguay

Was thanked: 930 time(s) in 590 post(s)
Rolling forcing constant speeds.

cc.gif

dd.gif

Rolling Curve on Curve - Dragilev Method.sm (28kb) downloaded 5 time(s).

Rolling Curve on Curve - Dragilev Method.pdf (182kb) downloaded 1 time(s).

Best regards.
Alvaro.

Edited by user 03 November 2024 14:34:28(UTC)  | Reason: Not specified

Offline алексей_алексей  
#170 Posted : 04 November 2024 08:53:33(UTC)
алексей_алексей


Rank: Advanced Member

Groups: Registered
Joined: 30/09/2012(UTC)
Posts: 64
Russian Federation

Was thanked: 13 time(s) in 8 post(s)
Yesterday I asked the author of one publication, which mentioned the use of the Method when constructing graphs in Mathcad, to write and publish a scientific paper in a peer-reviewed journal.

1
1`

2
2`

Edited by user 09 November 2024 08:59:47(UTC)  | Reason: Not specified

Offline grelkin2  
#171 Posted : 25 November 2024 08:24:46(UTC)
grelkin2


Rank: Advanced Member

Groups: Registered
Joined: 12/12/2020(UTC)
Posts: 43

Was thanked: 5 time(s) in 5 post(s)
elnel2.pngelnel1.png
[RUS]Движение эллипса без проскальзывания с поворотом относительно эллипса. Анимация грубая, погрешности большие. Решение получил не точное из системы ду, а комбинированное(сумма нескольких движений)[/RUS]
[ENG]IMovement of the ellipse without slippage with rotation relative to the ellipse. The animation is rough, the errors are large. I got an inaccurate solution from the system of de's, but a combined one (the sum of several movements)[/ENG]
elnel.mov (1,862kb) downloaded 2 time(s).
Users browsing this topic
Similar Topics
Draghilev method revisited [Isocurves] (Samples)
by Jean Giraud 27/03/2019 18:17:33(UTC)
9 Pages«<789
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.