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

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

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

Alexander O. Melnik

127 svidjanja u 498 postova.

Grupa: 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) preuzeto 1292 put(ova).
#22 Objavljeno: 24. 4. 2018. 23:53:04
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1132 put(ova).

#23 Objavljeno: 25. 4. 2018. 00:21:52
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Jean

QuadraticSplineCreateMesh.sm (15,59 KiB) preuzeto 1322 put(ova).
  • Novi postovi
  • Nema novih postova