Week 16 Nonlinear Monitor
Week 16 Nonlinear Monitor
1. Introduction:
ANSYS 5.4 through 5.6 utilizes Solution Control (SOLCON), which has many default values to
provide some intelligence to nonlinear analyses. Besides setting more robust nonlinear options,
SOLCON also has an analysis monitoring feature which the author finds quite useful.
This memo will briefly discuss Solution Control and provide some information on using the
Monitor capability. It is assumed that the reader is already familiar with performing nonlinear
structural and/or thermal analyses in ANSYS. CSI also provides training and mentoring services in
this area to help engineers solve these classes of problems.
LOAD SUB- NO. NO. TOTL INCREMENT TOTAL VARIAB 1 VARIAB 2 VARIAB 3
STEP STEP ATTMP ITER ITER TIME/LFACT TIME/LFACT MONITOR MONITOR MONITOR
1
Issuing SOLCON,ON is usually performed to reset solution options to the default settings.
2
As an example, the author usually does not like using line search (LNSRCH) because it is computationally expensive, so he turns it off
since, by default, line search is activated by SOLCON for all contact problems.
As noted in the example listing above, the far-right side of the monitor file lists the solved
loadstep and substep numbers. This helps a user understand where the solution currently is,
especially in the event that there are multiple load steps in a transient or static nonlinear analysis.
The third column lists the number of attempts made to solve the particular substep. When the
solution does not converge or if ANSYS predicts that it will not converge with the maximum number
of equilibrium iterations (NEQIT), automatic timestepping (AUTOTS) bisects the substep and tries
again. If this number is greater than 1, it will give the user a good indication of the point at which
the solution is having difficulty converging.
Likewise, the number of equilibrium iterations, as listed in the fourth column, also gives an
indication of whether ANSYS is having an easy or difficult time solving the problem. If the number
of equilibrium iterations is low (anywhere from 2-5), then the user may not need as small a
3
timestep/substep to solve the problem. On the other hand, if the number of equilibrium iterations
needed to solve the substep is high (anywhere from 15-20+), the user should consider starting off
with small substeps. If ANSYS is bisecting the problem a lot, this, too, gives the user an indication
that the initial as well as minimum substep may be too large.
4
The sixth and seventh columns provide substep (a.k.a timestep) increments and totals. This
helps determine how large of a substep ANSYS is using. Also, if ANSYS has bisected or
decreased/increased the substep, this is indicated in the sixth column. This information serves
several purposes: (a) if the substep is too small, this may tell the user that the problem is having
trouble converging, and he/she may want to abort the run cleanly at this point to examine the model
or (b) it gives the current status of the analysis [i.e., How much of the problem has already been
solved? Is ANSYS 75% done?], letting the user know when to expect completion of the problem.
The last three columns provide the user with customizable information. By default, the three
columns list elapsed CPU solution time, maximum displacement of the model, and maximum
equivalent plastic strain of the model. For thermal analyses, “MxDs” actually reports max
temperature of the entire model, and column 3 is unused.
The CPU time provides the user with information regarding (a) how long ANSYS has been
solving the problem and (b) about how long it may take in the future (looking at the TIME column in
conjunction with the CPU column allows the user to estimate how long the total solution may take if
it continues at the same rate). The maximum DOF value also helps the user understand how the
system is responding, especially for large deflection problems.
The last three columns can also be customized through the use of the MONITOR command. The
MONITOR command allows the user to report DOF values or reaction forces for any node, up to
three nodes. The author has found this capability invaluable for many types of analyses. While the
solution is running, the author can “tail” or “cat” the monitor text file to see how the system is
responding. Examples of what nodes to “monitor” are the following:
• For large deflection/rotation problems, select a node at the “tip” of the structure to see how
much the system has moved.
• For contact problems involving multiple bodies coming into contact, monitoring both the
moving body and stationary body can help determine at what time the bodies come into
contact. This also helps determine if the load increments are too high (or pinball region is
too small), in the event that one body “passes through” the other and contact is not
detected. This way, the user does not need to invest the whole solution time to find out that
the load increment is too high – after reviewing the monitor file, the user can abort the
solution and specify smaller substeps or larger pinball radius.
• For bolt preload problems (PRETS179), the reaction force (i.e., bolt preload) after fixing the
bolt shrinkage can be monitored to ensure that the preload is not exceeded during the
course of the analysis.
• For rigid-flexible contact (CONTA169-174) using a pilot node, the reaction force at the pilot
node can be monitored to determine the contact force applied. Conversely, for force-driven
problems, monitoring the DOF of the pilot node helps determine how much the rigid
surface is moving.
3
This statement is, of course, assuming that the problem is not path-dependent. Any path-dependent problem (e.g., plasticity, friction)
should have enough substeps to capture the proper response history.
4
For simplicity, the author will only refer to substeps rather than timesteps throughout this memo, but these quantities are inversely
related.
• For thermal problems, the temperature at critical regions can be reported. For example, in
the analysis of electronic components, the junction temperatures can be monitored during a
nonlinear transient run. If the temperatures are too high or too low than what is expected,
the solution can be halted to verify tabular boundary conditions or any other possible
problems.
These are a few examples of quantities of interest the user can monitor during the course of the
analysis.
While the user can view the monitor file periodically with “tail” or “cat” in the DOS or xterm
5
window, the author has found using text editors such as TextPad quite helpful:
A sample analysis session is shown in the figure above. TextPad (and some other text editors) can be
configured to “reload” any text file. As soon as ANSYS updates/writes to the jobname.mntr and/or
jobname.out file, TextPad can automatically reload the new, updated information. As a result, the
author views the monitor file on the top to examine the status of the entire solution and the output
file at the bottom to review progress of the current equilibrium iteration. Also, note that the last
three columns provide CPU and UZ information at two nodes. In this particular example, two
bodies are contacting one another. Upon reviewing the last two columns, it is apparent that they
5
There are freeware versions of “tail” and “cat” available for Windows/DOS. UNIX systems already have these utilities, usually located in
/usr/bin.
have not come into contact yet (which explains why ANSYS is having little trouble solving the
6
problem with 3-5 equilibrium iterations per substep).
4. Conclusion/Recommendations:
The MONITOR capability of SOLCON is quite useful to help determine how well a solution may
be progressing. Instead of investing time in the whole solution run, potential problems can be
7
determined more quickly and the analysis halted, if necessary. This saves a lot of time, especially
during the first stages of setting up a nonlinear problem where one may not be sure of how the
structure is responding or may have incorrectly posed the problem. Also, the monitor file provides
concise status/summary of the analysis and is easier to read than parsing through the output file
which usually contains a large amount of information.
While this memo cannot cover all of the specifics of SOLCON, the author hopes that the
MONITOR command may prove useful to engineers currently performing structural and thermal
nonlinear analyses. For users unfamiliar with nonlinear analyses, the author strongly recommends
taking training and/or mentoring sessions from CSI engineers to better familiarize themselves with all
of the various nonlinear solution options and powerful capabilities of ANSYS.
__________________________
Sheldon Imaoka
Collaborative Solutions, Inc. (LA Office)
Engineering Consultant
6
For this specific example, the two bodies are separated by a distance of 20 units, and the solution has progressed to the point that one
body has moved 18 units. Hence, contact of the bodies is expected to occur shortly.
7
To cleanly stop a solution in batch mode, create a text file in the working directory called “jobname.abt” with the word “nonlinear” in
the first line. A simple way to accomplish this in DOS or xterm is with the command:
echo nonlinear > jobname.abt
where “jobname” is the actual jobname of the model.
This list is for *ALL* users of the ANSYS finite element analysis program from around the
world. The list allows rapid communication among users concerning program
bugs/ideas/modeling techniques. This list is NOT affiliated with ANSYS, Inc. even though
several members of the ANSYS, Inc. staff are subscribers and regular contributors.
CSI Engineers:
Karen Dhuyvetter Greg Miller Sean Harvey Alfred Saad
Bill Bulat Sheldon Imaoka David Haberman Mike Rife
CSI believes strongly in the value of training and mentoring to help make customers successful
using ANSYS. Training classes are usually 2-3 days in duration and provide instruction on various
topics, including structural nonlinearities, heat transfer, and dynamics. Mentoring sessions involve
working with a CSI engineer one-on-one on specific projects. These sessions help reinforce
applicable subject matter covered in training classes or help ensure that the customer is using ANSYS
most efficiently and effectively.
Training class schedules are posted at: http://www.csi-ansys.com/training.htm
Please contact your account manager for more details on training, mentoring, consulting, and
other CSI services.