-
-
May 26, 2020 at 6:58 am
OscarEspinosa95
SubscriberHi, everybody
I'm trying to run a static analysis in MAPDL's batch mode (BM). But first, I tried to run it in interactive mode (IM). The macro is the next:Â
CDREAD,DB,'MATLAB2APDL','cdb',,'','' ! Import the file
CPINTF,ALL,0.0001,                  ! Merge conincident nodes
/SOLUÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
SOLVEÂ Â Â
SOLVEÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ! Needed in interactive modeÂ
The batch file code its this simple line:
SET KMP_STACKSIZE=2048k & "C:Program FilesANSYS IncANSYS Studentv194ANSYSbinwinx64MAPDL.exe" -b -i "COINNODE.mac" -o "test.out"
I add a second SOLVE in order to run the analysis in IM, and works. This doesn't affect the execution in BM, that keeps giving the next issue:
 *** NOTE ***              CP =    7.644  TIME= 10:46:20
 The Distributed Sparse Matrix Solver is currently running in the    Â
 in-core memory mode. This memory mode uses the most amount of memory Â
 in order to avoid using the hard drive as much as possible, which most Â
 often results in the fastest solution time. This mode is recommended Â
 if enough physical memory is present to accommodate all of the solver Â
 data.                                 Â
 Distributed sparse solver maximum pivot= 1.966963211E+10 at node 4147 Â
 ROTY.                                 Â
 Distributed sparse solver minimum pivot= -21.2980198 at node 2075 ROTX.Â
 Distributed sparse solver minimum pivot in absolute value=       Â
 2.030464831E-19 at node 7037 UZ.                    Â
Â
Â
 NUMBER OF WARNING MESSAGES ENCOUNTERED=    301
 NUMBER OF ERROR  MESSAGES ENCOUNTERED=     1
Â
Â
Â
 ***** PROBLEM TERMINATED BY INDICATED ERROR(S) OR BY END OF INPUT DATA *****
I didn't encounter this problem in IM. What should I do to correctly run the analysis in BM?
Â
Regards
Oscar Espinosa
Samara University
-
May 26, 2020 at 1:18 pm
OscarEspinosa95
SubscriberI was able to get it working.
The attempts I made were:
- A second SOLVE;
- Executing the /NERR command as its written in the Command Reference and in the URL written below;
- Executing the /NERR command, a little bit unorthodox, but this option worked.
!/NERR,,99999999,,0,0, Â Â Â Â Â Â Â Â Â Â Â Â ! 2ND ATTEMPT http://www.xansys.org/forum/viewtopic.php?p=55366&sid=84ff7a189ee2e3817d7c03634a3de1a5
/NERR,,,-1 Â Â ! 3RD ATTEMPT http://www.xansys.org/forum/viewtopic.php?p=42137&sid=2c464a96f232848909c44763df273711
/PREP7
CDREAD,DB,'MATLAB2APDL','cdb',,'',''Â
CPINTF,ALL,0.0001,
/SOLUÂ
SOLVE
!SOLVE Â Â Â Â ! 1ST ATTEMPT
/POST1
SET,LAST
/OUTPUT,deformation3,txtÂ
PRNSOL,U,SUM
/OUTPUTÂ
/OUTPUT,von_mises,txtÂ
PRNSOL,S,EQV
/OUTPUTÂ
I'm still can get the Von Misses stress. Somebody know why?
-
- The topic ‘Run batch mode analysis in MAPDL’ is closed to new replies.
-
5884
-
1906
-
1420
-
1306
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.