Intel ODE Solver Library

Intel ODE Solver Library - Intel ODE Solver Library - Messages

#1 Posted: 1/31/2019 5:48:55 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Intel ODE Solver Library

SMath Studio compatibility SMath Viewer compatibility mono compatibility Platform Extension page Sources


Functions list: rkm9st(5), mk52lfn(5), mk52lfa(5), rkm9mkn(5), rkm9mka(5).


rkm9st(init, x1, x2, intvls, D) A specialized routine for solving non-stiff and middle-stiff ODE systems using the explicit method, which is based on the 4th order Merson’s method and the 1st order multistage method of up to and including 9 stages with stability control.

mk52lfn(init, x1, x2, intvls, D) A specialized routine for solving stiff ODE systems using the implicit method based on L-stable (5,2)-method with the numerical Jacobi matrix, which is computed by the routine.

mk52lfa(init, x1, x2, intvls, D) A specialized routine for solving stiff ODE systems using the implicit method based on L-stable (5,2)-method with numerical or analytical computation of the Jacobi matrix. The user must provide a routine for this computation.

rkm9mkn(init, x1, x2, intvls, D) A specialized routine for solving ODE systems with a variable or a priori unknown stiffness; automatically chooses the explicit or implicit scheme in every step and computes the numerical Jacobi matrix when necessary.

rkm9mka(init, x1, x2, intvls, D) A specialized routine for solving ODE systems with a variable or a priori unknown stiffness; automatically chooses the explicit or implicit scheme in every step. The user must provide a routine for numerical or analytical computation of the Jacobi matrix.


Arguments:

- init is either a vector of n real initial values, where n is the number of unknowns (or a single scalar initial value, in the case of a single ODE).
- x1 and x2 are real, scalar endpoints of the interval over which the solution to the ODE(s) is evaluated. Initial values in init are the values of the ODE function(s) evaluated at x1.
- intvls is the integer number of discretization intervals used to interpolate the solution function. The number of solution points is the number of intervals + 1.
- D is a vector function of the form D(x,y) specifying the right-hand side of the system

[albumimg]1558[/albumimg] [albumimg]1568[/albumimg] [albumimg]1569[/albumimg] [albumimg]1529[/albumimg] [albumimg]1557[/albumimg]

iode.examples.sm (204 KiB) downloaded 272 time(s).
iode.kinetic1.sm (7 KiB) downloaded 178 time(s).
iode.kinetic2.sm (14 KiB) downloaded 157 time(s).
iode.kinetic3.sm (14 KiB) downloaded 164 time(s).
iode.integrate.sm (10 KiB) downloaded 176 time(s).
iode.test1.sm (22 KiB) downloaded 167 time(s).
iode.test2.sm (22 KiB) downloaded 163 time(s).
iode.Amplitude detector.sm (20 KiB) downloaded 166 time(s).
Box_models.sm (100 KiB) downloaded 139 time(s).

iode.examples.pdf (416 KiB) downloaded 235 time(s).
iode.kinetic1.pdf (74 KiB) downloaded 147 time(s).
iode.kinetic2.pdf (90 KiB) downloaded 126 time(s).
iode.kinetic3.pdf (88 KiB) downloaded 132 time(s).
iode.integrate.pdf (88 KiB) downloaded 162 time(s).
iode.test1.pdf (116 KiB) downloaded 133 time(s).
iode.test2.pdf (121 KiB) downloaded 132 time(s).
iode.Amplitude detector.pdf (147 KiB) downloaded 138 time(s).
Box_models.pdf (145 KiB) downloaded 123 time(s).

Documents:

Intel ODE Solver Library Reference Manual (2018).pdf (239 KiB) downloaded 147 time(s).

See also:

● [topic=726]Mathcad Toolbox[/topic]
● [topic=1918]DotNumerics[/topic]
● [topic=13809]SADEL[/topic]
● [topic=1970]Matlab C++ Math Library[/topic]
● [topic=17063]OSLO[/topic]
● [topic=17067]lsoda[/topic]
● [topic=1997]GNU Scientific Library (GSL)[/topic]
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
NDTM Amarasekera 2/1/2019 1:43:00 AM, Davide Carpi 2/1/2019 10:56:00 AM, Radovan Omorjan 2/1/2019 3:35:00 PM
#2 Posted: 7/11/2021 9:47:22 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hmm...even dn_GearsBDF() will go nuts for this example.

Just for the record...

iode.Amplitude detector-1.sm.png
iode.Amplitude detector-1.sm (19 KiB) downloaded 80 time(s).

EDIT: mk52lfa() and mk52lfn() will also perform well here
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 7/11/2021 10:15:24 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hmm...even dn_GearsBDF() will go nuts for this example.


From recollection,NONE ODE solve that one.
Cheers ... Jean.

ODE rkfixed Pulse Pitfall.sm (37 KiB) downloaded 92 time(s).
#4 Posted: 7/11/2021 12:20:01 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Wrote

Hmm...even dn_GearsBDF() will go nuts for this example.


A little help is needed here

2021-07-11_20-18-09.png


Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Radovan Omorjan 7/11/2021 3:58:00 PM
#5 Posted: 7/11/2021 3:59:35 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

I should have guessed that . Thank you.
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#6 Posted: 12/9/2021 4:12:56 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- added support for ODE systems in mathematical form;
- refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Davide Carpi 12/9/2021 5:26:00 PM, sergio 12/9/2021 6:35:00 PM
#7 Posted: 12/20/2021 4:17:42 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- solution restructured;
- converting the task for the ODE solver to the numerical form is now performed through the Mathcad Toolbox plugin (to avoid code duplication), so it must be installed;
- refactored.

Solvers that support mathematical notation now reuse code from the Mathcad Toolbox plugin. Now there is no need to recompile every such plugin.
Russia ☭ forever, Viacheslav N. Mezentsev
  • New Posts New Posts
  • No New Posts No New Posts