TAGGED: apdl, mechanical-apdl, student
-
-
July 6, 2021 at 8:45 pm
dpszenny
SubscriberHello,
While writing and testing APDL script I have encountered an error:
" NVAR (11) cannot be greater than NV (10), input on the NUMVAR command. The ANSOL command is ignored. "
Then I tried to change to NVAR value by "NVAR, 20" commands, another error popped out:
" Cannot change number of variables with data stored. The NUMVAR command is ignored. "
The student limitation, perhaps? I couldn't find a proper students version limitations description. No additional error in the log.
July 7, 2021 at 1:11 amBenjaminStarling
Subscriberas per the help page for this command, the NUMVAR command specified how many vairables can be stored in POST26. The first error is occuring because you are trying to store or retreive the 11th variable which is greater than the default 10. Because you are trying to use data in POST26 I can assume/infer that data has already been stored and you have done some work in POST26. This is the second error, which states once you have stored data, the total number of variables cannot be changed.
You need to define NUMVAR before doing any work in POST26 if you plan on using a different number of variables to the default 10. If you are using input files, you can just have the first of lines of code be the following, 200 being the max.
/POST26
NUMVAR,200
´╗┐/PREP7
July 7, 2021 at 12:49 pmdpszenny
SubscriberThank you Sir :)
Viewing 2 reply threads- The topic ‘“CANNOT CHANGE NUMBER OF VARIABLES WITH DATA STORED” APDL’ is closed to new replies.
Innovation SpaceTrending discussionsTop Contributors-
5874
-
1906
-
1420
-
1306
-
1021
Top Rated Tags© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-