Using the ‘Identifier’ for Mechanical Post-Processing

Categories:

Wow, how time flies.  I wrote an article ~5 weeks ago where I discussed User Defined Results in ANSYS Mechanical.  One of the comments on that blog concerned being able to operate on results from multiple load steps, “e.g. stress in step 2 minus stress in step 1”.  I responded that yes you could, and then like an idiot stated I would have another article written in “a week or so” detailing how to do this.  My apologies Kjetil, I’m just now getting to this.  Please don’t cancel your membership in the “Doug Oatis B-Movie + ANSYS Trick Fan Club” (I’d hate to be the only member left, plus your dues are non-refundable).

destroyed-hotel-room

Do you know how exhausting it is to party like Motley Crue…by yourself?!?

 
Anyways…back on topic.  The ‘identifier’ is a line available in the Details Window for any result item.
pic1

 

You can type in any kind of name in the cell to the right.  Note that you need to enter the name in before you evaluate the result item, or else you will see that the right cell is gray (meaning you cannot edit it).  If this happens, simply RMB on the result item in the tree and select ‘Clear Generated Data’.  That will empty the ‘bucket’ of that result item and let you edit the details of it (it WILL NOT clear out your result file…unless you RMB on ‘Solution’).

 

pic2 pic3

Identifier cell after result has been evaluated

To fix, RMB and select ‘Clear Generated Data’

 
The benefit to using the identifier is that you can then create a user-defined result and type in an expression using these identifiers.  Here’s the documentation section that discusses the available functions:
pic4
Lots of words…but pretty intuitive function definitions
 
The thing to note up there is the order you define the function depends on if you’re operating off of scalars or vectors (I’ll explain below).  Let’s start out by first defining our UX and UY identifiers in our post-processing section:
 
pic5 pic6
X-Direction, Identifier = d_ux Y-Direction, Identifier = d_uy
 
After I’ve defined both of these identifiers, I insert a User Defined Result.  Next, I just type in the expression I want it to evaluate:
pic7 pic8
 
Going back to the issue of scalars vs arrays, let’s say I wanted to add some type of constant to one of my user defined results.  In this case let’s assume I know that there’s an additional .5-in of rigid body motion that I want to plot.  To do this, I need to understand that the identifier d_ux represents an array of information (node vs displacement).  If I want to add a scalar (.5), I need to enter the expression d_ux+.5 (NOT .5+d_ux). 
 
If I had multiple load-steps, I could scope a stress result to a specific time-point and then perform a similar operation.  That would give me the stress increase due to the load change in between load-steps.
pic9 pic10 pic11
 
The thing to watch out here is to make sure that you stay consistent in what you’re operating on.  Sure you can add stress and displacement together, but that’s not really going to get you anywhere.
 
pic12 nobel-medal
d_ux*10000+d_seqv…everyone knows that [in]+[psi]=[Oatis] For outstanding achievement in the field of flat-plate-with-hole-in-it analysis
 
Also make sure that other details of identifiers you’re combining are consistent (e.g. coordinate system, integration option, etc).
 
For all those MAPDL users, think of this as exposing most of the *voper command within the Mechanical interface.  The main difference is that you don’t have to worry about defining your array size, and it’s incredibly easy to get the data out (RMB > Export…rather than fighting your way through fortran or C formatters).
 
Enjoy!

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

Technical Expertise to Enable your Additive Manufacturing Success.

Share this post:

Upcoming Events

Apr 21
, 2026
Reduce Component Weight in Demanding Service Conditions - Webinar
Apr 22
, 2026
Certification by Analysis for Propulsion Systems: Building Confidence through Modeling, Uncertainty, and Credibility - Webinar
Apr 22
, 2026
Modeling a Pressurized Water Reactor in Flownex - Webinar
Apr 22
, 2026
Ansys 2026 R1: Ansys Discovery What’s New
Apr 23
, 2026
Access the Right Material Data Directly Inside Your Simulation Workflow - Webinar
Apr 23
, 2026
Ansys 2026 R1: Ansys Digital Twin What’s New
Apr 27
- Apr 30
, 2026
Nuclear and Emerging Technologies for Space (NETS) 2026
Apr 28
, 2026
Uncertainty Quantification for Real‑World Model Deployment in Industrial Systems - Webinar
Apr 28
, 2026
Ansys 2026 R1: Ansys Sherlock and Electronics Reliability What’s New
Apr 29
, 2026
Ansys 2026 R1: Structural Mechanics What’s New
Apr 30
, 2026
Ansys 2026 R1: What’s New in Ansys Optics
May 07
, 2026
Ansys 2026 R1: Ansys LS-DYNA What's New
May 13
, 2026
2026 Arizona Manufacturing Showcase
Jun 18
, 2026
E-Mobility and Clean Energy Summit
Jul 15
, 2026
Arizona Aerospace Summit
Aug 10
- Aug 11
, 2026
2026 CEO Leadership Retreat + Golf Tournament
Oct 21
, 2026
2026 Southern Arizona Tech + Business Expo
Nov 18
, 2026
2026 Governor’s Celebration of Innovation

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: