Selection of particular area Elements
hi,
i am trying to select the elements of particular area. (please check attached picture)
but if i am trying to select the elements with manual process its not coming accurately as to be selected.
so i had tried to select the elements while giving input of selection of nodes and then lines got created and from line surface got created.
now the surface is created accurately as the selection is required.
but how to select the elements with reference to surface area.
please see the reference attached picture.
(geometry is not there for reference. only surface created with the code.)
Regards
Adams
Find more posts tagged with
hi tinh,
thanks for replying.
elements are not at all associated wit the surfaces...
and with the method of 'by box' , 'by cylinder' , 'by adjacent' selecting the elements is not accurate.
because i want the exact selection of elements of particular area....and if i am selection that area manually then first i have to put the model in perfect view or place. then only i can select the elements.
specially this is the case of shafts as shown in attached figures.
Regards
Adams
Hi
assume that you created the surface by 2 rings of nodes
if i had 2 rings of nodes, i can
- create center of first ring
- create center of second ring
- measure distance 2 center nodes (height)
- measure radius of rings
then put them in command *createmark elems 'by cylinder' center1_x center1_y center1_z center2_x center2_y center2_z radius height
i think this command work well in your case
hi tinh,
i had tried this concept...but there is some kind of problem occuring.
*createmark elems 1 'by cylinder' x y z i j k r h location contained all tol
'x y z 1 j k' values are achieved
also 'r h' values are achieved
now, location : inside / outside / boundary and acrossboundary.
contained : 0
all : 0
tol : 0
but with this...full component elements is selected.....
Hi,
i had created two centre nodes. and extracted the coordinated of it in the for of.
Centre node 1 : x y z
Centre node 2 : i j k
then calculated the radius with the edge node while using: set radius [hm_getdistance nodes $Centre_n1 $Edge_n1 0];
set height [hm_getdistance nodes $Centre_n2 $Centre_n1 0]
and putting these values for selecting the inside elements of the component.
eval *createmark elems 1 'by cylinder' $x $y $z $i $j $k $radius $height inside 1 0 0
but with this, all the internal elements got selected.
please reffer the attached figure.
results:
Radius : 22.000600571600504 -8.272249507584775 9.59899999999999 17.984868990219866
Height : 7.200088058750607 6.5413229042695775 0.0001515303197834328 3.008714458515442
Hello Adams
if the elems are associated to the surf, you can select elems by *createmark elems 1 'by surface' $surfID
but don't go around by such method because *createmark command provided many useful selection method like 'by box', 'by cylinder' 'by adjacent',...