×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Restart an analysis

Restart an analysis

Restart an analysis

(OP)
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

RE: Restart an analysis

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: Asking questions the smart way on Eng-Tips fora for details on how to make best use of Eng-Tips.com

RE: Restart an analysis

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources