APDL Read List of Nodes from File and Select
APDL Read List of Nodes from File and Select
(OP)
Hi! I am awful at this. I am trying to write my first ANSYS 'code' and I am running into some issues. I have a CSV file that contains about 2000 node numbers. I would like to be able to select those nodes by reading the file. Is there a sensible way to do this? I have the following, but it's not working out:
The result is terrible and awhttp://eng-tips.com/threadminder.cfm?pid=569ful. The NSEL,r,,NTABLE(0) is not allowing the use of table the way I am trying. If anyone can help me get through this or offer an alternative method, I would be grateful.
CODE -->
/PREP7 *DIM,NTABLE,TABLE,25 *TREAD, NTABLE,test,csv alls nsel,r,,NTABLE(0) *DO,i,1,25,1 nsel,a,,NTABLE(i) *ENDDO NPLO
The result is terrible and awhttp://eng-tips.com/threadminder.cfm?pid=569ful. The NSEL,r,,NTABLE(0) is not allowing the use of table the way I am trying. If anyone can help me get through this or offer an alternative method, I would be grateful.
NX7.5.5.4 - Teamcenter 8
ANSYS Workbench 14.5





RE: APDL Read List of Nodes from File and Select
NX7.5.5.4 - Teamcenter 8
ANSYS Workbench 14.5
RE: APDL Read List of Nodes from File and Select
NX7.5.5.4 - Teamcenter 8
ANSYS Workbench 14.5
RE: APDL Read List of Nodes from File and Select
You usually need to to assign values to the zeroth column, like this: *VFILL,ntable(1,0),ramp,1,1
I think your first nsel command should look like this: nsel,none
I think your second nsel command should look like this: nsel,a,node,,ntable(i)
I dont like tables in Ansys because I dont find them intuitive and I think the manual does a crappy job of explaining them. If you had a .txt file with one node number in each line, the following would work:
*DIM,NTABLE,,25
*vREAD,NTABLE(1),test,txt
(F12.0)
nsel,none
*DO,i,1,25
nsel,a,node,,NTABLE(i)
*ENDDO
Nlist
Rick Fischer
Principal Engineer
Argonne National Laboratory