ANSYS has become the de-facto standard for engineering analysis for generic engineering analysis. One of the advantages is that the command line exposes all that can be done in the GUI and more.
WARNING: ANSYS is not free software–it is not even affordable software, with license fees running in the thousands of dollars (still cheaper than ABAQUS though). You will have to seriously consider how you will access this software once you graduate. You can look at the CAELinux software, which is a bootable DVD. It contains quite a lot of analysis software, and even though it is Linux, there is no installation problems to worry about.
The analysis type is set to static for the static structural analysis. The following lines are equivalent.
antype,0
antype,static
The pre-preprocessor is using the /prep7 command. In ANSYS, only the first four characters of the command are relevant. More may be used to enhance readability. However, commands like /prep7 are the exception. Some commands can only be invoked in certain modes. The major modes are /prep7, /solu and /post1. /post1 is the general post processor. /solu is the solution mode. You can get out of a particular mode by typing fini.
The usual elements are beam, shell and solid elements. link1 is one the simplest elements. The common beam element is beam3. Springs are modeled using the combin14 element.
There are quite a large number of elements of each type. shell63 is a common shell element.
The default value for the Poisson’s ratio is 0.3.
The element type is specified using the et command.
et,1,beam3
The above code declares the element type 1 to be of the beam type.
The material properties can be specified in great detail. However, the simplest case is that of a linear, isotropic material. In this case the material properties could be:
mp,ex,1,210e9
mp,nu,1,0.3
Of course, the declaration of the value 0.3 is superfluous as it the default anyway. You can also give the density using
mp,dens,1,1e3
but this is not used if you are not interested in the eigenvalues.
The real constants can be likewise specified
r,1,0.1
The above code gives the real value to be 0.1 for set 1.
How can we use this? When elements are defined, we can set the types, material properties, and the real constants like so:
type,1
real,1
mat,1
Of course, the real constants should supply what is expected by the element type. For instance, the element type shell expects a thickness, so we need only one value in the real constant set.
Contact Problems
Modeling contact problems in ANSYS is not that easy. Perhaps this is because it is a relatively new feature. Unlike software like ABAQUS, where contact is automatic, in ANSYS, you have to specify the contact surfaces.
Non-Linear Problems
Quite a lot of engineering problems are of the linear type. The reasons for this is quite clear–the components are designed with some factor of safety, so that it will seldom go into yield in a large fraction of the component. Yielding, if it occurs, will be quite localized, and will be acceptable.
Once in a while, however, you will end up with a problem that requires non linear analysis. It may be that the material is non linear even in the elastic region. Or more commonly, the material is thin enough so that there is significant geometric flexing. In any case, these are the cases where computer analysis is weakest, and where you encounter the dreaded convergence problem.