Selecting all nodes in an area
Selecting all nodes in an area
(OP)
Hi,
I'm trying to select all nodes of an area that is defined. I can't use nsel (because ANSYS crashes then), I must use FITEM commands.
Example (from another work):
! Defining that the nodes on upper electrodes are coupeld considering the voltage.
! ANSYS crashed when the more easy command nsel was used
FLST,4,325,1,ORDE,7
FITEM,4,4580
FITEM,4,4582
FITEM,4,-4599
FITEM,4,4626
FITEM,4,-4639
FITEM,4,4662
FITEM,4,-4953
CP,1,VOLT,P51X
! The same for the nodes on the lower electrode
FLST,4,325,1,ORDE,7
FITEM,4,3860
FITEM,4,3862
FITEM,4,-3879
FITEM,4,3906
FITEM,4,-3919
FITEM,4,3942
FITEM,4,-4233
CP,2,VOLT,P51X
How can I select those nodes like the author did via a GUI command? (FITEM and FLST) I could write APDL for this problem, but I think it's possible to solve this in a fast way.
Could somebody please help me. Thanks in advance!
Kindest regards,
mab
I'm trying to select all nodes of an area that is defined. I can't use nsel (because ANSYS crashes then), I must use FITEM commands.
Example (from another work):
! Defining that the nodes on upper electrodes are coupeld considering the voltage.
! ANSYS crashed when the more easy command nsel was used
FLST,4,325,1,ORDE,7
FITEM,4,4580
FITEM,4,4582
FITEM,4,-4599
FITEM,4,4626
FITEM,4,-4639
FITEM,4,4662
FITEM,4,-4953
CP,1,VOLT,P51X
! The same for the nodes on the lower electrode
FLST,4,325,1,ORDE,7
FITEM,4,3860
FITEM,4,3862
FITEM,4,-3879
FITEM,4,3906
FITEM,4,-3919
FITEM,4,3942
FITEM,4,-4233
CP,2,VOLT,P51X
How can I select those nodes like the author did via a GUI command? (FITEM and FLST) I could write APDL for this problem, but I think it's possible to solve this in a fast way.
Could somebody please help me. Thanks in advance!
Kindest regards,
mab





RE: Selecting all nodes in an area
I opened a simple model and no FITEM commands were generated in the log file for an esel,r,p command, but FITEM commands were generated for performing an elis,p command. These would suggest that FITEM commands are used for listing but not for selecting. If you're sure it can be made to work, then I'll defer to your knowledge of the FITEM commands.
Alternatively, you can use the NSLA command (unless this also causes a crash).
Select the area in question, then use the NSLA command to select only the nodes contained within the selected area(s).
Hope this helps.
RE: Selecting all nodes in an area
Thanks for your reply
RE: Selecting all nodes in an area
I used this:
NSEL,S,LOC,Z,h_b/2+h_p,h_b/2+h_p
CP,1,VOLT,ALL
works great, no crash.
Cheers.
RE: Selecting all nodes in an area
For example if the area in question is area #12:
ASEL,S,AREA,,12
NSLA,S,1 (or 0, depending if you want all nodes in the area or only interior nodes).
That way you don't have to know the geometry.
-Dan