Program loop issue

Program loop issue - Messaggi

#1 Pubblicato: 12/07/2018 22:42:46
Ruben Sidranski

Ruben Sidranski

17 apprezzamenti in 465 post.

Gruppo: User

This is a subset of a larger sheet. Delta T should be 0, 15, 15 and I get 0, 23, 15. I zeroed out the first heat input and got a large imbedded matrix for unknown reason, that is secondary SMath.smz (5,52 KiB) scaricato 1255 volta(e).
#2 Pubblicato: 12/07/2018 23:49:38
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

... and got a large imbedded matrix for unknown reason ...



It carries 'i' from previous use and it has to be cleared in some way.
That is one of many cases of shadow in context, very annoying has it
does not clear the previous matrix.

ElsidDoctored.sm (10,56 KiB) scaricato 1182 volta(e).

#3 Pubblicato: 12/07/2018 23:53:51
Ruben Sidranski

Ruben Sidranski

17 apprezzamenti in 465 post.

Gruppo: User

Appears to carry everything though and just evaluates the last value
Forgot to post. I changed q.w to check values on the top SMath.smz (5,62 KiB) scaricato 1220 volta(e).

It's in the loop. If I write an equation dt[1:f.dtv(1) above the program, I get one value array. As I scroll it down, it becomes a 3 value array

Jean, it should not clear the matrix, but build it. Maybe look into stacking it
#4 Pubblicato: 13/07/2018 00:30:04
Ruben Sidranski

Ruben Sidranski

17 apprezzamenti in 465 post.

Gruppo: User

Looks like it was a structure in the program. I had a "double" program line to start the loop. Cleaned it up and appears to work correctly. Input is always welcome
SMath.smz (5,71 KiB) scaricato 1250 volta(e).
#5 Pubblicato: 13/07/2018 09:41:55
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Maybe look into stacking it



SHOULD BE 15, 15 and .0017. What's wrong?
Just collect as you figure it should be.

SMath [2].smz (5,87 KiB) scaricato 1001 volta(e).
  • Nuovi post
  • Nessun nuovo post