


{"id":283846,"date":"2023-05-14T17:12:14","date_gmt":"2023-05-14T17:12:14","guid":{"rendered":"\/forum\/forums\/topic\/how-to-use-nsel-command-with-coupled-field-element-nodes\/"},"modified":"2023-05-18T10:18:26","modified_gmt":"2023-05-18T10:18:26","slug":"how-to-use-nsel-command-with-coupled-field-element-nodes","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-use-nsel-command-with-coupled-field-element-nodes\/","title":{"rendered":"How to use NSEL command with coupled field element nodes ?"},"content":{"rendered":"<p style=\"color: #252525\">Hi Everyone,<\/p>\n<p style=\"color: #252525\">My structure is a cantilever plate (shell element) equipped with 12 piezo patches (solid 226 element with a thickness of 1mm) that are attached to the midplane of the plate shell element.<\/p>\n<p style=\"color: #252525\">I try to assign a load of 100 volts to the top surface of all piezo patches and 0 volts to the bottom surface ( which is contacted to the plate ) of them. and carry out harmonic analysis&nbsp;<\/p>\n<p style=\"color: #252525\">I used the next APDL command to do the selection process in Workbench 22R1<\/p>\n<p style=\"color: #252525\">NSEL,S,LOC,Z,0.001<\/p>\n<p style=\"color: #252525\">CM,top_elec,NODE<br style=\"color: #252525\">CP,1,VOLT,ALL<br style=\"color: #252525\">*GET,N1,NODE,,NUM,MIN<br style=\"color: #252525\">ALLSEL<br style=\"color: #252525\">D,top_elec,VOLT,100<\/p>\n<p style=\"color: #252525\">to assign the 100 volt load to the top surface of all piezo patches&nbsp;<\/p>\n<p style=\"color: #252525\">NSEL,S,D,VOLT<br style=\"color: #252525\">NSEL,R,LOC,Z,0<\/p>\n<p style=\"color: #252525\">CM,bottom_elec,NODE<br style=\"color: #252525\">CP,2,VOLT,ALL<br style=\"color: #252525\">*GET,N2,NODE,,NUM,MIN<br style=\"color: #252525\">ALLSEL<\/p>\n<p style=\"color: #252525\">D,bottom_elec,VOLT,0<\/p>\n<p style=\"color: #252525\">to assign the 0 volt load to the top surface of all piezo patches&nbsp;<\/p>\n<p style=\"color: #252525\">Then I did the harmonic analysis and compared the results with those obtained by using the GUI to do the selection process. &#8230;. the results were identical for the case of usage of the APDL node selection command for the upper surface only, when trying to use the APDL node selection command for the bottom surface, the results went wrong.<\/p>\n<p style=\"color: #252525\">What do you think are the results of this error ?<\/p>\n<p style=\"color: #252525\">OR is it possible to select nodes by the selection of the element type ? and how ?<\/p>\n<p style=\"color: #252525\">Regards<\/p>\n","protected":false},"template":"","class_list":["post-283846","topic","type-topic","status-closed","hentry","topic-tag-apdl","topic-tag-gui","topic-tag-piezo","topic-tag-workbench"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["51194","23687"],"_bbp_author_ip":["96.7.74.173"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["3136"],"_edit_lock":["1684084492:117528"],"_bbp_status":["publish"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["283846"],"_bbp_forum_id":["27791"],"_bbp_engagement":["23687","51194"],"_bbp_voice_count":["2"],"_bbp_reply_count":["4"],"_bbp_last_reply_id":["284636"],"_bbp_last_active_id":["284636"],"_bbp_last_active_time":["2023-05-18 10:17:46"]},"test":"md_abdelrhimhotmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/283846","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\/283846\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=283846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}