


{"id":160709,"date":"2021-07-26T16:56:16","date_gmt":"2021-07-26T16:56:16","guid":{"rendered":"\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/"},"modified":"2021-08-03T17:20:48","modified_gmt":"2021-08-03T17:20:48","slug":"how-to-create-a-stiffness-matrix-in-apdl","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/","title":{"rendered":"How to Create a Stiffness Matrix in APDL"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Dear Support Engineers:<\/p>\n<p>Is it possible that ANSYS APDL can <strong>create <\/strong>(or <strong>provide<\/strong>) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to <strong>provide <\/strong>me the <strong>stiffness <\/strong>matrix? Is it possible?<\/p>\n<p>I am using the *DMAT command. How could I let APDL know that I am interested to get the stiffness matrix as an output? Could you please have a look my APDL code as listed below? <\/p>\n<p>!! Comment<\/p>\n<p>!! Extracting Stiffness Matrix from ANSYS APDL<\/p>\n<p>finish&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! It will finish all previous work<\/p>\n<p>\/clear&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! Clean woking window<\/p>\n<p>\/title, How to Get Stiffness Matrix?<\/p>\n<p>\/prep7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! Enter to pre-processor<\/p>\n<p><\/p>\n<\/p>\n<p>!! Choose a proper element type<\/p>\n<p>et,1,180&nbsp;&nbsp;&nbsp;!! et &#8211; element type<\/p>\n<p>A=0.125&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! Area, in^2<\/p>\n<p>r,1,A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! r &#8212; real consant number<\/p>\n<p>!! Define material<\/p>\n<p>mp,ex,1,10e6&nbsp;&nbsp;&nbsp;!! mp &#8212; material properties<\/p>\n<p>mp,prxy,1,0.3&nbsp;&nbsp;&nbsp;!! mp &#8212; <\/p>\n<p>!! Make FE Model, make nodes and elements<\/p>\n<p>L= 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! L &#8212; length, 10 inch<\/p>\n<p>n,1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! n &#8212; making nodes<\/p>\n<p>n,2,L<\/p>\n<p>\/pnum,node,1&nbsp;&nbsp;&nbsp;!! p+num &#8212; plot numbering<\/p>\n<p>!! Make elements<\/p>\n<p>!! Before making elements, we must recall ID #<\/p>\n<p>type,1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! type &#8212; element type<\/p>\n<p>real,1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! real &#8212; real constant<\/p>\n<p>mat,1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! mat &#8211;materials<\/p>\n<p>e,1,2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! e &#8212; making elements by node by node<\/p>\n<p>\/pnum,elem,1&nbsp;&nbsp;&nbsp;!! pnum &#8212; plot numbering<\/p>\n<p>eplot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! e+plot &#8212; element plot<\/p>\n<p>!! Apply BC&nbsp;&#8211; Boundary Conditions<\/p>\n<p>d,1,all,0&nbsp;&nbsp;&nbsp;!! d &#8212; dof at nodes<\/p>\n<p>!! Apply force<\/p>\n<p>f,2,fx,1000&nbsp;&nbsp;&nbsp;!! f &#8212; force at nodes<\/p>\n<p>alls&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! all select<\/p>\n<p>fini&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! finish with pre-processor<\/p>\n<p><\/p>\n<\/p>\n<p>\/solution&nbsp;&nbsp;&nbsp;!! enter solution<\/p>\n<p><strong>*Dmat,Matkd,D,???<\/strong><\/p>\n<p><strong>*print,Matkd,K???<\/strong><\/p>\n<p>solve&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! solve <\/p>\n<p>fini&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;!! finish with solutions<\/p>\n<p><\/p>\n<\/p>\n<p>Any suggestions will be highly appreciated. Thanks,<\/p>\n<p>Awlad.<\/p>\n","protected":false},"template":"","class_list":["post-160709","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Dear Support Engineers:Is it possible that ANSYS APDL can create (or provide) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to provide me the stiffness matrix? Is it possible?I am using the *DMAT command. How could I let APDL know that I am interested to get\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/\" \/>\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=\"How to Create a Stiffness Matrix in APDL | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Dear Support Engineers:Is it possible that ANSYS APDL can create (or provide) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to provide me the stiffness matrix? Is it possible?I am using the *DMAT command. How could I let APDL know that I am interested to get\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-07-26T16:56:16+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-08-03T17:20:48+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Create a Stiffness Matrix in APDL | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Dear Support Engineers:Is it possible that ANSYS APDL can create (or provide) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to provide me the stiffness matrix? Is it possible?I am using the *DMAT command. How could I let APDL know that I am interested to get\" \/>\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\\\/how-to-create-a-stiffness-matrix-in-apdl\\\/#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\\\/how-to-create-a-stiffness-matrix-in-apdl\\\/#listItem\",\"name\":\"How to Create a Stiffness Matrix in APDL\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/how-to-create-a-stiffness-matrix-in-apdl\\\/#listItem\",\"position\":3,\"name\":\"How to Create a Stiffness Matrix in APDL\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}}]},{\"@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\\\/how-to-create-a-stiffness-matrix-in-apdl\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/how-to-create-a-stiffness-matrix-in-apdl\\\/\",\"name\":\"How to Create a Stiffness Matrix in APDL | Ansys Learning Forum\",\"description\":\"Dear Support Engineers:Is it possible that ANSYS APDL can create (or provide) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to provide me the stiffness matrix? Is it possible?I am using the *DMAT command. How could I let APDL know that I am interested to get\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/how-to-create-a-stiffness-matrix-in-apdl\\\/#breadcrumblist\"},\"datePublished\":\"2021-07-26T16:56:16+00:00\",\"dateModified\":\"2021-08-03T17:20:48+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":"How to Create a Stiffness Matrix in APDL | Ansys Learning Forum","description":"Dear Support Engineers:Is it possible that ANSYS APDL can create (or provide) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to provide me the stiffness matrix? Is it possible?I am using the *DMAT command. How could I let APDL know that I am interested to get","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/#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\/how-to-create-a-stiffness-matrix-in-apdl\/#listItem","name":"How to Create a Stiffness Matrix in APDL"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/#listItem","position":3,"name":"How to Create a Stiffness Matrix in APDL","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}}]},{"@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\/how-to-create-a-stiffness-matrix-in-apdl\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/","name":"How to Create a Stiffness Matrix in APDL | Ansys Learning Forum","description":"Dear Support Engineers:Is it possible that ANSYS APDL can create (or provide) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to provide me the stiffness matrix? Is it possible?I am using the *DMAT command. How could I let APDL know that I am interested to get","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/#breadcrumblist"},"datePublished":"2021-07-26T16:56:16+00:00","dateModified":"2021-08-03T17:20:48+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":"How to Create a Stiffness Matrix in APDL | Ansys Learning Forum","og:description":"Dear Support Engineers:Is it possible that ANSYS APDL can create (or provide) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to provide me the stiffness matrix? Is it possible?I am using the *DMAT command. How could I let APDL know that I am interested to get","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/","article:published_time":"2021-07-26T16:56:16+00:00","article:modified_time":"2021-08-03T17:20:48+00:00","twitter:card":"summary_large_image","twitter:title":"How to Create a Stiffness Matrix in APDL | Ansys Learning Forum","twitter:description":"Dear Support Engineers:Is it possible that ANSYS APDL can create (or provide) the stiffness matrix? I am not asking to import the existing stiffness matrix. Rather, I want APDL to provide me the stiffness matrix? Is it possible?I am using the *DMAT command. How could I let APDL know that I am interested to get"},"aioseo_meta_data":{"post_id":"160709","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 20:28:44","updated":"2024-10-28 20:28:44","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"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\tHow to Create a Stiffness Matrix in APDL\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":"How to Create a Stiffness Matrix in APDL","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-create-a-stiffness-matrix-in-apdl\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":[""],"_bbp_old_reply_author_name_id":["Anonymous"],"_bbp_old_is_reply_anonymous_id":["false"],"_btv_view_count":["6958"],"_bbp_likes_count":["0"],"_bbp_subscription":["237700"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["160709"],"_bbp_forum_id":["27791"],"_bbp_engagement":["3599","50680","58821"],"_bbp_voice_count":["3"],"_bbp_reply_count":["8"],"_bbp_last_reply_id":["186769"],"_bbp_last_active_id":["186769"],"_bbp_last_active_time":["2021-08-03 17:20:48"]},"test":"awlad"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/160709","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\/160709\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=160709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}