Convergence problems in ANSYS batch mode but not in GUI

Click For Summary

Discussion Overview

The discussion centers around issues related to convergence in ANSYS Mechanical APDL during a non-linear buckling analysis, specifically comparing results obtained in GUI versus batch mode execution. Participants explore various commands and settings that may influence convergence behavior.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes a convergence error encountered when running a non-linear buckling analysis in batch mode, which does not occur in the GUI.
  • Workarounds using the "NCNV" and "NERR" commands are discussed, with some participants noting that while these commands work in GUI, their effectiveness varies in batch mode.
  • Another participant suggests that reducing the load may allow the solution to converge, although they express concern that this may not be an appropriate solution.
  • A suggestion is made that the run might be timing out, recommending an increase in allowable run time.
  • One participant mentions activating arc length control and adjusting substep settings, but indicates that this did not resolve the issue.
  • A question is raised about whether the convergence problem occurs only in batch mode or also in the GUI.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the cause of the convergence issues, and multiple competing views and suggestions remain regarding potential solutions.

Contextual Notes

Participants express uncertainty about the effectiveness of various commands and settings, and there are indications of dependencies on specific configurations and execution modes that may not be fully resolved.

Who May Find This Useful

Individuals working with ANSYS Mechanical APDL, particularly those involved in non-linear analysis and troubleshooting convergence issues in different execution modes.

Vigardo
Messages
87
Reaction score
7
Dear experts,

I´m performing a non-linear buckling analysis under ANSYS Mechanical APDL (v14.5) using an input file that processes the last converged step to generate some etable output.

When run in GUI everything goes fine: the non-linear buckling analysis is performed until it becomes non-convergent, the previous to last step is selected, and the wanted etable is generated. However, if the input file is run in batch mode (command line) (*), it dumps the following convergence error and exits without generating the etable:
*** ERROR *** Solution not converged at time 0.6885 (load step 1 substep 71). Run terminated.

I´ve tried some workarounds using " NCNV,0 " (**) or " NERR,,,-1 " (***) commands. Both commands work in GUI, i.e. they do not exit non-linear analysis and continue execution, but only NERR does it in batch. The problem is that this way more non-convergent steps are performed than necessary so both runs will be slower and, more important, I can´t select the "previous to last step" to get the etable results I want.

PLEASE, WOULD YOU HELP ME ? Any help is highly appreciated! Thanks in advance!*Command to run ANSYS from windows 10 command line:
"c:\Program Files\ANSYS Inc\v145\ansys\bin\winx64\ANSYS145.exe" -b nolist -s noread -p ansys -i mynonlinear.txt -o mynonlinear.out

**NCNV sets the program behavior upon nonconvergence if the solution fails to converge: 0= Do not terminate analysis, 1= terminate program execution and analysis, or 2= terminate analysis but not execution (valid in SOLU processor).

***NERR,,,-1 Ignores all errors and performa all non-convergent steps in non-linear analyisis (valid in all processors).
 
Engineering news on Phys.org
hi,,, Ihave the problem ..the solution not converged run terminate ?how solve it
 
Hi douaa, I'm sorry, but I haven't solve the problem yet... I hope you be more lucky!
 
  • Like
Likes   Reactions: douaa
when i reduce load the solution is done .but i know that not ok
 
Could be that the run is just timing out . Try setting a longer allowable run time .
 
  • Like
Likes   Reactions: FactChecker and douaa
i active arc length and sub step equal=100 ,and i tried to increase substep but problem not solve ??
 
Douaa, does your problem happen only running in batch mode (from command line) or it also occurs in GUI?
 

Similar threads

Replies
2
Views
8K
  • · Replies 23 ·
Replies
23
Views
37K
Replies
1
Views
18K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 1 ·
Replies
1
Views
8K