Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restart an analysis

Status
Not open for further replies.

fmelo88

Aerospace
Nov 12, 2008
3
Hello everybody, I´m performing a transient analysis, at the end of the first load step I build some tables in the postprocessor in order to use them as data for a second analysis that I perform through the "restart" command.
The problem is that in this second analysis ansys seems "has forgotten" all the tables and scalar parameters of the first load step, am I doing something wrong in saving and resum the database between the two analysis?

thank you very much for the help, I attach part of the script:

/SOLU
ANTYPE,trans
TIME,100
NSUBST,20
NEQIT,20
KBC,0
q=(M*6*lapstress(2))
F,4,HEAT,-q
F,2,HEAT,+q
OUTRES,all,all
SOLVE
FINISH

/POST1
!set,last
ETABLE,Tnodei,SMISC,2
ETABLE,Tnodej,SMISC,3
SADD,deltaT,Tnodei,Tnodej,1,-1,0
SADD,gradT,deltaT,,1/meshsize,0
*VGET,gradtemp,elem,1,etab,gradT
*MOPER,scalarp,gradtemp,MULT,gradstress
*GET,T,ELEM,3,SMISC,3
FINISH
!------------------------------------------------------------------------------
save,unidim,db
!------------------------------------------------------------------------------

/SOLU
RESUME,unidim,db
ANTYPE,,rest
TIME,100
NSUBST,20
NEQIT,20
KBC,0
x=(M*T*lapstress(2))
y=(M*scalarp(1))
q=x+y
F,4,HEAT,-q
F,2,HEAT,+q
OUTRES,all,all
SOLVE
FINISH

/POST1
set,last
ETABLE,REFL
SADD,deltaT,Tnodei,Tnodej,1,-1,0
SADD,gradT,deltaT,,1/meshsize,0
*VGET,gradtemp,elem,1,etab,gradT
*MOPER,scalarp,gradtemp,MULT,gradstress
*GET,T,ELEM,3,SMISC,3
FINISH
 
Replies continue below

Recommended for you

Hmmmm. Mystery. It is best practice in ANSYS to SAVE before the FINI command as this exits the current processor back to the BEGIN level i.e.

/SOLU
...
...
save
solve
fini

/POST1
...
...
save
fini

However, to be sure, I recommend you issue:

PARSAV,ALL,filename,ext

in /POST1, which will write all of your parameters to a file named filename.ext and then you can resume these when you need using:

PARRES,CHANGE,filename,ext




------------
See faq569-1083 for details on how to make best use of Eng-Tips.com
 
thank you Drej, I tried but still didn´t work... that was because in the multiframe restart the parameters are read from some files with extention: .rdb .ldhi .rxx
in order to avoid this is just necessary to put a RESCONTROL,,none after the /SOLU command.
Now those files are not created and parameters are read from PARRES and from the database.
Hope this will help somebody in future

greetings
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor