SMath Studio Forum
»
SMath Studio
»
Questions
»
Function call does not evaluate numerically inside a for() loop
Rank: Advanced Member Groups: Registered
Joined: 03/03/2014(UTC) Posts: 418 Was thanked: 125 time(s) in 96 post(s)
|
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 (283kb) downloaded 29 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Alex M. 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 (116kb) downloaded 20 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... an otherwise bi-linear demo. Bi-linear linterp interpolation has the virtue of quadratic. Jean QuadraticSplineCreateMesh.sm (16kb) downloaded 27 time(s).
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Function call does not evaluate numerically inside a for() loop
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.