Result Transformations
By selecting a user coordinate system, you may identify and create a coordinate system within which a selected result quantity can be transformed and visualized for its verification and to give a visual reference for improved visual interpretation of the data. To access this functionality, first select a user system in the Spectrum controller and make sure the Show System option is selected:

To edit the user coordinate system, double click on the coordinate system graphic, which will enable editing of its position and rotation:

Pressing the R key switches the graphic to rotation mode, where you can drag or enter a rotation value for each axis:

Pressing the T key returns to translation mode.
If you wish to use source and target selections to determine the orientation of the coordinate system, you may do so, but note that results entities are not selectable, so you will need to enable the display of your geometry using the Viewport Display Controls and then select geometric entities to position your user coordinate system with.

You may switch the user system to a Cylindrical or Spherical system using the options on the property panel:

Here is an example of defining a cylindrical user coordinate system and positioning it logically in a model:

Once you have made changes to the type and positioning of the user coordinate system, click the green checkbox on the property panel to apply the changes to the user coordinate system and display the currently shown results using this coordinate system.

Coordinate System Component Mapping
The application labels the coordinate axes of cylindrical and spherical coordinate systems using R, Θ, Z and R, Θ, Φ respectively.
Special Considerations for 2D Elements
Out of plane stresses are not recovered, since they are assumed to be zero. This means that the radial stress component in an element of a cylindrical surface represented by a cylindrical coordinate system will be zero, while the stress in an element of a spherical surface in a spherical coordinate system's radial direction is zero. The following mapping provides the association of out of plane stress to the coordinate system used to represent the plane stresses. Note that since the out of plane stresses are not recovered the Z normal stress and shear stresses in the XZ and YZ planes are not listed in the user interface, if only 2D elements are in the model. If 3D solid elements are included in the model, then the Z, XZ, and YZ components will be listed.
Cartesian: |
Cylindrical: |
Spherical: |
|
X to X Y to Y Z to Z |
X to Ɵ Y to Z Z to R |
X to Ɵ Y to Φ Z to R |
For models with either mixed 2D and 3D or just 3D, the special mapping described above is not used.
Algorithm Used to Perform Projected Coordinate System Transformations
MSC Nastran recovers Stress at the corner node and centroid of 2D elements. The stress is represented in the element coordinate system. For CQUAD4 elements the element system is a Bisector System. For CQUAD8 elements an individual coordinate system is defined at each node.


In the example below, we show the different coordinate systems that are created for the CQUAD4 and CQUAD8 elements during the transformation of stress data from its raw solver state to the final representation in the user defined Cylindrical system:
Figure 1: Element Bisector System CQUAD4:

Figure 2: Higher Order Systems for CQUAD8:

Figure 3: Cylindrical System at the Nodes:

Figure 4: Projected Cylindrical System at the Nodes:

The following are the steps that are performed to transform the Stress from MSC Nastran represented in the Element system to its final representation in the projected user defined Cylindrical system.
Assumptions
- The user has decided not to average data at nodes shared by adjacent elements
- MSC Nastran provides Stress for each element at its corner node and centroid locations (5 Stress tensors per element)
- Apex only processes the in-plane components of the stress tensor (XX, YY, XY)
Step 1: Create the definition of the element coordinate system at each element’s node locations and its centroid location. These transformation matrices are the “input” coordinate system to the transformation algorithm as it transforms each Stress tensor.
Step 2: Create the definition of the cylindrical system at each node and element centroid of the model.
Step 3: Create the projection transformation for each node and element centroid of the model.
Step 4: Compose the transformation matrices created in steps 2 and 3. This transformation matrix represents the “output” coordinate system for the transformation algorithm as it transforms each Stress tensor.
Step 5: Perform the transformation of the tensor data using composition of the “input” and “output” transformations of Steps 1 and 4.
Projection Algorithm (Step 3 above)
To understand the change in triad orientation that occurs between Steps 3 and 4 you must understand a key section of the Projection algorithm.

In Apex the user identifies the “output” coordinate system. This is the coordinate system the final post processed Stress will be represented within.
Hard coded in Apex is the coordinate axis of this system that will be used as an initial “guess” to form the projection transformation. Apex uses coordinate axis 1. As can be seen in Figure 3 above the red first coordinate system axis essentially normal to the surface of the elements at each node. In the portion of the projection algorithm shown above the yellow highlighted test checks if the 1-axis is essentially parallel to the normal vector determined by the RVDElementNormal function (i.e. within a small TOL of parallel). It this test is true then the algorithm performs the projection of the 2 and 3 axis at that location. The algorithm then uses the axis that has the largest projection as the normal axis for the projection of the cylindrical system at the data location.
This is why one sees the realignment of the triads between steps 3 and 4 so that the blue 3-axis is normal to the surface at each data location.
Numerical Differences Between MSC Apex and Patran
As can be seen in Figures 5 and 6 below the plots of the first component of Stress (x in Patran and theta in Apex) where the user and the post processing system has set the following options are somewhat different between Patran and Apex. The cause of this difference is described below.
Figure 5: Apex Rendering:

Figure 6: Patran Rendering:

Stress/Strain Data Supplied from MSC Nastran
When MSC Nastran produces the Stress and Strain quantities for 2D elements it recovers these values per element at the element centroid and corner node locations. It does not recover it at the mid-edge node locations as shown in Figure 7 below.
Figure 7: Stress / Strain Recovery Locations

Mid-Node Stress/Strain Calculation for Quadratic Elements
The post processing code in both Apex and Patran calculates the mid-node values by using a simple arithmetic average of the edges end points. If you review the Patran and Apex figures above, you see that each mid-node value is in fact the average of its edge end point values for all but two values in Figure 6. Shown in Figure 8 below is an annotated version of Figure 6 above. It can be seen that Patran performs the simple averaging on the top and bottom edges but provides a different value for the mid-node locations of the right and left edges of element 8.
Figure 8: Patran Mid-Node value calculations for Element 8

This is one of the differences seen when comparing Apex to Patran for this case.
The second difference for this case is seen at the other node values for this case. The values at the other nodes (excluding the left and right mid edge values for element 8) differ in a range of 0.5 to 6.3 relative percent. The difference is caused by how Patran versus Apex performs its internal coordinate system transformations. The steps that each code performs are identical but as can be seen in an example below the formulation of the source code in Patran uses 32-bit real values whereas the Apex code was updated to use 64-bit real values. The difference in accuracy of the calculations are performed down the post processing pipeline is responsible for the difference seen across these post processors. For the quadratic CQUAD8 element there are three coordinate systems that are formed and transformed between as the data is post processed. First is the creation of the transformation matrix that represents the initial Stress data at each element’s node and centroid. Second is the creation of the transformation matrix that represents the cylindrical system at the element’s node and centroid. Third is the projection transformation matrix the represents the projection of the cylindrical system at the element’s node and centroid locations.
Click here to access the starting part file to import for this tutorial.
- Log in to post comments
