Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I select nodes in a cylinder?

Status
Not open for further replies.

mat215

Mechanical
Joined
Jan 19, 2006
Messages
5
Location
DE
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
 
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
 
Hi Alex,

Thank you for your help!

Regards
Matthias
 
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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top