|
[Sponsors] |
June 20, 2018, 15:04 |
C_UDSI_M1 and C_YI_M1 UDF Run time error
|
#1 |
New Member
Join Date: Nov 2011
Posts: 13
Rep Power: 15 |
Hello,
I have a run time error when I include the macros C_UDSI_M1 and C_YI_M1 in UDF to access variable values at previous time step. I allow for some time step of the running before I use these macro but once it is the time to call them, the simulation crashes. Any help would be appreciated. Thanks. |
|
June 23, 2018, 04:04 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
Do the corresponding current time step macros work, i.e. C_UDSI and C_YI? You could also check if this data from previous time steps are freed from memory by default (try via TUI: /solve/set/expert). Lastly, if the macros are still not working, you could save this data in user-defined memory and update the variables each time step yourself (automatically).
|
|
|
|