Files for Webinar: A POST26 Primer

Categories:

We just finished our webinar for 4/12/2012 on the basics of the POST26 Time History Post Processor.  As promised, here are the files used for examples in the webinar, as well as the PowerPoint:

Tower-of-Test (ToT) test model, APDL:

! Build basic 2x2x60 tower
finish
/clear
/prep7
blc4,-1,-1,2,2,60
et,1,185
mptemp,1,70
mpdata,ex,1,1,20e6
mpdata,nuxy,1,1,.23
mpdata,dens,1,1,.001
alphad,5

!Mesh
esize,.9
vmesh,all
/view,1,1,1,1
/vup,1,z
eplot

!create component of bottom nodes
nsel,s,loc,z,0
cm,nbt,node
nsel,all

!Fix in UY and UZ, move UX 1" in first time step
d,nbt,uy,0
d,nbt,uz,0
d,nbt,ux,1
time,.1

! Set up Transient, Large Deflection Run
antype,4
trnopt,full
lumpm,0
nlgeom,1
kbc,0
timint,1
nsubst,40,40,40
outres,all,1
!Save first Load Step
lswrite,1

!LS 2, UX = 5 inches
d,nbt,ux,5
time,.2
lswrite,2

!LS 3, UX = 0 inches
d,nbt,ux,0
time,.3
lswrite,3

!LS 3, no change, let it damp out
time,2
lswrite,4

! Solve all four load steps
/solu
lssolve ,1,4
finish

! Enter POST26
/POST26
NUMVAR,200    ! Max out number of allowed variables
!SOLU,191,NCMIT
!STORE,MERGE
!FILLDATA,191,,,,1,1
!REALVAR,191,191
!!*
! Get UX on node 18
NSOL,2,18,U,X, UX_2
STORE,MERGE
!plot UX results
XVAR,1
PLVAR,2

! Calculate total force on node 8 (sqrt-sum-of-squares)
! Put reaction forces in each direction in a variable (11-13)
rforce,11,8,f,x,FX_8
rforce,12,8,f,y,FY_8
rforce,13,8,f,z,FZ_8
! Square the variables
prod,14,11,11
prod,15,12,12
prod,16,13,13
! Add them together
add,17,14,15,16
! Square Root
sqrt,18,17
! Plot the result
plvar,18

! No find max stress on "edge" at 1,1
! Grab the nodes
nsel,s,loc,x,1
nsel,r,loc,y,-1
! Get the node count
*get,nnd,node,,count
! Get first node in selected set
nn = ndnext(-1)
! Store its SIG1 values in var 20
ansol,20,nn,s,1
! Get next node
nn = ndnext(nn)
!loop on remaining nodes
*do,i,1,nnd-1
    !Put SIG1 of current node in var 21
    ansol,21,nn,s,1
    ! Compare 20 and 21, and at each time step, but the larger value in 20
    large,20,20,21
    ! Move on to the next node
    nn = ndnext(nn)
*enddo
! Plot the max values
plvar,20
! Use *get to get the maximum value over time, and when that time is
*get,mxs,vari,20,extrem,vmax
*get,mxt,vari,20,extrem,tmax
! Select all the nodes
nsel,all


 /eof
 PLNSOL, U,SUM, 2,1.0
 ANTIME,80,0.25, ,1,2,0,1

 data,20,,,,ld_1,0
 (F,F)

Tower-of-Test (ToT) test model, ANSYS Mechanical with APDL Snippets:

PowerPoint Presentation:

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Additive Manufacturing Success.

Share this post:

Upcoming Events

Feb 17
, 2026
Hybrid Analytics for Sim2real Models - Webinar
Feb 24
, 2026
Updated NVH Solvers in Ansys LS-DYNA - Webinar
Feb 26
, 2026
Foundations of Certification by Analysis: Building Trust in Model-Based Evidence - Webinar
Mar 05
, 2026
2026 Flinn Foundation Bio Capital Conference
Mar 06
, 2026
Pioneering EV Propulsion: Optimizing Next-Generation Traction Motors with Motor-CAD and optiSLang - Webinar
Mar 11
- Mar 12
, 2026
Synopsys Converge | Simulation World Silicon Valley
Apr 06
, 2026
Advice for Startup Advisors - Breakfast - #AZTechWeek
Apr 07
, 2026
Arizona HardTech: It’s not The Same - #AZTechWeek
Apr 06
- Apr 12
, 2026
AZ Tech Week 2026
Apr 13
- Apr 16
, 2026
RAPID + TCT
Jun 18
, 2026
E-Mobility and Clean Energy Summit
Jul 15
, 2026
Arizona Aerospace Summit

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: