


{"id":44393,"date":"2020-05-26T06:58:39","date_gmt":"2020-05-26T06:58:39","guid":{"rendered":"\/forum\/forums\/topic\/run-batch-mode-analysis-in-mapdl\/"},"modified":"2020-05-26T06:58:39","modified_gmt":"2020-05-26T06:58:39","slug":"run-batch-mode-analysis-in-mapdl","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/run-batch-mode-analysis-in-mapdl\/","title":{"rendered":"Run batch mode analysis in MAPDL"},"content":{"rendered":"<p>Hi, everybody<\/p>\n<p><\/p>\n<p>I&#8217;m trying to run a static analysis in MAPDL&#8217;s batch mode (BM). But first, I tried to run it in interactive mode (IM). The macro is the next:&nbsp;<\/p>\n<p><\/p>\n<pre>CDREAD,DB,'MATLAB2APDL','cdb',,'','' ! Import the file<br>CPINTF,ALL,0.0001,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ! Merge conincident nodes<br>\/SOLU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>SOLVE&nbsp;&nbsp;&nbsp;<br>SOLVE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;! Needed in interactive mode&nbsp;<\/pre>\n<p><\/p>\n<p>The batch file code its this simple line:<\/p>\n<p><\/p>\n<pre>SET KMP_STACKSIZE=2048k &amp; \"C:Program FilesANSYS IncANSYS Studentv194ANSYSbinwinx64MAPDL.exe\" -b -i \"COINNODE.mac\" -o \"test.out\"<\/pre>\n<p><\/p>\n<p>I add a second SOLVE in order to run the analysis in IM, and works. This doesn&#8217;t affect the execution in BM, that keeps giving the next issue:<\/p>\n<p><\/p>\n<blockquote><p><\/p>\n<p>&nbsp;*** NOTE ***&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CP =&nbsp; &nbsp; &nbsp; &nbsp;7.644&nbsp; &nbsp;TIME= 10:46:20<\/p>\n<p><\/p>\n<p>&nbsp;The Distributed Sparse Matrix Solver is currently running in the&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;in-core memory mode.&nbsp; This memory mode uses the most amount of memory&nbsp; &nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;in order to avoid using the hard drive as much as possible, which most&nbsp;&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;often results in the fastest solution time.&nbsp; This mode is recommended&nbsp; &nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;if enough physical memory is present to accommodate all of the solver&nbsp; &nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;data.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;Distributed sparse solver maximum pivot= 1.966963211E+10 at node 4147&nbsp; &nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;ROTY.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;Distributed sparse solver minimum pivot= -21.2980198 at node 2075 ROTX.&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;Distributed sparse solver minimum pivot in absolute value=&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;2.030464831E-19 at node 7037 UZ.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;NUMBER OF WARNING MESSAGES ENCOUNTERED=&nbsp; &nbsp; &nbsp; &nbsp; 301<\/p>\n<p><\/p>\n<p>&nbsp;NUMBER OF ERROR&nbsp; &nbsp;MESSAGES ENCOUNTERED=&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>&nbsp;***** PROBLEM TERMINATED BY INDICATED ERROR(S) OR BY END OF INPUT DATA *****<\/p>\n<p>\n<\/p><\/blockquote>\n<p><\/p>\n<p>I didn&#8217;t encounter this problem in IM.&nbsp;What should I do to correctly run the analysis in BM?<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>Regards<\/p>\n<p><\/p>\n<p>Oscar Espinosa<\/p>\n<p><\/p>\n<p>Samara University<\/p>\n","protected":false},"template":"","class_list":["post-44393","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["16574"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["1340"],"_bbp_subscription":["251369"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["44393"],"_bbp_forum_id":["27791"],"_bbp_engagement":["177218"],"_bbp_voice_count":["1"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["115720"],"_bbp_last_active_id":["115720"],"_bbp_last_active_time":["2020-05-26 13:18:23"]},"test":"oscarespinosa95"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/44393","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\/44393\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=44393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}