Overcoming Convergence Difficulties in ANSYS Workbench Mechanical, Part II: Quick Usage of Mechanical APDL to Plot Distorted Elements

Categories:
image

In part I if this series, we saw how to use Newton-Raphson residual plots as an aid to vanquishing convergence difficulties in ANSYS Workbench Mechanical.  In part II, we will see how to quickly launch the ANSYS Mechanical APDL user interface to plot elements that have undergone too much distortion, thereby resulting in a convergence failure.  Several problems can cause convergence failures, but one that can be particularly frustrating is elements that have undergone too much distortion.

Currently there isn’t a way to isolate and view elements that have triggered a convergence failure due to too much distortion within the Workbench Mechanical user interface.  Fortunately we have access to the older ANSYS Mechanical APDL interface, which does allow us to select and visualize elements that have undergone too much distortion.  This can be useful in that it tells us exactly where in the model the elements are failing.  Hopefully we can use this information to take corrective action in Mechanical such as making local mesh modifications, adding more details to geometry, etc.

So, how do we do this?  Rather than try to give a lesson on how to use the Mechanical APDL interface, we’re just going to give the commands needed to be clicked with the mouse or typed in.  We’re following the K.I.S.S. principal, meaning Keep It Simple, Silly. 

The procedure to follow includes these steps:

1.  Identify the directory in which our results file resides.

2.  Launch ANSYS Mechanical APDL.

3.  Point to the results file identified in step 1.

4.  Modify the nodal coordinates so they are in the deflected state at the point of convergence failure.

5.  Plot those error-causing elements.

We will now go into more detail using a model that has convergence trouble.  This model solved successfully for the first 4 substeps, but on the 5th substep the solution failed to converge.  We get this error in the solver output (Solution Information):

*** ERROR *** CP = 2872.649 TIME= 16:29:51
One or more elements have become highly distorted. Excessive
distortion of elements is usually a symptom indicating the need for
corrective action elsewhere. Try incrementing the load more slowly
(increase the number of substeps or decrease the time step size). You
may need to improve your mesh to obtain elements with better aspect
ratios. Also consider the behavior of materials, contact pairs,
and/or constraint equations. If this message appears in the first
iteration of first substep, be sure to perform element shape checking.

Looking at the model, we see we have an indenter that is being pressed into a block of material.  The indenter is steel and the block is aluminum.  Both have nonlinear material properties defined.

image

Total deformation for the last converged substep looks like this:

image

The unconverged results show that we have some elements that have large nodal deflections:

image

So, our error message tells us that one or more elements have become highly distorted.  Which elements are they?  The following procedure will show us how to view those for sure, using Mechanical APDL.

Here are each of the 6 steps mentioned above, in detail:

1. Identify the directory in which our results file resides:

We do this from the Workbench window, by clicking on View > Files.  Scroll down in the resulting list of files until you find file.rst, the ANSYS Result file.  The location will be listed in the resulting information, but the text is not selectable.  To make it easier, right click on the file.rst row and select Open Containing Folder. 

image

From the top of the resulting Windows Explorer window, select the folder path and right click > copy. 

image

2. Launch ANSYS Mechanical APDL:

Click Start > All Programs > ANSYS 14.0 > ANSYS Mechanical APDL Product Launcher.  In the resulting window, paste in the directory path in the Working Directory box:

image

Click the Run button at the bottom of the window.  The Mechanical APDL user interface will start. 

3. Point to the results file identified in step 1:

Click on General Postproc on the left, then Data & File Opts.  In the resulting Data and File Options window, click on the […] button below Read single result file:

image

You should see the result file, file.rst, available in the resulting window.  Click on that file, then click Open.  Click OK in the Data and File Options window.

We need to read in one set of results to load the model into the Mechanical APDL database.  Click General Postproc > Read Results > Last Set.

4. Modify the nodal coordinates so they are in the deflected state at the point of convergence failure:

Let’s plot the elements so we can see the model (this will show the elements with nodes in the original, undeflected positions).  We’ll just have you type in the command to make the element plot:  in the input line near the top of the window, type eplot, then return.

image

The plot will show in the default “front” view, looking down the global Z axis.  Note that if weak springs are on in Workbench Mechanical, you will see these as line elements pointing away from the model in a few places.

image

The nodal modification is performed in the preprocessor.  Click on the Preprocessor command on the left side of the window.  Type in this command in the input line to modify the nodal positions to those of the unconverged (last set) of results:

upgeom,,,,file,rst

Plot the elements again.  You should now see the deflected nodal positions.

image

