vidiii
Industrial
- Nov 13, 2006
- 36
I'm trying to select certain nodes on a plane, which is a part of another plane.
BATCH:
NSEL,S,LOC,Z,h_b/2+h_p ! Selects the desired plane [WORKS OK]
D,all,VOLT,0
NSEL,S,LOC,Z,-h_b/2-h_p ! Selects the desired plane [WORKS OK]
D,all,VOLT,0
NSEL,S,LOC,Z,h_b/2 ! Selects the desired plane, but only a part of the nodes on the plane must have the constraint [WORKS OK]
NSEL,U,LOC,X,0,L1 ! Unselect the nodes that are selected from 0 to L1 on the X-axis [NOT OK]
NSEL,U,LOC,X,L2,L3 ! Unselect the nodes that are selected from L1 to L3 on the X-axis [NOT OK]
D,all,VOLT,0
NSEL,S,LOC,Z,-h_b/2 ! Selects the desired plane, but only a part of the nodes on the plane must have the constraint [WORKS OK]
NSEL,U,LOC,X,0,L1 ! Unselect the nodes that are selected from 0 to L1 on the X-axis [NOT OK]
NSEL,U,LOC,X,L2,L3 ! Unselect the nodes that are selected from L1 to L3 on the X-axis [NOT OK]
D,all,VOLT,0
allsel,all
The first part works OK, but the second part does not. The idea is to select the nodes that are on the h_b/2 plane (XZ plane) and then unselect all the nodes from 0 to L1 and L2 to L3 for the X-axis (0<=L1<L2<=L3).
This doesnt seem to work properly, the wrong nodes get selected and get constrained. Does anybody have an idea what I'm doing wrong?
Hope to hear from you. Thanks in advance.
With the kindest regards,
Vidi
BATCH:
NSEL,S,LOC,Z,h_b/2+h_p ! Selects the desired plane [WORKS OK]
D,all,VOLT,0
NSEL,S,LOC,Z,-h_b/2-h_p ! Selects the desired plane [WORKS OK]
D,all,VOLT,0
NSEL,S,LOC,Z,h_b/2 ! Selects the desired plane, but only a part of the nodes on the plane must have the constraint [WORKS OK]
NSEL,U,LOC,X,0,L1 ! Unselect the nodes that are selected from 0 to L1 on the X-axis [NOT OK]
NSEL,U,LOC,X,L2,L3 ! Unselect the nodes that are selected from L1 to L3 on the X-axis [NOT OK]
D,all,VOLT,0
NSEL,S,LOC,Z,-h_b/2 ! Selects the desired plane, but only a part of the nodes on the plane must have the constraint [WORKS OK]
NSEL,U,LOC,X,0,L1 ! Unselect the nodes that are selected from 0 to L1 on the X-axis [NOT OK]
NSEL,U,LOC,X,L2,L3 ! Unselect the nodes that are selected from L1 to L3 on the X-axis [NOT OK]
D,all,VOLT,0
allsel,all
The first part works OK, but the second part does not. The idea is to select the nodes that are on the h_b/2 plane (XZ plane) and then unselect all the nodes from 0 to L1 and L2 to L3 for the X-axis (0<=L1<L2<=L3).
This doesnt seem to work properly, the wrong nodes get selected and get constrained. Does anybody have an idea what I'm doing wrong?
Hope to hear from you. Thanks in advance.
With the kindest regards,
Vidi