


{"id":312241,"date":"2023-10-19T08:04:24","date_gmt":"2023-10-19T08:04:24","guid":{"rendered":"\/forum\/forums\/topic\/how-to-apply-the-current-along-the-z-direction\/"},"modified":"2023-10-19T08:04:24","modified_gmt":"2023-10-19T08:04:24","slug":"how-to-apply-the-current-along-the-z-direction","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-apply-the-current-along-the-z-direction\/","title":{"rendered":"How to apply the current along the -z direction?"},"content":{"rendered":"<p>Simulation platform: ANSYS Mechanical APDL<\/p>\n<p>Dear all,<\/p>\n<p>&nbsp;I tried to apply a current on one surface in the 3D model by command as below:<\/p>\n<p>ALLSEL,ALL<br \/>VSEL,S,VOLU,,13<br \/>ASLV,S<br \/>ASEL,R,LOC,Z,8.33E-3<br \/>NSLA,S,1<br \/>CM,CURRNODE,NODE<br \/>CP,1,VOLT,ALL<br \/>*GET,TotalNodes,NODE,0,COUNT<br \/>F,ALL,AMPS,I\/TotalNodes<\/p>\n<p>As a result, the current was applied to the nodes along the X-direction, which was parallel to the surface. I wonder how to change the current direction to normal to the surface that is along the -z direction. I tried to modify the node coordinate by NMODIF and create another coordinate system with a different direction compared to the default Cartesian coordinate system. But they didn&#8217;t work.<\/p>\n<p>looking forward to your help.<\/p>\n","protected":false},"template":"","class_list":["post-312241","topic","type-topic","status-closed","hentry","topic-tag-ansys-apdl","topic-tag-current"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["269301","50680"],"_bbp_author_ip":["96.7.218.215"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["556"],"_bbp_likes_count":["1"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["312241"],"_bbp_forum_id":["27793"],"_bbp_engagement":["50680","269301"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["312419"],"_bbp_last_active_id":["312419"],"_bbp_last_active_time":["2023-10-19 22:06:12"]},"test":"zsenergy-aau-dk"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/312241","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\/312241\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=312241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}