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
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
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
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
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
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
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