et,2,195,,
type,2
mat,2
e,5,6,7,8,9,10,11,12
!++++++++++++++++++++++++++
! Define Boundary Condition
!*++++++++++++++++++++++++++
nsel,s,loc,z
d,all,uz
nsel,all
nsel,s,loc,x
d,all,ux
nsel,all
nsel,s,loc,y
d,all,uy
nsel,all
finish
/solu
!+++++++++++++++++++
! Apply Displacement
!+++++++++++++++++++
nsel,s,loc,z,elb2+elg
d,all,uz,dis1
nsel,all
!+++++++++++++++++++++++++++++++++++++++++++++
! Solve First Load Step, Compress the Elements
!*+++++++++++++++++++++++++++++++++++++++++++++
nsubst,n1,n2,n3
outres,all,all
outres,svar,all
solve
!++++++++++++++++++++++++++++++++++++++++++
! Solve Second Load Step, Open the Elements
!++++++++++++++++++++++++++++++++++++++++++
nsubst,n1,n2,n3
outres,all,all
outres,svar,all
nsel,s,loc,z,elb2+elg
d,all,uz,dis2
nall
solve
finish
!++++++++++++++++++++++++
! Postprocess the Results
!*++++++++++++++++++++++++
!/post1
!set,last
!pres,s
!pres,epto
!pres,epel
!prns,epel
!finish
!++++++++++++++++++++++++++++++++++++++++++++++
! Post26, Print and Plot Gasket Element Results
!*++++++++++++++++++++++++++++++++++++++++++++++
/post26
esol,2,3, ,s,x,press
esol,3,3, ,epel,x,delta
add,4,2, , ,press,,,-1,! change sign for plotting
add,5,3,,,delta,,,-1,! change sign for plotting
prvar,2,3,4,5
xvar,5
plvar,4
finish
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
Sample Gasket Element Verification Analysis (Command or Batch Method)