Maxima

Maxima - Examples for using the Maxima Plugin - Mensajes

#61 Publicado: 6/6/2014 15:14:23
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: Moderator

Wrote

BTW, you also can use ODE.2, a wrapper for ode2, with preprocessing of the equation switched off.
Also, you can specify the initial conditions in Solve using Davide's at().


Thank you, just forgot about it out and found it afterwards.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#62 Publicado: 8/6/2014 20:28:13
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Yet another example from the maxima discussion list. It demonstrates use and limitations of the solver function Solve().
Example Maxima cross.sm (21,3 KiB) descargado 1583 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#63 Publicado: 3/8/2014 7:45:44
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

The Maxima draw package has an experimental interface to the VTK visualization toolkit. It provides high performance 3D rendering.

Objects and options are very similar to those of the Gnuplot interface in the commands Draw2D() and Draw3D().

The current state of the Maxima plugin allows you to play around with VTK. Some limitations apply:
- The interactive viewer is opened as a separate window (not embedded in the sheet)
- The Maxima plugin does not wait for the viewer to be closed but gives up after some short time.
- Any SMath action while the viewer is open can generate a crash.

vtk.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Radovan Omorjan 3/8/2014 10:44:00
#64 Publicado: 3/8/2014 8:30:13
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Another example
vtk1.sm (70,64 KiB) descargado 1611 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Radovan Omorjan 3/8/2014 10:44:00
#65 Publicado: 3/8/2014 11:24:12
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: Moderator

Thank you Martin with keeping this up

I just played a bit (see the picture, please). I suppose this will be improved and I wish you all the best of luck in your efforts.
In the case I did not do something wrong here, but it seems that my example produces additional gnuplot windows.

vtk.png

Regards,
Radovan
probavtk.sm (5,7 KiB) descargado 1519 vez(es).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#66 Publicado: 4/8/2014 15:53:01
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Wrote


In the case I did not do something wrong here, but it seems that my example produces additional gnuplot windows.


This is related to issue SS-189. Maxima is restarted and the plugin retries to execute the command. However, in the new Maxima process, the variable draw_renderer has the default value (gnuplot) instead of VTK.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#67 Publicado: 6/8/2014 17:15:17
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

If the image file format is set to png, then the plot functions provide enhanced text capabilities now. See the attachment.
Section Maxima Draw2D3D enhanced.sm (155,36 KiB) descargado 1596 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Radovan Omorjan 7/8/2014 2:26:00
#68 Publicado: 25/8/2014 17:25:27
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Here comes life to the gradient symbol of the functions extensions plugin.
Gradient.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 4 usuarios les gustó este mensaje
frapuano 29/1/2017 11:07:00, Davide Carpi 25/8/2014 18:20:00, Radovan Omorjan 26/8/2014 1:28:00, Andrey Ivashov 26/8/2014 9:07:00
#69 Publicado: 15/9/2014 9:11:34
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

In the attached sheet you find the construction of the element stiffness matrix and the element load vector for a shear-stiff plane horizontal beam finite element as used in this example.
fem-ele.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
IVR 26/1/2017 19:02:00
#70 Publicado: 5/2/2015 7:54:32
sergio

sergio

127 me gusta en 342 mensajes.

Grupo: User

Wrote

Example for beam calculation using separate integration intervals.



Hello,
I tried to use this method on a simple case with triangular distributed load.
I got the correct results for V and M moment but not for w and rotation (file1).
Using the same equations but divided into two separate systems ( equilibrium and elastic line) the result is correct (file 2)
anyone can give me any suggestions?

sergio
file2.sm (27,25 KiB) descargado 1542 vez(es).
#71 Publicado: 18/1/2017 13:00:15
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

This example produces Asby material property charts. The data has been taken from the online ressources for Buchmayr 2002. Besides the Maxima plugin and it's drawing functions this program also demonstrates the use of varous plugins by Davide (ComboBox List, DataExchange, Checkbutton List)

It was posted already 3 years ago, works with the current SMath+Maxima version (no symbolics involved). Just cosmetic changes (output as PNG instead of SVG)

MPC.png
Werkstoffdiagramme.zip (54,1 KiB) descargado 537 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 2 usuarios les gustó este mensaje
Radovan Omorjan 18/1/2017 15:36:00, frapuano 18/1/2017 15:06:00
  • Nuevos mensajes
  • Sin mensajes nuevos