


{"id":402416,"date":"2024-12-30T13:10:07","date_gmt":"2024-12-30T13:10:07","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pressure-vessel-modelling-using-apdl-2\/"},"modified":"2024-12-30T13:10:07","modified_gmt":"2024-12-30T13:10:07","slug":"pressure-vessel-modelling-using-apdl-2","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pressure-vessel-modelling-using-apdl-2\/","title":{"rendered":"Pressure vessel modelling using APDL"},"content":{"rendered":"<p>&lt;p&gt;Hi,&lt;br&gt;&lt;br&gt;I don&#8217;t know if this is the right forum.&lt;\/p&gt;&lt;p&gt;I&#8217;m modelling a composite pressure vessel using APDL commands. This vessel is made up of 11 layers. The 1st layer is 1mm thick and the rest are 0.6mm thick. The length of the vessel is 100mm.&lt;\/p&gt;&lt;p&gt;I fixed both ends of the vessel, however I can&#8217;t seem to select the inner curved surface area to apply an internal pressure (last paragraph of the code). I&#8217;ve inserted the code that I wrote so far.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;div&gt;\/Units,MPA&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;\/Prep7&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;UIMP, 1, ex, ey, ez, 28.3e3, 5.35e3, 5.35e3&lt;\/div&gt;&lt;div&gt;UIMP, 1, gxy, gyz, gxz, 4.56e3, 3.29e3, 4.56e3&lt;\/div&gt;&lt;div&gt;UIMP, 1, prxy, pryz, prxz, 0.281, 0.305, 0.281&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;FC,1,s,xten,522 !F1t strength&lt;\/div&gt;&lt;div&gt;FC,1,s,xcmp,-308 !F1c strength&lt;\/div&gt;&lt;div&gt;FC,1,s,yten,13.3 !F2tstrength&lt;\/div&gt;&lt;div&gt;FC,1,s,ycmp,-74.4 !F2cstrength&lt;\/div&gt;&lt;div&gt;FC,1,s,zten,13.3 !F3t=F3c (large value, do not compute)&lt;\/div&gt;&lt;div&gt;FC,1,s,zcmp,-74.4 !F2cstrength&lt;\/div&gt;&lt;div&gt;FC,1,s,xy,53.1 !F6 strength&lt;\/div&gt;&lt;div&gt;FC,1,s,yz,1e4 !F4 strength (large value do not compute)&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;UIMP, 2, ex, ey, ez, 6.01e3, 6.01e3, 6.01e3&lt;\/div&gt;&lt;div&gt;UIMP, 2, gxy, gyz, gxz, 2.27e3, 2.27e3, 2.27e3&lt;\/div&gt;&lt;div&gt;UIMP, 2, prxy, pryz, prxz, 0.31, 0.31, 0.31&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;FC,2,s,xten,56.9 !F1t strength&lt;\/div&gt;&lt;div&gt;FC,2,s,xcmp,-101.4 !F1c strength&lt;\/div&gt;&lt;div&gt;FC,2,s,yten,56.9 !F2tstrength&lt;\/div&gt;&lt;div&gt;FC,2,s,ycmp,-101.4 !F2cstrength&lt;\/div&gt;&lt;div&gt;FC,2,s,zten,56.9 !F3t=F3c (large value, do not compute)&lt;\/div&gt;&lt;div&gt;FC,2,s,zcmp,-101.4 !F2cstrength&lt;\/div&gt;&lt;div&gt;FC,2,s,xy,70.1 !F6 strength&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;!*ask, n, Number of Layers (1-10), 5&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;ET, 1, solid185,,,1&lt;\/div&gt;&lt;div&gt;KEYOPT, 1, 3, 1&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;SECTYPE, 1, shell,, jos&lt;\/div&gt;&lt;div&gt;SECDATA, 1, 2, 0, 5, chop&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECDATA, 0.6, 1, 0, 5, layer&lt;\/div&gt;&lt;div&gt;SECOFFSET, bot&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;CYLIND, 7, 14, 0, 100, 0, 360&lt;\/div&gt;&lt;div&gt;esize,2 !Element size 250mm&lt;\/div&gt;&lt;div&gt;mshape,1,3d&lt;\/div&gt;&lt;div&gt;vmesh,all&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;finish&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;\/solu&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;ALLSEL, ALL&lt;\/div&gt;&lt;div&gt;ASEL, S, LOC, Z, 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Select the circular area at Z = 0&lt;\/div&gt;&lt;div&gt;NSLA, S&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Select nodes on the selected area&lt;\/div&gt;&lt;div&gt;D, ALL, ALL, 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Fix all degrees of freedom (UX, UY, UZ)&lt;\/div&gt;&lt;div&gt;ALLSEL, ALL&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;ASEL, S, LOC, Z, 100&nbsp; &nbsp; &nbsp; &nbsp; ! Select the circular area at Z = 100 (top face)&lt;\/div&gt;&lt;div&gt;NSLA, S&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Select nodes on the selected area&lt;\/div&gt;&lt;div&gt;D, ALL, ALL, 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Fix all degrees of freedom (UX, UY, UZ)&lt;\/div&gt;&lt;div&gt;ALLSEL, ALL&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;! Select the inner curved surface area&lt;\/div&gt;&lt;div&gt;ASEL, S, LOC, X, 7&nbsp; &nbsp; !Select areas with radius R = 7&lt;\/div&gt;&lt;div&gt;ASEL, A, LOC, Y, 0&nbsp; &nbsp; !Select areas with radius R = 7&lt;\/div&gt;&lt;div&gt;ASEL, A, LOC, Z, 0, 100 !Refine the selection for Z-range from 0 to 100&lt;\/div&gt;&lt;div&gt;NSLA, S&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Select nodes on the selected area&lt;\/div&gt;&lt;div&gt;SFA, ALL, 1, PRES, 10&lt;\/div&gt;&lt;div&gt;ALLSEL, ALL&lt;\/div&gt;<\/p>\n","protected":false},"template":"","class_list":["post-402416","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["402416"],"_bbp_subscription":["472791","200"],"_bbp_author_ip":["78.133.17.246"],"_bbp_last_reply_id":["403202"],"_bbp_last_active_id":["403202"],"_bbp_last_active_time":["2025-01-02 09:24:44"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["472791","200"],"_btv_view_count":["209"],"_bbp_topic_status":["unanswered"]},"test":"josef-xerri-21um-edu-mt"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/402416","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\/402416\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=402416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}