×
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 to recognise the elements included in a cercle

How to recognise the elements included in a cercle

How to recognise the elements included in a cercle

(OP)
Hi everyone,
someone can please answer this question?
If for example one draws a circle on a given mesh. Is there any command in Ansys which allows us to recognize the elements whose centroid are included in this circle?

Regards
Barha

RE: How to recognise the elements included in a cercle

Yes, there is!

Try to write a macro using the commands etable and csys,,1. With etable you can define a table with all the centroids of the elements in a local cylindrical system. Then can reselect elements based on their x coordinates of the table esel,r,etab...

Regards,
Alex

RE: How to recognise the elements included in a cercle

(OP)
It's more complicate because it is an ellipse for me but I already tried something like you tell me and it works well, but a friend said to me that it could be a command in Ansys which gives us directly the elements included in the circle, do you think so Alex?
Regards
Barha

RE: How to recognise the elements included in a cercle

You can most certainly define an elliptical coordinate system...why not do that?

RE: How to recognise the elements included in a cercle

(OP)
Can you Alex show in few lines how to do so?

RE: How to recognise the elements included in a cercle

See the command LOCAL...here'an an example though:

LOCAL,11,1,,,,,,,2  !defines CSYS 11 as a cylndrical coordinate system at global origin with y-axis to x-axis ratio of 2.00 (thus making it elliptical)

This command is fairly straightforward so hopefully this helps you out.

-Brian

RE: How to recognise the elements included in a cercle

(OP)
I'll try it today Brian and i'll tel what i obtain.
thanks

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