Animate plots

Animate plots - Сообщения

#1 Опубликовано: 06.11.2019 06:41:56
hanskl

hanskl

7 сообщений из 158 понравились пользователям.

Группа: User

Hi guys.

Seeing how fast I got great and helpful answers yesterday, I thought I might ask another rather silly question. I am trying to animate a plot, and I have never done it before.

I have made a simple sheet ploting V,M for a rectangular simply supported beam with uniformly distributed load. I have also plotted sigma and tau for the section, as well as Von Mises.

I have tried to make 3D plots to show how stresses evovle through the length of the beam, and to some extent it illustrates that.

I have also tried to animate a 2D plot, to work like a cross section that moves along the length of the beam, but I cannot figure out how to make it work.

Any ideas where it went wrong for me?

Also; is it possible to plot stresses along y-axis as opposed to x-axis?

Thanks again :d

Skjermbilde.PNG
spenninger bjelke.sm (30 КиБ) скачан 46 раз(а).

#2 Опубликовано: 06.11.2019 11:11:51
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Oh !!! too many questions in there.
Some typical animations:

0Anim Brownian.sm (9 КиБ) скачан 42 раз(а).
0Anim Butterfly.sm (15 КиБ) скачан 39 раз(а).
0Anim Analemma.sm (29 КиБ) скачан 27 раз(а).
0Anim Brownian 3D [Ber7].sm (24 КиБ) скачан 31 раз(а).
0Anim CONVOLUTION.sm (27 КиБ) скачан 33 раз(а).
0Anim Cheval.sm (21 КиБ) скачан 30 раз(а).
0Anim Lorenz Attractor.sm (6 КиБ) скачан 33 раз(а).
0Anim Ellipse.sm (13 КиБ) скачан 33 раз(а).
0Anim Lorenz Attractor Norm2r.sm (10 КиБ) скачан 39 раз(а).
0Anim Gozilla.sm (11 КиБ) скачан 31 раз(а).
0Anim Model [Lissajous, Brownian, Butterfly].sm (39 КиБ) скачан 34 раз(а).
0Anim Trifolium [Windmill Ber7].sm (25 КиБ) скачан 36 раз(а).
0Anim Trifolium [Windmill].sm (17 КиБ) скачан 37 раз(а).
#3 Опубликовано: 06.11.2019 12:31:32
Fridel Selitsky

Fridel Selitsky

520 сообщений из 451 понравились пользователям.

Группа: User

Check out this thread
https://en.smath.com/forum/yaf_postst1068_Beam-calculation.aspx
#4 Опубликовано: 06.11.2019 12:51:59
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Also; is it possible to plot stresses along y-axis as opposed to x-axis?


1. Yes as discrete format ... augment(y,x) in reverse order.
2. surface 3D does not save settings. Plot f,g,j
not you had plot f(x,y) ...
3. can't doctor the last plot ... proved otherwise.

spenninger bjelke _1.sm (55 КиБ) скачан 39 раз(а).
#5 Опубликовано: 06.11.2019 17:45:06
hanskl

hanskl

7 сообщений из 158 понравились пользователям.

Группа: User

Wrote

Check out this thread
https://en.smath.com/forum/yaf_postst1068_Beam-calculation.aspx



Wowzers!
#6 Опубликовано: 06.11.2019 17:47:42
hanskl

hanskl

7 сообщений из 158 понравились пользователям.

Группа: User

Wrote

Wrote

Also; is it possible to plot stresses along y-axis as opposed to x-axis?


1. Yes as discrete format ... augment(y,x) in reverse order.
2. surface 3D does not save settings. Plot f,g,j
not you had plot f(x,y) ...
3. can't doctor the last plot ... proved otherwise.

spenninger bjelke _1.sm (55 КиБ) скачан 39 раз(а).



Thanks Jean!

I will try to plot about y-axis with the augment function.
Surface 3D not saving settings explains a lot! I think I tried to save those settings at least 10 times before giving up.

I will try to understand how plot animations work, and come back with a animated plot of my stresses..

Best regards,
Hans Kristian.
#7 Опубликовано: 06.11.2019 18:58:23
hanskl

hanskl

7 сообщений из 158 понравились пользователям.

Группа: User

Well, I got the animations to work. I guess the mistake was to try to animate on a variable named 't'.

With a bit more tinkering I should be able to plot my stresses about y-y axis as well.

Best regards,
Hans Kristian

spenninger bjelke.sm (32 КиБ) скачан 58 раз(а).
Skjermbilde.PNG
#8 Опубликовано: 06.11.2019 21:25:26
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Well, I got the animations to work


I saved it under your name [Project Hans].
Always credit what's not personal.
Jean

#9 Опубликовано: 07.11.2019 00:31:04
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... that one is for training your Olympic Monkey !
First: show him the Smath video ... enjoy.
Jean

0Anim Fourier MonkeyBranching.sm (14 КиБ) скачан 47 раз(а).
#10 Опубликовано: 07.11.2019 06:06:33
hanskl

hanskl

7 сообщений из 158 понравились пользователям.

Группа: User

Wrote

Wrote

Well, I got the animations to work


I saved it under your name [Project Hans].
Always credit what's not personal.
Jean



I find it somewhat funny my simple stress visualization sheet was something you deemed worthy of saving on your harddrive.

Thanks,
Hans Kristian
#11 Опубликовано: 07.11.2019 18:07:53
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I find it somewhat funny my simple stress visualization sheet was something you deemed worthy of saving on your harddrive.


It carries units so nicely, not usual vs so many projects
that fail [Units don't match].
The attach breakfast with chicken rather than eggs.
At least, my small laptop does not smoke.

Julia.PNG

Pattern Julia Set [PUBLISH].sm (25 КиБ) скачан 52 раз(а).
#12 Опубликовано: 08.11.2019 07:08:47
hanskl

hanskl

7 сообщений из 158 понравились пользователям.

Группа: User

Wrote

Wrote

I find it somewhat funny my simple stress visualization sheet was something you deemed worthy of saving on your harddrive.


It carries units so nicely, not usual vs so many projects
that fail [Units don't match].
The attach breakfast with chicken rather than eggs.
At least, my small laptop does not smoke.



Thank you!

Mine actually managed this sheet in 1.2 minutes.. :d
#13 Опубликовано: 08.11.2019 13:31:53
Fridel Selitsky

Fridel Selitsky

520 сообщений из 451 понравились пользователям.

Группа: User

Wrote

... that one is for training your Olympic Monkey !
First: show him the Smath video ... enjoy.
Jean

Another variation of Jean animation

0Anim Fourier MonkeyBranching 1.sm (18 КиБ) скачан 48 раз(а).

#14 Опубликовано: 08.11.2019 14:58:53
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

Wrote

Wrote

I find it somewhat funny my simple stress visualization sheet was something you deemed worthy of saving on your harddrive.


It carries units so nicely, not usual vs so many projects
that fail [Units don't match].
The attach breakfast with chicken rather than eggs.
At least, my small laptop does not smoke.

Julia.PNG

Pattern Julia Set [PUBLISH].sm (25 КиБ) скачан 52 раз(а).



0.8 min using latest 7251:

julia.png

Significant (20x) performance improvement for 3 years.
#15 Опубликовано: 08.11.2019 21:42:22
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Significant (20x) performance improvement for 3 years.


Impressive improvement ... MCD 11 XP Pro [4 sec]
Thanks Andrey ... Jean

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений