Skip to main content

How To Plot Spring Force as a Contour Plot Using DPF

| 09.09.2022

Today’s Script Tip comes from Ayush Kumar and Vishnuram V, Senior Applications Engineers at Ansys.

Sometimes you might be interested in plotting contours on elements or nodes that are not available in mechanical and are created during the solve phase.

Examples:

  • Spring elements
  • Contact elements etc …

The methodology uses scoping.on_mesh_property operator to extract the COMBIN14(spring element) mesh and uses mapdl.smisc operator to extract the MAPDL smisc results for spring forces. We also pass the result mesh to workflow operator to plot the contours.

The below example shows how you can plot a contour on spring elements

dfp workflow code
dfp workflow code

 

dpf workflow result
dpf workflow result