bluesyd
Mechanical
- Aug 13, 2004
- 6
Hi all,
Is there anyway to write out data from a component into arrays? For example, I've grouped the nodes along the edge of a plate model into a component named BC1 using the following command:
NSEL,S,LOC,Y,0
CM,BC1,Node
I would then like to create a new set of nodes that coincide with the ones in BC1 so that in turn, I can create elements whose properties are defined using COMBIN14. I would like the process to be automated, but in the program, the IDs of the nodes contained in BC1 won't be known until the mesh was generated for the plate model. While the grouping doesn't require the knowledge of the IDs of these nodes to be known (i.e I just specified a general location, y=0), the new nodes created on top of the original ones will need to be known before Spring elements can be correctly created by connecting two nodes at the same location.
So I need to find a way to extract the IDs of these nodes contained in BC1 and store them in an array. Any ideas?
Thanks,
anne
Is there anyway to write out data from a component into arrays? For example, I've grouped the nodes along the edge of a plate model into a component named BC1 using the following command:
NSEL,S,LOC,Y,0
CM,BC1,Node
I would then like to create a new set of nodes that coincide with the ones in BC1 so that in turn, I can create elements whose properties are defined using COMBIN14. I would like the process to be automated, but in the program, the IDs of the nodes contained in BC1 won't be known until the mesh was generated for the plate model. While the grouping doesn't require the knowledge of the IDs of these nodes to be known (i.e I just specified a general location, y=0), the new nodes created on top of the original ones will need to be known before Spring elements can be correctly created by connecting two nodes at the same location.
So I need to find a way to extract the IDs of these nodes contained in BC1 and store them in an array. Any ideas?
Thanks,
anne