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

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

#21 Posted: 4/24/2018 6:52:06 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: 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 KiB) downloaded 56 time(s).
#22 Posted: 4/24/2018 11:53:04 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 48 time(s).

#23 Posted: 4/25/2018 12:21:52 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

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

Jean

QuadraticSplineCreateMesh.sm (15 KiB) downloaded 55 time(s).
  • New Posts New Posts
  • No New Posts No New Posts