×
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

Keypoints/Nodes and CERIG command

Keypoints/Nodes and CERIG command

Keypoints/Nodes and CERIG command

(OP)
I need to use the CERIG command to simulate a diaphgram behaviour in a building, the problem is the I've built my modelling using keypoints and assign properties to the structures.

The CERIG command define a plane where all the NODES have the same displacement of the defined master node. But I want to define master nodes and slave nodes by keypoints, because it is much easier for me. So, is there an easy way?

Is there an easy way to export a list of nodes with a sort of "dictionary" that tell me which node number is related to a particular keypoint number? Because if I have the relationship between keypoints and nodes I can easily generate a command file where I put the Node number instead of the Keypoint number.

Thanks,

Luca

RE: Keypoints/Nodes and CERIG command

Hello,

yes, all that is possible. Take a look at APDL (Ansys Parametric Design Language) in the Ansys Help Manual.

By the way, finding what node belongs to what keypoint can be done in may ways:

One way is:

ksel,s,kp,,keypoint_nr
nslk
node_nr=ndnext(0)

Another way is:

ksel,all
node_nr=node(kx(keypoint_nr),ky(keypoint_nr),kz(keypoint_nr))

Regards
Alex

RE: Keypoints/Nodes and CERIG command

(OP)
ksel,all
node_nr=node(kx(keypoint_nr),ky(keypoint_nr),kz(keypoint_nr))

In such case do you not need a cycle for like that:

for keypoint_nr=1:number of keypoints

node_nr=node(kx(keypoint_nr),ky(keypoint_nr),kz(keypoint_nr))

end


I don't know, I'm trying to guess from my experience of programmer with other languages...

RE: Keypoints/Nodes and CERIG command

Luca,

of course a loop can also be done. Take a look in the Help at the command *DO

Alex

RE: Keypoints/Nodes and CERIG command

(OP)
Excuse me, what do you mean with the command ndnext(0)? Is it a parameter?

I've used a syntax of this kind:

*DIM,keypoint_nr,ARRAY,53513
*DIM,node_nr,ARRAY,53513
*DO,ii,1,53513
ksel,s,kp,,ii
nslk
node_nr(ii)=ndnext(0)
*enddo

RE: Keypoints/Nodes and CERIG command

Hi,  

That is :

Next selected node having a node number greater than 0.

Please look at the Ansys manual
Table B.1  *GET - Get Function Summary


Regards
jalil
 

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