Function call does not evaluate numerically inside a for() loop

Function call does not evaluate numerically inside a for() loop - Сообщения

#21 Опубликовано: 24.04.2018 18:52:06
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

Hi Jean,

I get an error running your worksheet at variable "User".

I also managed to come up with stable solver for both neutral axis depth "na" and neutral axis rotation angle "alpha". Problem is it can take up to 20 seconds per single solution and i potentially need to run it ~50 times. Any pointers on speeding up function calls?

Thanks!

formulaR8.sm (282 КиБ) скачан 58 раз(а).
#22 Опубликовано: 24.04.2018 23:53:04
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Hi Jean,

I get an error running your worksheet at variable "User".

I also managed to come up with stable solver for both neutral axis depth "na" and neutral axis rotation angle "alpha". Problem is it can take up to 20 seconds per single solution and i potentially need to run it ~50 times. Any pointers on speeding up function calls?

Thanks!



I lost track of the project as finally the bilinear interpolation solves for both mutually.
Pretty easy to construct the data table wrt "na" & "alpha". Try yourself, if not sure,
please give me the respective ranges. The bilinear data table needs not be square.
It can be rectangular horizontal/vertical.

Cheers Alex ... Jean

Project_0 Biaxial Bilinear [jmG] Copy.sm (115 КиБ) скачан 49 раз(а).

#23 Опубликовано: 25.04.2018 00:21:52
Jean Giraud

Jean Giraud

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

Группа: User

... an otherwise bi-linear demo.
Bi-linear linterp interpolation has the virtue of quadratic.

Jean

QuadraticSplineCreateMesh.sm (15 КиБ) скачан 55 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений