creating mesh between 2 mesh components using tcl script
Hi all,
I have 2 mesh components..yellow and green
considering yellow comp size...giving some tolerance of at least 2 elements size of green one...want to delete some portion from green as shown...
then create mesh between these two comp...shape can be tri or quad or mixed.
This is shell mesh...
element size of both are different...
no surface available for this 2
I want to automate these things...
1 . Delete some portion from green...considering size of yellow
2. Create mesh between yellow and green keeping connectivity in mind..
please help me out...
if any one have any idea...
Thanks & Regards,
PD
Find more posts tagged with
Hi,
Actually i am writing script to create weld between 2 comps. so as per requirement there should be quad elements around weld...so here i m creating weld with quad around it.
now i want to connect these quad with green comp mesh( this mesh could be tri or quad or mixed) by deleting some portion from it..
how can i do that manually.
Please can u give me steps for this...
i will get some idea...
Thanks
PD
Hi,
Actually i am writing script to create weld between 2 comps. so as per requirement there should be quad elements around weld...so here i m creating weld with quad around it.
now i want to connect these quad with green comp mesh( this mesh could be tri or quad or mixed) by deleting some portion from it..
how can i do that manually.
Please can u give me steps for this...
i will get some idea...
Thanks
PD
Many types of weld can be done by hm connector. Don't you use it instead of writing it your self?
Many types of weld can be done by hm connector. Don't you use it instead of writing it your self?
Hi Tinh,
want to connect tetra meshed and shell meshed(could be tri or quad) comps with quad mesh.
if tri on shell meshed comps ..i have to delete them at vicinity of weld...create quad at deleted portion....then have to renumber these one near by layer of quad at weld in series...and also nodes on weld....
things i automated till now as per my logic:
1. projected duplicate nodes from tetra meshed comp on shell meshed...perpendecular
2. then by drag->nodes planer to shell meshed comps... consider i created yellow meshed(ref attachment)
now i want to delete some portion of shell meshed comps( green in attachment)
then connect yellow with green......
manually this takes much time to work out...
so want to automate this...
Regards,
PD
Yes
you are absolutely right...
What should i do now??
Thanks & Regards,
PD
https://www2.gdtech.eu/wp/2018/02/fill-gap-two-shell-meshes/
Hi,
I went through that link but i have query....
1. no lines in model so how can i create surface by Lines as shown in model...
2. do i have to create lines as well for this or any other option??
3. how to ensure same node on existing meshes
all other things i understood......
Regards,
PD
Tinh and Dai,
is there any way to automate this? ----->> https://www2.gdtech.eu/wp/2018/02/fill-gap-two-shell-meshes/
Regards,
PD
Hi, try this work
1) select elems on the yellow patch
2) find free edges (or loop) of (1)
3) get nodes list of loop (2) with order , we will use 2d>ruled command to create mesh, so nodes must be input with correct order
4) get loops of green comp
5) search for the closest loop in (4), means the inside loop closed to yellow patch
6) get nodes list of loop (5) with order
7) first node of nodes list (3) must be closed to first node of nodes list (6), if not -> ruled mesh may be failed
8) search the closest node in nodes list (6) to the first node of (3), turn around order of nodes in list (6) to obey (7)
9) make ruled mesh
10) equivalence the created mesh
Hi, try this work
1) select elems on the yellow patch
2) find free edges (or loop) of (1)
3) get nodes list of loop (2) with order , we will use 2d>ruled command to create mesh, so nodes must be input with correct order
4) get loops of green comp
5) search for the closest loop in (4), means the inside loop closed to yellow patch
6) get nodes list of loop (5) with order
7) first node of nodes list (3) must be closed to first node of nodes list (6), if not -> ruled mesh may be failed
8) search the closest node in nodes list (6) to the first node of (3), turn around order of nodes in list (6) to obey (7)
9) make ruled mesh
10) equivalence the created mesh
thanks for reply.
3. how to get nodelist in order?
8. ??
also please suggest some API...
Regards,
PD
3) some commands I suggested here
8) hm_getclosestnode
3) some commands I suggested here
8) hm_getclosestnode
Thanks
@tinh @Pandurang How to search closet node ?
Hi, try this work
1) select elems on the yellow patch
2) find free edges (or loop) of (1)
3) get nodes list of loop (2) with order , we will use 2d>ruled command to create mesh, so nodes must be input with correct order
4) get loops of green comp
5) search for the closest loop in (4), means the inside loop closed to yellow patch
6) get nodes list of loop (5) with order
7) first node of nodes list (3) must be closed to first node of nodes list (6), if not -> ruled mesh may be failed
8) search the closest node in nodes list (6) to the first node of (3), turn around order of nodes in list (6) to obey (7)
9) make ruled mesh
10) equivalence the created mesh
@tinh Hi,
I tried but im not able to search it. will you please tell me with example that how to search it in loop?
Thanks,
Sanket
I executed first 4 steps correctly. Now i have nodes of free edges of two different components. After that i m confused now how to match closest nodes of two components.
Regards,
Sanket
That takes 5' to do in interactive session Hypmermesh.
Why you need script for this?