Using the view controls over on the right side, we can rotate and zoom in. A short cut is to use the right mouse button to box zoom and Ctrl + Right Mouse Button to rotate the model.  Now we can better see where the deformations are occurring.  We still have all elements selected and plotted, so the next step will be to filter the plot to show the error-causing elements.

image

5.  Plot those error-causing elements:

Shape checking of elements consists of two levels, warning and error.  The solver will not continue if any elements exceed the error level.  Shape checking is discussed in detail in section 13.1 of the Theory Reference in the ANSYS Help.  We have the ability to plot both warning level elements and error level elements, using this procedure:

On the left side of the window, click on Meshing > Check Mesh > Individual Elm > Plot Warning/Error Messages. 

image

With all boxed checked, this is the resulting plot in the front view.  “Good” elements are displayed in blue, “warning” elements in yellow, and “error” or failed elements are shown in red.image

When the elements are very highly distorted, their surfaces can’t always be displayed and it looks like there is a hole in the model.  This won’t always happen depending on how highly distorted the elements are, viewing direction, etc..

image
image

If we uncheck the Good Elements (blue) box, then only the warning and error elements are displayed.

image
image

When you are done viewing the elements, click on the Quit button near the top, and exit without saving to get out of Mechanical APDL.

So what does all this tell us?  For this model, the elements below the indenter body are experiencing too much deformation (red elements).  Some elements in the indenter body are at the warning level but not the error level (yellow elements).  The fix could be to apply the load more gradually (more substeps), refine the mesh at this location, or maybe a combination of both.  In this case we also changed the Workbench Mechanical shape checking from Standard to Aggressive Mechanical.

image
Categories

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

Technical Expertise to Enable your Addictive Manufacturing Success.

PADT Pulse Newsletter Screen Grab from March 2023

PADT’s Pulse Newsletter

Keep up to date on what is going on at PADT by subscribing to our newsletter.


By submitting this form, you are consenting to receive marketing emails from: . You can revoke your consent to receive emails at any time by using the SafeUnsubscribe® link, found at the bottom of every email. Emails are serviced by Constant Contact

Share this post:

Upcoming Events

05/31/2023

Driving Automotive Innovation with Additive - Webinar

05/24/2023

Hill Air Force Base Tech Expo

05/24/2023

Structural Updates in Ansys 2023 R1 (3) – Structural Optimization & Ex

05/23/2023

CROSSTALK 2023: Emerging Opportunities for Advanced Manufacturing Smal

05/10/2023

Signal & Power Integrity Updates in Ansys 2023 R1 - Webinar

04/26/2023

Additive Manufacturing Updates in Ansys 2023 R1 - Webinar

04/20/2023

38th Space Symposium Arizona Space Industry

More Info

04/19/2023

38th Space Symposium
Arizona Space Industry

04/19/2023

Additive Aids for Manufacturing - Webinar

04/18/2023

38th Space Symposium
Arizona Space Industry

04/17/2023

38th Space Symposium

04/13/2023

Venture Madness 2023

04/12/2023

Fluid Meshing & GPU-Solver Updates in Ansys 2023 R1 - Webinar

03/29/2023

8th Thermal and Fluids Engineering Conference

03/29/2023

Structural Updates in Ansys 2023 R1 - Composites, Fracture & MAPDL

03/28/2023

8th Thermal and Fluids Engineering Conference

03/27/2023

8th Thermal and Fluids Engineering Conference

03/26/2023

8TH Thermal and Fluids Engineering Conference

03/24/2023

Arizona BioPreneur Conference | Spring 2023

03/22/2023

2023 Arizona MedTech Conference

03/22/2023

Optimize Jigs & Fixtures with Additive - Webinar

03/15/2023

3D Design Updates in Ansys 2023 R1 - Webinar

03/08/2023

Competitive Advantages of 1D/3D Coupled Simulation - Webinar

03/01/2023

High Frequency Updates in Ansys 2023 R1 - Webinar

02/22/2023

Additive Advantages in Aerospace - Webinar

02/15/2023

Structural Updates in Ansys 2023 R1 (1) - Webinar

02/09/2023

IME 2023: MD&M | WestPack | ATX | D&M | Plastek

02/08/2023

IME 2023 MD&M | WestPack | ATX | D&M | Plastek

02/07/2023

IME 2023 MD&M | WestPack | ATX | D&M | Plastek

01/27/2023

Arizona Photonics Days, 2023

01/26/2023

Arizona Photonics Days, 2023

01/26/2023

TIPE 3D Printing | 2023

01/26/2023

Venture Cafe Phoenix Talent Night - Job Fari

01/26/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/25/2023

Arizona Photonics Days, 2023

01/25/2023

Building A.M.- Utah: Kickoff!

01/25/2023

TIPE 3D Printing | 2023

01/25/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/24/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/24/2023

TIPE 3D Printing | 2023

01/18/2023

2023 AZ Tech Council Golf Tournament

12/21/2022

Simulation Best Practices for 5G Technology - Webinar

12/14/2022

Digital Twins Updates in Ansys 2022 R2 - Webinar

12/08/2022

Tech the Halls - AZ Tech Council Holiday Mixer

12/07/2022

Electric Vehicle and Other Infrastructure Update Panel

11/30/2022

SPEOS Updates in Ansys 2022 R2 - Webinar

11/23/2022

Simulation Best Practices for Electronics Reliability - Webinar

11/16/2022

Discovery Updates in Ansys 2022 R2

11/10/2022

VentureCafe Phoenix Panel: Venture Capital in AZ

11/08/2022

2022 GOVERNOR’S CELEBRATION OF INNOVATION AWARDS + TECH SHOWCASE

11/03/2022

VentureCafe Phoenix Panel: Angel Investment in AZ

11/02/2022

High & Low Frequency Electromagnetics Updates in Ansys 2022 R2

10/26/2022

Simulation Best Practices For Chip-Package-System Design & Development

10/20/2022

Nerdtoberfest 2022

10/19/2022

2022 Southern Arizona Tech + Business Expo

10/19/2022

LS-DYNA Updates in Ansys 2022 R2 - Webinar

10/17/2022

Experience Stratasys Truck Tour - Clearfield Utah

10/14/2022

ASU School of Manufacturing Systems and Networks - Formal Opening Cele

10/14/2022

Experience Stratasys Truck Tour - Midvale Utah

10/12/2022

Experience Stratasys Truck Tour - Littleton Colorado

10/06/2022

Fluids Updates in Ansys 2022 R2 - Webinar

10/05/2022

Experience Stratasys Truck Tour - Colorado Springs

09/29/2022

White Hat Life Science Investor Conference - 2022

09/28/2022

2022 AZBio Awards

09/28/2022

Simulation Best Practices for Rotating Machinery Design & Development

09/21/2022

ExperienceIT NM 2022

09/21/2022

Additive Updates in Ansys 2022 R2 - Webinar

09/14/2022

Rocky Mountain Life Sciences Investor & Partnering Conference

09/08/2022

Ansys Optics Simulation User Group Meeting - Virtual

09/08/2022

Ansys Optics Simulation User Group Meeting

09/07/2022

SI & PI Updates in Ansys 2022 R2 - Webinar

08/31/2022

Simulation Best Practices for Developing Medical Devices - Webinar

08/24/2022

Mechanical Updates in Ansys 2022 R2 - Webinar

08/10/2022

Tucson after5 Tech Mixer: Ruda-Cardinal

08/05/2022

Flagstaff Tech Tour, 2022

08/02/2022

2022 CEO Leadership Retreat

08/01/2022

2022 CEO Leadership Retreat

07/27/2022

Thermal Integrity Updates in Ansys 2022 R1 - Webinar

07/20/2022

Simulation Best Practices for the Pharmaceutical Industry - Webinar

07/14/2022

NCMS Technology Showcase: Corpus Christi Army Depot

07/13/2022

NCMS Technology Showcase: Corpus Christi Army Depot

07/13/2022

Additive & Structural Optimization Updates in Ansys 2022 R1 - Webinar

07/07/2022

Arizona AADM Conference, 2022

06/29/2022

LS-DYNA Updates & Advancements in Ansys 2022 R1 - Webinar

06/23/2022

Simulation Best Practices for Wind Turbine Design - Webinar

06/15/2022

MAPDL Updates & Advancements in Ansys 2022 R1 - Webinar

06/01/2022

Mechanical Updates in Ansys 2022 R1 - pt. 2 Webinar

05/26/2022

Modelling liquid cryogenic rocket engines in Flownex - Webinar

05/25/2022

SMR & Advanced Reactor 2022

05/25/2022

05/24/2022

SMR & Advanced Reactor 2022

05/19/2022

RAPID + tct 2022

05/19/2022

Venture Cafe Roundtable: AI & Healthcare

05/18/2022

Tucson after5 Tech Mixer: World View

05/18/2022

RAPID + tct 2022

More Info

05/18/2022

Signal & Power Integrity Updates in Ansys 2022 R1 - Webinar

05/18/2022

Simulation World 2022

05/17/2022

RAPID + tct 2022

05/11/2022

Experience Stratasys Manufacturing Virtual Event

Search in PADT site

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: