×
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

Python script - obtaining nodes on a surface set

Python script - obtaining nodes on a surface set

Python script - obtaining nodes on a surface set

(OP)
Hello all,

I am writing a python script and for part of that I would like to obtain the nodes, coordinates and displacements which are within the geometry "surface set" that I have defined on a surface. Is it possible to do this, if so, how would this be done. Thank-you, really appreciate your help and input.

Thanks.

RE: Python script - obtaining nodes on a surface set

Hello Yaston4,

let's assume pickedSet is the name of your set. Each set object has a member called 'nodes'. You can call on this using:
pickedSet.nodes
This gives you a MeshNodeArray. You can loop through all the MeshNode objects in this array and find the displacement of each of those nodes.

Hope this gets you started.

RE: Python script - obtaining nodes on a surface set

(OP)
Thanks, I managed to sort this out a while ago. Appreciate your kind reply.

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