-
-
January 26, 2025 at 6:20 pm
jmcclos8
SubscriberHi I am trying to use APDL Commands to automate some postprocessing in Ansys Mehcanical and I am recieving the following warnings:Â
*** WARNING ***Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â CP =Â Â Â Â Â Â 0.219Â Â TIME= 12:58:41
 Invalid coordinate system= 101.                                       Â
 OPENED FILE= file.txt FOR COMMAND FILE DATA
 COMMAND FILE CLOSED
 *** WARNING ***                        CP =      0.219  TIME= 12:58:41
 The item label NAME is not recognized by the NSEL command.       ÂÂ
  The NSEL command is ignored.
Â
Â
Â
This is the part of my code where I set the named selection and local coordinate system I would like to use:
Â
! Define the single named selection
NamedSelection = 'Fold1 RZ'Â
CoordSystem = 101CSYS, CoordSystem  ! Set the coordinate system
*CFOPEN, FilePath + 'Debug.txt', txt
*VWRITE, 'Coordinate System: ', CoordSystem
(A, F8.0)*VWRITE, 'Named Selection: ', NamedSelection
(A, F8.0)*CFCLSE
! Apply the Named Selection (ensure the selection is active)
NSEL, S, NAME, NamedSelectionHere is an image of the coordinate system:
Â
And here is the named slection:
Any assistance you could provide would be greatly apperciated!
Â
-
January 27, 2025 at 7:31 am
ErKo
Ansys EmployeeÂ
Hi
See this and the help manual (command ref. section in mapdl help):
20 APDL Commands Every ANSYS Mechanical User Should Know – PADT
For instance to choose named selection issue:CMSEL,S,Fold1RZ
All the best
ErikÂ
-
- You must be logged in to reply to this topic.
-
5969
-
1906
-
1420
-
1307
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.

