


{"id":461883,"date":"2026-07-28T15:54:49","date_gmt":"2026-07-28T15:54:49","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/"},"modified":"2026-07-28T16:29:30","modified_gmt":"2026-07-28T16:29:30","slug":"pass-element-nodal-displacements-to-user-defined-material-subroutine","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/","title":{"rendered":"Pass Element Nodal Displacements to User Defined Material Subroutine"},"content":{"rendered":"<p>&lt;p&gt;&lt;p&gt;I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field.&nbsp;&lt;\/p&gt;&lt;p&gt;How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the code in the object file version of LS-DYNA. However, many of the variables are not defined, e.g. in commented code sections, and the naming convention doesn&#8217;t not provide a sufficient description to make an educated guess.&nbsp;&lt;\/p&gt;&lt;p&gt;I know it seems a little odd but the deformation gradient is right there which is one step removed from the data I need. I would think the displacements are nearby I just don&#8217;t know where to find them.&lt;\/p&gt;&lt;p&gt;Thanks in advance for any assistance you can offer.&nbsp;&lt;\/p&gt;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;&lt;p&gt; Edit 7\/28\/2026 12:15p &lt;\/p&gt;&lt;\/p&gt;&lt;p&gt;&lt;p&gt; After some further digging it seems like it might be possible to define my own solid element type which has a call to the usrmat() subroutine. The user defined element subroutine has access to the nodal displacement field which I could then pass to the main user defined material subroutine usrmat() and on into the individual umatxx() subroutines where the material behavior is actually defined. Seems like a long and tedious work around. &lt;\/p&gt;&lt;\/p&gt;&lt;p&gt;&lt;p&gt; I am also wondering if the nodal displacements are more directly accessible to the user defined material subroutine through a common block data structure. That would be very straightforward and simple to use. More digging on this required. I was hoping that&#8217;s how the displacement field was referenced in the user defined element subroutine and I could just copy it but alas tis not the case. &lt;\/p&gt;&lt;\/p&gt;&lt;p&gt;&lt;p&gt; Thinking about it more here I am going to assume that the usrmat() function called from the standard solid element subroutine does not pass the nodal displacements to the usrmat() subroutine, and I would need access to that code to make that modification. Which makes me think that the user defined element is the way to go. However, if I update the subroutine call format are other parts of the code like the standard solid element function call going complain; I&#8217;m going to try this first because it is the simplest solution. If that doesn&#8217;t work then, I think one could define a custom usrmat_custom() which would be called by the user defined element and could be passed the displacement field. &lt;\/p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;&lt;p&gt; Here&#8217;s to chasing little white rabbits and jabberwockies. &lt;\/p&gt;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-461883","topic","type-topic","status-publish","hentry","topic-tag-displacement","topic-tag-material-model","topic-tag-material-property","topic-tag-nodal-displacement","topic-tag-user-defined-1","topic-tag-user-defined-function-1"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field. How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/\" \/>\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=\"Pass Element Nodal Displacements to User Defined Material Subroutine | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field. How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-28T15:54:49+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-28T16:29:30+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Pass Element Nodal Displacements to User Defined Material Subroutine | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field. How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the\" \/>\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\\\/pass-element-nodal-displacements-to-user-defined-material-subroutine\\\/#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\\\/material-property\\\/#listItem\",\"name\":\"material-property\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/material-property\\\/#listItem\",\"position\":3,\"name\":\"material-property\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/material-property\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pass-element-nodal-displacements-to-user-defined-material-subroutine\\\/#listItem\",\"name\":\"Pass Element Nodal Displacements to User Defined Material Subroutine\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pass-element-nodal-displacements-to-user-defined-material-subroutine\\\/#listItem\",\"position\":4,\"name\":\"Pass Element Nodal Displacements to User Defined Material Subroutine\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/material-property\\\/#listItem\",\"name\":\"material-property\"}}]},{\"@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\\\/pass-element-nodal-displacements-to-user-defined-material-subroutine\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pass-element-nodal-displacements-to-user-defined-material-subroutine\\\/\",\"name\":\"Pass Element Nodal Displacements to User Defined Material Subroutine | Ansys Learning Forum\",\"description\":\"I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field. How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pass-element-nodal-displacements-to-user-defined-material-subroutine\\\/#breadcrumblist\"},\"datePublished\":\"2026-07-28T15:54:49+00:00\",\"dateModified\":\"2026-07-28T16:29:30+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":"Pass Element Nodal Displacements to User Defined Material Subroutine | Ansys Learning Forum","description":"I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field. How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/#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\/material-property\/#listItem","name":"material-property"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/material-property\/#listItem","position":3,"name":"material-property","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/material-property\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/#listItem","name":"Pass Element Nodal Displacements to User Defined Material Subroutine"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/#listItem","position":4,"name":"Pass Element Nodal Displacements to User Defined Material Subroutine","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/material-property\/#listItem","name":"material-property"}}]},{"@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\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/","name":"Pass Element Nodal Displacements to User Defined Material Subroutine | Ansys Learning Forum","description":"I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field. How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/#breadcrumblist"},"datePublished":"2026-07-28T15:54:49+00:00","dateModified":"2026-07-28T16:29:30+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":"Pass Element Nodal Displacements to User Defined Material Subroutine | Ansys Learning Forum","og:description":"I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field. How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/","article:published_time":"2026-07-28T15:54:49+00:00","article:modified_time":"2026-07-28T16:29:30+00:00","twitter:card":"summary_large_image","twitter:title":"Pass Element Nodal Displacements to User Defined Material Subroutine | Ansys Learning Forum","twitter:description":"I am working on implementing a user defined material model that requires access to the displacement field directly to include some atypical components like the hessian of the displacement field. How can I pass the element nodal displacement field into the user defined material subroutine? I looked through all the documentation and a lot of the"},"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\/material-property\/\" title=\"material-property\">material-property<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPass Element Nodal Displacements to User Defined Material Subroutine\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":"material-property","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/material-property\/"},{"label":"Pass Element Nodal Displacements to User Defined Material Subroutine","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pass-element-nodal-displacements-to-user-defined-material-subroutine\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27814"],"_bbp_topic_id":["461883"],"_bbp_subscription":["695559","58821"],"_bbp_author_ip":["128.220.159.214"],"_bbp_last_reply_id":["461914"],"_bbp_last_active_id":["461914"],"_bbp_last_active_time":["2026-07-29 07:27:30"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["695559","58821"],"_btv_view_count":["80"],"_bbp_topic_status":["unanswered"],"_edit_last":["695559"],"_bbp_revision_log":["a:1:{i:461890;a:2:{s:6:\"author\";i:695559;s:6:\"reason\";s:17:\"Progress update 1\";}}"]},"test":"mwhitte6jhu-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/461883","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":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/461883\/revisions"}],"predecessor-version":[{"id":461890,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/461883\/revisions\/461890"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=461883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}