


{"id":426497,"date":"2025-03-21T19:39:17","date_gmt":"2025-03-21T19:39:17","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/"},"modified":"2025-03-21T19:39:17","modified_gmt":"2025-03-21T19:39:17","slug":"apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/","title":{"rendered":"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh"},"content":{"rendered":"<p>&lt;p&gt;I am just starting to learn MAPDL. Hopefully this is a simple question.&lt;\/p&gt;&lt;p&gt;In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1.&nbsp; I create a mesh of SHELL181 elements on 3 AREAs of that volume and am trying to use MATID 4 for those to change from a porous material to a non-porous hyperelastic material.&nbsp; I have some APDL code below to look at. When I read this file into Mechanical APDL, I get an error. Shell element 1063 does not have a valid section ID or real constants.&nbsp;&lt;\/p&gt;&lt;p&gt;This is a follow-on question to this discussion:&nbsp;<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pore-pressure-analysis-with-cpt215-elements-porous-elasticity-and-pm\/\">https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pore-pressure-analysis-with-cpt215-elements-porous-elasticity-and-pm\/<\/a>&lt;\/p&gt;<\/p>\n<pre>finish&lt;br&gt;\/clear&lt;br&gt;! units of mm kg and N&lt;br&gt;\/TITLE, PorousElastic_PM_Skin&lt;br&gt;\/prep7&lt;br&gt;ET,1,CPT215&lt;br&gt;keyopt,1,12,1&lt;br&gt;TB,PELAS,1,1,,POISSON&lt;br&gt;TBDATA,1,0.1,10,0.1,0.45&lt;br&gt;FPX=0.1e-2&lt;br&gt;TB,PM,1,,,PERM&lt;br&gt;TBDATA,1,FPX&lt;br&gt;ETABLE,p_pres,PMSV,PPRE&lt;br&gt;! create and mesh geometry&lt;br&gt;block,,80,,20,,6&lt;br&gt;cyl4,20,,6,,,,6&lt;br&gt;cyl4,60,,6,,,,6&lt;br&gt;vsbv,1,all&lt;br&gt;VSEL,ALL&lt;br&gt;MSHAPE,0,3D&lt;br&gt;ESIZE,2&lt;br&gt;VSWEEP,4,18&lt;br&gt;! Define a new material and create a skin of elements on 3 faces of the volume.&lt;br&gt;TB,HYPE,4,1,1,NEO&nbsp;&lt;br&gt;TBDATA,1,0.003,50000000&lt;br&gt;ET,4,SHELL181&lt;br&gt;keyop,4,1,1 &nbsp; &nbsp; &nbsp; &nbsp; ! Membrane stiffness only&lt;br&gt;SECTYPE,4,SHELL ! Define shell section&lt;br&gt;SECDATA,1.0,4 ! Define section data, THICKNESS, MATID&lt;br&gt;ASEL,S,AREA,,4,6,1&lt;br&gt;AMESH,ALL,&lt;br&gt;esel,all&lt;br&gt;! apply symmetry BCs&lt;br&gt;nsel,s,loc,y,0&lt;br&gt;d,all,uy&lt;br&gt;nsel,s,loc,z,0&lt;br&gt;d,all,uz&lt;br&gt;! fix one node in x&lt;br&gt;nsel,r,loc,y,0&lt;br&gt;nsel,r,loc,x,0&lt;br&gt;d,all,ux&lt;br&gt;! apply pressure loads to areas 9 and 13&lt;br&gt;pp_inlet=1.1&lt;br&gt;pp_outlet=1.0&lt;br&gt;SFA,9,1,PRES,pp_inlet&lt;br&gt;SFA,13,1,PRES,pp_outlet&lt;br&gt;finish&lt;br&gt;\/solu&lt;br&gt;antype,0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! static analysis&lt;br&gt;nlgeom,on &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! Turn on Large Deformation&lt;br&gt;eqsl,sparse,,,,,1&lt;br&gt;solve&lt;br&gt;autots,on &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! Turn on auto time stepping&lt;br&gt;nsub,20,1000,10,OFF&lt;br&gt;time,1.&lt;br&gt;finish&lt;br&gt;!\/view,1,1,2,3&lt;br&gt;!\/expand,1,rect,half,0,0,-1e-6&lt;br&gt;!\/expand,2,rect,half,0,-1e-6,0,2,rect,half,0,0,-1e-6&lt;br&gt;\/post1&lt;br&gt;set,last&lt;br&gt;!plesol,s,eqv&lt;br&gt;esel,all&lt;br&gt;ETABLE,p_pres,PMSV,PPRE&lt;br&gt;ETABLE,f_flux_x,FFLX,X&lt;br&gt;ETABLE,f_flux_y,FFLX,Y&lt;br&gt;ETABLE,f_flux_z,FFLX,<\/pre>\n","protected":false},"template":"","class_list":["post-426497","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I am just starting to learn MAPDL. Hopefully this is a simple question.In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1. I create a mesh of SHELL181 elements on 3 AREAs of that volume and am\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/\" \/>\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=\"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"I am just starting to learn MAPDL. Hopefully this is a simple question.In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1. I create a mesh of SHELL181 elements on 3 AREAs of that volume and am\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-03-21T19:39:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-03-21T19:39:17+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I am just starting to learn MAPDL. Hopefully this is a simple question.In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1. I create a mesh of SHELL181 elements on 3 AREAs of that volume and am\" \/>\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\\\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\\\/#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\\\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\\\/#listItem\",\"name\":\"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\\\/#listItem\",\"position\":3,\"name\":\"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh\",\"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\\\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\\\/\",\"name\":\"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh | Ansys Learning Forum\",\"description\":\"I am just starting to learn MAPDL. Hopefully this is a simple question.In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1. I create a mesh of SHELL181 elements on 3 AREAs of that volume and am\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\\\/#breadcrumblist\"},\"datePublished\":\"2025-03-21T19:39:17+00:00\",\"dateModified\":\"2025-03-21T19:39:17+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":"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh | Ansys Learning Forum","description":"I am just starting to learn MAPDL. Hopefully this is a simple question.In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1. I create a mesh of SHELL181 elements on 3 AREAs of that volume and am","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/#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\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/#listItem","name":"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/#listItem","position":3,"name":"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh","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\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/","name":"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh | Ansys Learning Forum","description":"I am just starting to learn MAPDL. Hopefully this is a simple question.In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1. I create a mesh of SHELL181 elements on 3 AREAs of that volume and am","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/#breadcrumblist"},"datePublished":"2025-03-21T19:39:17+00:00","dateModified":"2025-03-21T19:39:17+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":"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh | Ansys Learning Forum","og:description":"I am just starting to learn MAPDL. Hopefully this is a simple question.In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1. I create a mesh of SHELL181 elements on 3 AREAs of that volume and am","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/","article:published_time":"2025-03-21T19:39:17+00:00","article:modified_time":"2025-03-21T19:39:17+00:00","twitter:card":"summary_large_image","twitter:title":"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh | Ansys Learning Forum","twitter:description":"I am just starting to learn MAPDL. Hopefully this is a simple question.In MAPDL a volume was created using BLOCK. A mesh of CPT215 hex elements were created by VSWEEP between two AREA IDs of that volume using MATID 1. I create a mesh of SHELL181 elements on 3 AREAs of that volume and am"},"aioseo_meta_data":{"post_id":"426497","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":"default","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":false,"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":"2025-10-19 13:49:48","updated":"2025-10-19 13:49:48","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\tAPDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh\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":"APDL code to apply a skin of SHELL181 elements on some AREAs of a VOLUME mesh","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/apdl-code-to-apply-a-skin-of-shell181-elements-on-some-areas-of-a-volume-mesh\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["426497"],"_bbp_subscription":["240","20905"],"_bbp_author_ip":["8.9.83.120"],"_bbp_last_reply_id":["426820"],"_bbp_last_active_id":["426820"],"_bbp_last_active_time":["2025-03-25 15:35:52"],"_bbp_reply_count":["4"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["240","20905"],"_btv_view_count":["451"],"_bbp_topic_status":["unanswered"]},"test":"peteroznewman"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/426497","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\/426497\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=426497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}