


{"id":436853,"date":"2025-07-15T10:02:15","date_gmt":"2025-07-15T10:02:15","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/solve-is-not-a-recognized-begin-command-abbreviation-or-macro\/"},"modified":"2025-07-15T10:02:15","modified_gmt":"2025-07-15T10:02:15","slug":"solve-is-not-a-recognized-begin-command-abbreviation-or-macro","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/solve-is-not-a-recognized-begin-command-abbreviation-or-macro\/","title":{"rendered":"SOLVE is not a recognized BEGIN command, abbreviation, or macro."},"content":{"rendered":"<p>&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2025\/07\/15-07-2025-1752573085-mceclip1.png\" \/><img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2025\/07\/15-07-2025-1752573159-mceclip2.png\" \/>&lt;br&gt;Hello,&lt;br&gt;ive been trying to model a an aluminium plates attached to piezoelectric shunted circuit (<a title=\"Persistent link using digital object identifier\" href=\"https:\/\/doi.org\/10.1016\/j.ymssp.2018.04.041\" target=\"_blank\" rel=\"noreferrer noopener\">&lt;span class=&#8221;anchor-text&#8221;&gt;https:\/\/doi.org\/10.1016\/j.ymssp.2018.04.041&lt;\/span&gt;<\/a>) using coupled field harmonic-mechanical in ansys. I model piezoelectric patches to be solid226 elements with electrical DOF using command APDL sniphets( ET, matid, solid226, 1001). In addition ive also added fixed support on all sides of the aluminium plate, grounded the inner sides of the piezoelectric patches, added pressure of 1 Pa to one side of the plate.&nbsp;&lt;br&gt;In order to model the shunted circuit, ive additionally added a command APDL, basically coupling top surface and bot surface of the piezoelectric patches&#8217; electrical DOF to a terminal node; adding resistor in the circuit element and finally connecting circuit across top and bottom terminal node, APDL:&lt;\/p&gt;&lt;p&gt;\/PREP7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Enter preprocessor&lt;\/p&gt;&lt;p&gt;!Creating top\/bot surfaces&lt;br&gt;ALLSEL, ALL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! clear selection filters&lt;br&gt;NSEL, S, LOC, Z, 0.00125 &nbsp;!Select top surface&lt;br&gt;CM, TOP_SURF_NODES, NODE &nbsp; &nbsp; ! Create component of top surface nodes&lt;\/p&gt;&lt;p&gt;ALLSEL, ALL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! clear selection filters&lt;br&gt;NSEL, S, LOC, Z, -0.00125 &nbsp; &nbsp; &nbsp;! Select bot surface&lt;br&gt;CM, BOT_SURF_NODES, NODE &nbsp; &nbsp; ! Create component of bottom surface nodes&lt;\/p&gt;&lt;p&gt;!Creating 2 new nodes for external terminal&lt;br&gt;N, 70000, 0.25, 0.25, 0.00125 ! top terminal node&lt;br&gt;N, 70001, 0.25, 0.25, -0.00125 ! bot terminal node&lt;\/p&gt;&lt;p&gt;ETLIST&lt;\/p&gt;&lt;p&gt;!Coupling the entire surface to nodes&lt;br&gt;ALLSEL, ALL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! clear selection filters&lt;br&gt;SELTOL, 1e-8 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;!selecting tolerance&lt;\/p&gt;&lt;p&gt;!Coupling top surface&lt;br&gt;CMSEL, S, TOP_SURF_NODES&lt;br&gt;!NSEL, S, NODE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! Select top surface nodes&lt;br&gt;NSEL, A, NODE,, 70000, 70000 &nbsp; ! Add terminal node last&lt;br&gt;CP, 100, VOLT, ALL&lt;\/p&gt;&lt;p&gt;&lt;br&gt;!Coupling bot surface&lt;br&gt;CMSEL, S, BOT_SURF_NODES&lt;br&gt;!NSEL, S, NODE&lt;br&gt;NSEL, A, NODE,, 70001, 70001&lt;br&gt;CP, 101, VOLT, ALL&lt;\/p&gt;&lt;p&gt;!CP, 101, VOLT, 16001, ALL &nbsp; !All bot nodes share VOLT with 16001&lt;br&gt;ALLSEL, ALL&lt;\/p&gt;&lt;p&gt;ALLSEL, ALL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! clear selection filters&lt;br&gt;! Connect circuit element&lt;br&gt;ET, 100, CIRCU94&lt;br&gt;R, 2, 1000 &nbsp; &nbsp; &nbsp;!1kOhm&lt;br&gt;TYPE, 100&lt;br&gt;REAL, 2&lt;br&gt;E, 70000, 70001 &nbsp; &nbsp; &nbsp; &nbsp; ! Connect circuit across top and bottom&lt;\/p&gt;&lt;p&gt;&lt;br&gt;! No \/STATUS or \/SOLU here &#8211; Workbench handles that&lt;br&gt;FINISH&lt;br&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&lt;\/p&gt;&lt;p&gt;Im getting a warning like these:&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;*GET &nbsp;ANSINTER_ &nbsp;FROM &nbsp;ACTI &nbsp;ITEM=INT &nbsp; &nbsp; &nbsp; &nbsp;VALUE= &nbsp;0.00000000 &nbsp; &nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;*IF &nbsp;ANSINTER_ &nbsp;( = &nbsp; 0.00000 &nbsp; &nbsp; ) &nbsp;NE &nbsp;&lt;br&gt;&nbsp; &nbsp; &nbsp; 0 &nbsp;( = &nbsp; 0.00000 &nbsp; &nbsp; ) &nbsp;THEN &nbsp; &nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;*ENDIF&lt;\/p&gt;&lt;p&gt;&nbsp;*** WARNING *** &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CP = &nbsp; &nbsp; &nbsp; 0.766 &nbsp; TIME= 10:49:58&lt;br&gt;&nbsp;SOLVE is not a recognized BEGIN command, abbreviation, or macro. &nbsp;This &nbsp;&lt;br&gt;&nbsp;command will be ignored. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;br&gt;&nbsp;*************** Write FE CONNECTORS *********&lt;\/p&gt;&lt;p&gt;&nbsp;*** WARNING *** &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CP = &nbsp; &nbsp; &nbsp; 0.766 &nbsp; TIME= 10:49:58&lt;br&gt;&nbsp;CEWRITE is not a recognized BEGIN command, abbreviation, or macro. &nbsp; &nbsp; &nbsp;&lt;br&gt;&nbsp;This command will be ignored. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;PRINTOUT RESUMED BY \/GOP&lt;\/p&gt;&lt;p&gt;&nbsp;*GET &nbsp;_WALLASOL &nbsp;FROM &nbsp;ACTI &nbsp;ITEM=TIME WALL &nbsp;VALUE= &nbsp;10.8327778 &nbsp; &nbsp;&lt;br&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&lt;br&gt;i dont know why solve is ignored in this case, should i have approached this problem the other way?&nbsp;&lt;\/p&gt;&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-436853","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["436853"],"_bbp_author_ip":["141.30.210.37"],"_bbp_last_reply_id":["437303"],"_bbp_last_active_id":["437303"],"_bbp_last_active_time":["2025-07-21 10:51:28"],"_bbp_reply_count":["2"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["573557","18229"],"_btv_view_count":["521"],"_bbp_topic_status":["unanswered"],"_bbp_subscription":["18229","573557"]},"test":"jeremysawzy03gmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/436853","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\/436853\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=436853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}