


{"id":396221,"date":"2024-12-04T09:25:41","date_gmt":"2024-12-04T09:25:41","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/"},"modified":"2024-12-04T11:05:55","modified_gmt":"2024-12-04T11:05:55","slug":"forcemoment-extraction-fsum-in-act-ansys-mechanical","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/","title":{"rendered":"Force\/Moment extraction (&#8220;FSUM&#8221;) in ACT Ansys Mechanical"},"content":{"rendered":"<p>&lt;p&gt;Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:&lt;\/p&gt;<\/p>\n<pre>CMSEL, S, my_named_selection&lt;br&gt;RSYS, 0&lt;br&gt;FSUM, RSYS,&lt;br&gt;*GET, Fx, FSUM, 0, ITEM, FX<\/pre>\n<p>&lt;p&gt;I would like to do something similar using ACT Python scripting.&lt;\/p&gt;&lt;p&gt;From <a title=\"Named selection : node ids, position and node connectivity with DPF\" href=\"https:\/\/discuss.ansys.com\/discussion\/1724\/named-selection-node-ids-position-and-node-connectivity-with-dpf\" target=\"_blank\" rel=\"noopener\">this discussion<\/a>, it is possible to get the mesh and the node IDs associated to a named selection.&lt;\/p&gt;&lt;p&gt;From the &#8220;ACT Customization guide for Mechanical&#8221; we learn how to GetResultData() from an analysis, e.g.:&lt;\/p&gt;<\/p>\n<pre>analysis = ExtAPI.DataModel.AnalysisList[0]&lt;br&gt;reader = analysis.GetResultsData()&lt;br&gt;something = reader.GetResult(\"?????\")  # What should I retrieve here?&lt;br&gt;something.GetNodeValues(nodeIds)  # nodeIds obtained from the aformentioned discussion using dpf.<\/pre>\n<p>&lt;p&gt;&lt;span style=&#8221;font-size: 14pt;&#8221;&gt;<strong>However, I do not know what to retrieve in order to be able to get the the sum of the forces at the nodes of the named selection.<\/strong>&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;I have read somewhere that it is possible to right-click the &#8220;Solution&#8221; of an analysis in Ansys Mechanical, select &#8220;Worksheet: Result Summary&#8221;, and then select &#8220;Available Solution Quantities&#8221; in order to view which data types can be retrieved using GetResult(). However, my worksheet only shows &#8220;Invalid Result File&#8221;, even though no errors were thrown and I can still view all other results (such as probes).&lt;\/p&gt;&lt;p&gt;This topic is a continuation of <a title=\"FSUM in ANSYS Mechanical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fsum-in-ansys-mechanical\/\" target=\"_blank\" rel=\"noopener\">FSUM in ANSYS Mechanical<\/a>, which I do not understand how it ended being helpful, since as far as I know it is not possible to create a Force Reaction probe associated to a surface, only to boundary conditions.&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-396221","topic","type-topic","status-closed","hentry","topic-tag-ACTAnsysACTAnsys-1","topic-tag-automationACT-1","topic-tag-act","topic-tag-FSUM-1","topic-tag-mechanical","topic-tag-named-selection","topic-tag-named-selections","topic-tag-nodal-force-2","topic-tag-nodal-results","topic-tag-python-scripting"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:CMSEL, S, my_named_selectionRSYS, 0FSUM, RSYS,*GET, Fx, FSUM, 0, ITEM, FXI would like to do something similar using ACT Python scripting.From this discussion, it is possible to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Force\/Moment extraction (\u201cFSUM\u201d) in ACT Ansys Mechanical | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:CMSEL, S, my_named_selectionRSYS, 0FSUM, RSYS,*GET, Fx, FSUM, 0, ITEM, FXI would like to do something similar using ACT Python scripting.From this discussion, it is possible to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-12-04T09:25:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-12-04T11:05:55+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Force\/Moment extraction (\u201cFSUM\u201d) in ACT Ansys Mechanical | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:CMSEL, S, my_named_selectionRSYS, 0FSUM, RSYS,*GET, Fx, FSUM, 0, ITEM, FXI would like to do something similar using ACT Python scripting.From this discussion, it is possible to\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/forcemoment-extraction-fsum-in-act-ansys-mechanical\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mechanical\\\/#listItem\",\"name\":\"mechanical\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mechanical\\\/#listItem\",\"position\":3,\"name\":\"mechanical\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mechanical\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/forcemoment-extraction-fsum-in-act-ansys-mechanical\\\/#listItem\",\"name\":\"Force\\\/Moment extraction (&#8220;FSUM&#8221;) in ACT Ansys Mechanical\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/forcemoment-extraction-fsum-in-act-ansys-mechanical\\\/#listItem\",\"position\":4,\"name\":\"Force\\\/Moment extraction (&#8220;FSUM&#8221;) in ACT Ansys Mechanical\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mechanical\\\/#listItem\",\"name\":\"mechanical\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/forcemoment-extraction-fsum-in-act-ansys-mechanical\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/forcemoment-extraction-fsum-in-act-ansys-mechanical\\\/\",\"name\":\"Force\\\/Moment extraction (\\u201cFSUM\\u201d) in ACT Ansys Mechanical | Ansys Learning Forum\",\"description\":\"Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:CMSEL, S, my_named_selectionRSYS, 0FSUM, RSYS,*GET, Fx, FSUM, 0, ITEM, FXI would like to do something similar using ACT Python scripting.From this discussion, it is possible to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/forcemoment-extraction-fsum-in-act-ansys-mechanical\\\/#breadcrumblist\"},\"datePublished\":\"2024-12-04T09:25:41+00:00\",\"dateModified\":\"2024-12-04T11:05:55+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Force\/Moment extraction (\u201cFSUM\u201d) in ACT Ansys Mechanical | Ansys Learning Forum","description":"Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:CMSEL, S, my_named_selectionRSYS, 0FSUM, RSYS,*GET, Fx, FSUM, 0, ITEM, FXI would like to do something similar using ACT Python scripting.From this discussion, it is possible to","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/#listItem","name":"mechanical"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/#listItem","position":3,"name":"mechanical","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/#listItem","name":"Force\/Moment extraction (&#8220;FSUM&#8221;) in ACT Ansys Mechanical"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/#listItem","position":4,"name":"Force\/Moment extraction (&#8220;FSUM&#8221;) in ACT Ansys Mechanical","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/#listItem","name":"mechanical"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/","name":"Force\/Moment extraction (\u201cFSUM\u201d) in ACT Ansys Mechanical | Ansys Learning Forum","description":"Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:CMSEL, S, my_named_selectionRSYS, 0FSUM, RSYS,*GET, Fx, FSUM, 0, ITEM, FXI would like to do something similar using ACT Python scripting.From this discussion, it is possible to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/#breadcrumblist"},"datePublished":"2024-12-04T09:25:41+00:00","dateModified":"2024-12-04T11:05:55+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Force\/Moment extraction (\u201cFSUM\u201d) in ACT Ansys Mechanical | Ansys Learning Forum","og:description":"Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:CMSEL, S, my_named_selectionRSYS, 0FSUM, RSYS,*GET, Fx, FSUM, 0, ITEM, FXI would like to do something similar using ACT Python scripting.From this discussion, it is possible to","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/","article:published_time":"2024-12-04T09:25:41+00:00","article:modified_time":"2024-12-04T11:05:55+00:00","twitter:card":"summary_large_image","twitter:title":"Force\/Moment extraction (\u201cFSUM\u201d) in ACT Ansys Mechanical | Ansys Learning Forum","twitter:description":"Using APDL commands, we can get the sum of the nodal forces and moments of all nodes associated to a surface defined through a named selection using FSUM. For example:CMSEL, S, my_named_selectionRSYS, 0FSUM, RSYS,*GET, Fx, FSUM, 0, ITEM, FXI would like to do something similar using ACT Python scripting.From this discussion, it is possible to"},"aioseo_meta_data":[],"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/\" title=\"mechanical\">mechanical<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tForce\/Moment extraction (\u201cFSUM\u201d) in ACT Ansys Mechanical\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"mechanical","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/"},{"label":"Force\/Moment extraction (&#8220;FSUM&#8221;) in ACT Ansys Mechanical","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/forcemoment-extraction-fsum-in-act-ansys-mechanical\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["396221"],"_bbp_subscription":["489089","58821"],"_bbp_author_ip":["139.63.19.44"],"_bbp_last_reply_id":["396246"],"_bbp_last_active_id":["396246"],"_bbp_last_active_time":["2024-12-04 10:56:37"],"_bbp_reply_count":["3"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["489089","58821"],"_btv_view_count":["2141"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"]},"test":"breno-dealmeidatno-nl"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/396221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/396221\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=396221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}