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

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

#21 Publicado: 24/4/2018 18:52:06
Alexander O. Melnik

Alexander O. Melnik

127 me gusta en 498 mensajes.

Grupo: 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,02 KiB) descargado 1263 vez(es).
#22 Publicado: 24/4/2018 23:53:04
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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,32 KiB) descargado 1102 vez(es).

#23 Publicado: 25/4/2018 0:21:52
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

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

Jean

QuadraticSplineCreateMesh.sm (15,59 KiB) descargado 1291 vez(es).
  • Nuevos mensajes
  • Sin mensajes nuevos