15.11.2012 Views

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

*dim,temtbl,table,4,1,,time ! Define table TEMTBL and use it for body load: temperature<br />

temtbl(1,0)=1,2,3,4<br />

temtbl(1,1)=250,500.0,750,1000.<br />

! bf,all,TEMP,%temtbl% ! May use this to apply the body load table<br />

! bflist<br />

parsave,all,moreload ! Save all the <strong>APDL</strong> parameters and tables to file: moreload<br />

! NOTE: *.RDB does not have information of table TEMTBL.<br />

fini<br />

/clear, nostart<br />

/solu<br />

ANTYPE,,RESTART,1,3,endstep ! Do restart ENDSTEP because we want to apply TEMTBL at<br />

! TIME = 3.5 (LDSTEP=1,SUBSTEP=3) because we want to<br />

! Apply the temperature load from TIME=3.5 onwards.<br />

! Here, RESTART has resumed *.RDB database where the<br />

! Table FTBL is saved.<br />

solve ! Activate ENDSTEP<br />

parresu,,moreload ! For further load step, we want to apply table TEMTBL<br />

! as body force. NOTE: table TEMTBL is not in *.RDB. Therefore,<br />

! we have to use PARRESU command. <strong>APDL</strong> file "moreload" is<br />

! saved earlier.<br />

*status ! List all the ADPL information available at this point<br />

bf,all,TEMP,%temtbl% ! Apply temperature table load TEMTBL<br />

bflist<br />

time,4 ! Solve up to TIME = 4.0 because the load step ENDSTEP only<br />

! carries up to TIME = 3.5<br />

solve<br />

fini<br />

/post1<br />

set,last<br />

prdis<br />

prrsol<br />

fini<br />

The sample below demonstrates a restart after changing boundary conditions.<br />

/prep7<br />

et,1,21<br />

r,1,1,1,1,1,1,1<br />

n,1<br />

e,1<br />

fini<br />

/solu<br />

antyp,trans<br />

timint,off<br />

time,.1<br />

nsub,2<br />

kbc,0<br />

d,1,ux,100 ! to apply initial velocity (IC command is preferred)<br />

solve<br />

timint,on<br />

ddele,1,ux ! this requires special handling by multi-frame restart<br />

! if a reaction force exists at this dof, replace it with an equal<br />

! force using the endstop option<br />

time,.2<br />

nsub,5<br />

rescontrol,define,all,1 ! request possible restart from any substep<br />

outres,nsol,1<br />

solve<br />

fini<br />

/solu<br />

antyp,,restart,2,3 ! this command resumes the .rdb database created at the start of solution<br />

! (restart from substep 3)<br />

ddele,1,ux ! re-specify boundary condition deleted during solution<br />

Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />

of ANSYS, Inc. and its subsidiaries and affiliates.<br />

5.9.1. Multiframe Restart<br />

119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!