Good afternoon!
I have a simple APDL script that writes the Load Steps with load, based on results of the previous step (see the attached simplified script). The script is located under the 'Analysis Settings' in Solution branch. The script works and I see the correct results of each step in the project tree.
The problem is that Workbench does not see the Load Steps and does not update the Analysis Settings. It leads to a problem - when I try to import the Body Temperatures in Structural Analysis, ANSYS does not allow me to choose the time of the last load step, because the time in Analysis Settings is less than mine.
What should I do to solve the problem?
q = 10
*do,k,1,1000
finish
/sol
*if,k,lt,2,then
antype,transient,new
*else
antype,transient,restart,,,continue
*endif
time,0.1*k
kbc,0
nsubst,50,100,20
OUTRES,ERASE
OUTRES,ALL,LAST
sf,all,hflux,q
lswrite,k
solve
finish
/post1
set,last
q = 1000*temp(1)
*enddo