Mechanical APDL Structural Analysis Guide

(lily) #1

  1. Click on OK. A graph appears in the graphic window.


4.5.3.11. Exit ANSYS

You are now finished with this sample problem.



  1. In the ANSYS Toolbar, click on Quit.

  2. Choose the save option you want and click on OK.


4.6. Example Harmonic Analysis (Command or Bat ch Method)


You can perform the example harmonic analysis of a two-mass-spring system by using the following
ANSYS commands instead of the GUI.


/prep7
et,1,combin14,,,2
et,2,mass21,,,4
r,1,200! spring constant = 200
r,2,.5! mass = 0.5
n,1
n,4,1
fill
e,1,2
e,2,3! spring element
e,3,4! spring element
type,2
real,2
e,2! mass element
e,3! mass element
finish
/solu
antype,harmic! harmonic analysis
hropt,full! full harmonic response
hrout,off! print results as amplitudes and phase angles
outpr,basic,1
nsubst,30! 30 intervals within freq. range
harfrq,,7.5! frequency range from 0 to 7.5 hz
kbc,1! step boundary condition
d,1,uy,,,4! constrain all 44 dof
d,1,ux,,,4,3! constrain nodes 1 and 4 in ux
f,2,fx,200
solve
finish
/post26
nsol,2,2,u,x,2ux! store ux displacements
nsol,3,3,u,x,3ux
/grid,1! turn grid on
/axlab,y,disp! y-axis label disp
!plvar,2,3! display variables 2 and 3
prvar,2,3
finish

4.7. Where to Find Other Examples.


Several ANSYS publications, particularly the Mechanical APDL Verification Manual, describe additional
harmonic analyses.


The Mechanical APDL Verification Manual consists of test case analyses demonstrating the analysis cap-
abilities of the ANSYS family of products. While these test cases demonstrat e solutions to realistic ana-


Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

Harmonic Analysis

Free download pdf