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
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