CAESAR II Nonconvergence
CAESAR II Nonconvergence
CAESAR II Nonconvergence
Intergraph CAS
http://www.intergraph.com
Loren Brown
The equations in CAESAR II (and all pipe flexibility analysis programs) are linear in
nature and therefore are readily solved using matrix operations on computers.
Difficulties with numerical methods occur when nonlinear boundary conditions exist.
The computations solve a system of linear algebraic equations simultaneously until the
solution does not change appreciably between successive iterations. But nonlinear
boundary conditions may cause a change in the actual equations themselves between
successive iterations and is the basis for all convergence problems in this type of
numerical routine.
Once the iteration process begins the loads defined in the load case editor are applied to
the piping and the pipe displaces according to these loads, the stiffness of the pipe, and
how it is restrained. When gaps are closed then the stiffness changes from zero to
whatever stiffness is specified for the restraint in input. This changes the equations that
CAESAR II has to solve. On each successive iteration, CAESAR II must check the
status of the piping at each nonlinear restraint location to determine whether the restraint
is engaged or not engaged and then change the equations accordingly. Convergence is
not achieved until every restraint in the system retains the same engaged/not-engaged
state between several successive iterations (and of course the numerical solution also
changes inappreciably at each node in the system as well).
The various types of nonlinear boundary conditions, the convergence difficulties they
may cause, and methods for obtaining convergence in CAESAR II when encountering
these difficulties are explained in this article.
Nonlinear Restraints
A nonlinear restraint is defined as a restraint whose stiffness is not uniform along its line
of action. Unidirectional restraints (for example, pipe resting on a rack), restraints with a
gap, bi-linear (representing soil) restraints, and friction are all nonlinear. Bi-directional
restraints (X, Z, springs, etc.) are linear. The following illustration shows force vs.
displacement curves for several linear and nonlinear restraints in CAESAR II. Note the
slope of the curve dictates the stiffness of the restraint (rigid restraints have an almost
vertical slope). All nonlinear restraints have more than one stiffness in their force vs.
displacement curves while all linear restraints have a constant stiffness.
Nonlinear Restraints
F
gap
k=0
k
k=0
Z
-Z Restraint
X
X Restraint with gap
F
F
Fy
gap
k1
k=0
Z
-F y
Z2 (bi-linear) Restraint
Y
+Y Restraint with gap
Note that rotational restraints may also be linear or nonlinear in a similar manner. The
stiffness in these cases relate a moment to rotation resulting in a stiffness in units of ft.lb./degree (length*force/angle).
Pressing the F2 function key on the keyboard will freeze the solution so the user can
apply some diagnostics.
On the upper-left portion of the Incore Solver window is some general information about
the solution. The most important of these is the Current Case and Total Cases. The
current case is the load case that is being solved for and the total cases is the total number
of native (non-combination) load cases in the load case editor. The solver performs the
analysis on the load cases in the order they are entered in the load case editor.
The middle-right side of the window gives information on the total number of nonlinear
restraints in the model (23 in the figure above) as well as the number of these restraints
that did not converge on the previous iteration (8 in this case). On some models the
number of non-converged restraints may fluctuate and it is recommended to attempt to
freeze the analysis when this number is lowest. Once frozen, pressing the Continue
button will perform a single iteration of the analysis, so it is a simple matter to press
When pipe begins to move due to thermal expansion and other loads, static friction
opposes this motion and the force between the pipe and the restraint increases (see figure
below). As the load increases, usually due to heating of the pipe, it may eventually reach
a point where the pipe will break free from friction and begin sliding. This breakaway
force is equal to the normal force (the force along the line of action of the restraint) times
the friction coefficient, Mu. In reality if the heating is gradual the pipe may slide a small
amount and relieve a small amount of the friction force, but then increase again until it
once again exceeds the breakaway force. This may occur many times with such
ratcheting repeating until the pipe temperature reaches steady state and the system is in
equilibrium.
k=0
F n*Mu
k
X-Z
k=0
-F n*Mu
+Y Restraint with friction
At this point, it is important to note that the friction force is still opposing further motion,
even when in equilibrium. In reality when the pipe is sliding this force is equal to the
dynamic friction coefficient times the normal force, which is slightly smaller than the
static friction coefficient times the normal force. It is a common misconception that once
the system reaches equilibrium that there is no further friction force on the system. This
leads some to believe that friction is a transient phenomenon that only occurs during the
start-up or shut-down cycle of a piping system. This is definitely not true! From the time
the friction breakaway force was first exceeded until the system reaches equilibrium the
force opposing motion is between the static and dynamic breakaway force, which is a
fairly small range of force variability.
CAESAR II must calculate three primary quantities to simulate friction at a given node
where a friction coefficient is defined on a restraint. First, the direction of pipe motion
must be calculated. This is easy to do from the resultant displacements on a given
iteration. The angle that the resultant displacement vector in the friction plane makes
with one of the axes in this plane is known as the friction angle. Then a friction restraint
with a stiffness (given by the friction stiffness in Configure/Setup) is applied opposite
this direction of motion. The normal force is multiplied by the user-defined friction
coefficient, (Mu on the restraint definition) to determine the restraint breakaway force.
The equation for the given node is then changed to reflect the direction and stiffness of
the friction restraint for the next iteration.
For the node to be converged, the friction breakaway force, the state of the friction
restraint, and the direction of the friction restraint must all be within certain tolerances
between the current and last iteration. Sometimes, especially with many restraints with
friction, the solution will bounce between a situation where the pipe is sliding (remove
the friction restraint and replace it with the friction force opposing motion) and not
sliding (put in a friction restraint opposing motion). This is a discrete change in the
boundary condition, which can result in an infinite loop since the equations for the node
simply change back and forth repeatedly.
Obtaining Convergence on Systems with Friction
Fortunately, there are several simple settings that can affect the way that friction is
modeled in CAESAR II. When a solution will not converge there are three items that can
be changed that will determine whether or not the solution will be completed. All of
these items may be accessed in the CAESAR II Configuration File (shown below).
As previously discussed, the friction stiffness is set in the Configuration file and is seen
on the right side of the window (highlighted in light blue) in the illustration above. The
default is one million pounds per inch in the English system of units. Lowering this
stiffness results in a larger displacement of the pipe against the friction restraint prior to
exceeding the breakaway force. This effectively makes the friction effect softer. This
then reduces the variability of the friction force against the motion of the pipe between
successive iterations and will have a large impact on convergence.
There are also two friction calculation tolerances available in the Configuration file. The
first is the friction normal force variation. As implied, this allows successive values of
the normal force, and hence the friction breakaway force to have some variability and
therefore improve convergence. The second is the friction angle variation, which is the
number of degrees of change between successive iterations that the friction vector (either
restraint or force) can have. Increasing either of these values will allow more variability
in the friction solution between iterations and giving a better chance of convergence.
At this juncture it is important to note that reducing friction stiffness, and increasing the
normal force and angle variations will increase the error in the results. It should also be
noted that the choice of friction coefficient on the restraint definition can be difficult to
accurately determine. The friction coefficient is a function of the surface roughness of
both the restraint and pipe, which can have large variations due to moisture, corrosion,
pitting and other defects, and manufacturing processes.
Determination of the systems sensitivity to friction can be determined using CAESAR II
and will help the engineer determine, at least subjectively, the extent of error introduced
by opening friction tolerances in the configuration file to obtain convergence.
The CAESAR II Load Case Editor provides an item called the Friction Multiplier, which
can be found under the Load Case Options tab (see figure below).
A good comparison can be made with three different values of the friction coefficient by
creating two additional OPE load cases with identical loads to the primary operating load
case. Then change the friction multiplier on these two new load cases to .67 and .33
respectively. The friction multiplier will be applied to all the Mu values in the model.
Then a direct comparison between these three operating cases can be made in the
Restraint Summary report in output. Any sensitive equipment connections or restraint
loads can then be compared with one-third, two-thirds, and full friction applied. This
comparison should give the engineer a good understanding of the effects of friction on
the system. This then provides a basis to estimate the effects of changing the friction
tolerances in the Configuration File to obtain convergence.
Bi-linear restraints are rarely non-convergent, but if they are, a small change in the
breakaway force, Fy, or breakaway torque (on rotational bi-linear restraints) may
accomplish convergence. Altering the K1 and K2 values of stiffness may also help.
Since bi-linear restraints are only used in unusual circumstances to model a very specific
type of behavior (usually soil modeling or hinge joint modeling) it is not recommended in
most circumstances to completely linearize these restraints.
If the non-converged restraints are clustered in a relatively small geometrical area of the
system then linearization of one restraint near the middle of the cluster will sometimes
allow convergence. If that doesnt work, linearization of two restraints near the opposite
edges of the area of non-convergence will often do the trick. Experimentation with the
location of linearization of restraints will sometimes be required before the solution can
be obtained and in such systems there is no simpler method.
It should be mentioned at this point that if the model also contains friction at the locations
of nonlinear restraints, then the friction problem should be dealt with first, prior to
linearizing restraints (see discussion that follows).
It is important to realize that any time a nonlinear restraint is linearized to obtain
convergence that error will be introduced into the results, unless of course the design is
changed to accommodate the use of the new linear restraint. It is prudent therefore to
assess, at least subjectively, the amount of error introduced. The simplest method for
doing this is to review the restraint report in output once convergence is obtained. If the
force on a formerly non-converged restraint is relatively small then so will the error be.
But if the force on a formerly non-converged restraint is moderate to high then the error
may propagate far beyond the node point of the restraint. In such cases a design change
may be in order for such a location to actually use the same restraint that was modeled in
CAESAR II.
Convergence Difficulties due to Large Rotation Rod Restraints
Large rotation rods are primarily used in CAESAR II when rotations of rod hangers
exceed two or three degrees. This is to maintain the length of the restraint and force the
pipe to move in an arc. Without use of the large rotation rod restraint the pipe is not
forced to move in an arc because the degrees of freedom are de-coupled in pipe flexibility
analysis.
There are two tolerances associated with the convergence criteria for large rotation rods.
The first is the Rod Increment, which is defined as the maximum amount of change in the
angle of the rod rotation between successive iterations. The default is 1.0 degree, but this
number can be decreased in difficult-to-converge models. This forces the rod to not
change its rotation by more than the rod increment between iterations, which can help
convergence. The second tolerance is called the Rod Tolerance, which is defined as the
maximum change in rod rotation between iterations for convergence to occur. This
differs from the rod increment in that this is the actual tolerance for the angle change to
allow convergence, while the increment is the maximum change allowed by the program.
If the rod wants to rotate more than the rod increment then the increment is invoked
instead.
Systems with long rods or many of them are difficult to converge because while some
rods are converging this may cause others in the system to move away from convergence.
It is generally a good idea to add large rotation rods only in a system that is truly
experiencing large rotations. If small rotations are seen in the system then the use of
large rotation rods is not warranted.
Both the rod tolerance and the rod increment are available in the CAESAR II
Configuration File.
Summary
The foregoing discussion could lead one to believe that the use of nonlinear boundary
conditions in pipe stress analysis is difficult and should not be attempted. But this is far
from true, because many piping systems use these types of restraints and friction is
always present in real piping systems. Other pipe stress analysis programs do not
encounter the problems addressed above for a simple reason: the program has an iteration
counter which simply freezes the solution without convergence being obtained as soon as
the number of iterations reaches the counter limit. The results in such a solution are
unreliable, and the engineer is relying on results that have not converged. This is done to
avoid the annoyance involved in non-converged systems, but it is ignoring sound
engineering principals. Intergraph CAS has always believed that engineers are capable
and indeed responsible for applying sound engineering principals in the use of our
analysis tools such as CAESAR II.