×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How can I select nodes in a cylinder?

How can I select nodes in a cylinder?

How can I select nodes in a cylinder?

(OP)
Hello,
I'm a beginner in Ansys and I have made the model of a piezoscanner, but at the moment I'm not able to select the exterior nodes of my tube!

!Geometriparameter des Piezo
OD = 6.35e-3        !Außendurchmesser (m)
ID = 5.35e-3        !Innendurchmesser (m)
L  = 10e-3            !30e-3        !Länge


ET,1,SOLID5,3                      ! 3-D COUPLED-FIELD

...
    
MAT,1
TYPE,1
CYL4,0,0,ID/2,0,ID/3+OD/6,0,L
CYL4,0,0,ID/3+OD/6,0,ID/6+OD/3,0,L            
CYL4,0,0,ID/6+OD/3,0,OD/2,0,L        
VGLUE,ALL

Regards

RE: How can I select nodes in a cylinder?

Hi,

just define a cylindrical coordinate system and then select the nodes at the distance of the exterior area:

CODE

local,1000,1
nsel,s,loc,x,od ! note that in cylindrical coordinate x is the radius

Regards
Alex

RE: How can I select nodes in a cylinder?

(OP)
Hi Alex,

Thank you for your help!

Regards
Matthias

RE: How can I select nodes in a cylinder?

i think : Command:'nsel,s,ext' can also do that

RE: How can I select nodes in a cylinder?

(OP)
Hi,

With the command:'nsel,s,ext' I got the nodes inside th hole of my tube,too!

Another question: I want to select only the nodes in a specific angle.
I tried this command: 'nsel,r,ang,xy,?,?', with degrees, with pi and so on, but I only get 0nodes or all nodes I already had!

Regards
Matthias

RE: How can I select nodes in a cylinder?

Hi,

to select the nodes in a specific angle you use also the keyword 'loc':

CODE

nsel,r,loc,y,startangle,endangle

Here is the y coordinate the angle, since the coordinate are cylindrical. Asys uses the same notations (x,y,z) for each coordinate regardless of the used coordinate system.

Regards,
Alex

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources