Sculp multiple volumes of different Sizes with conformal meshes

Hi cubit experts!

I want to sculpt a complex geometry consistng of a large volume with several smaller volumes inside, all derived from STL files. For example, if I have three volumes of different sizes, I thought a good approach would be to mesh the smaller volumes first, and then mesh the larger volume, considering the mesh at the interfaces. However, I’ve found that sculpt doesn’t seem to handle this well. I only get conformal meshes when I mesh all the volumes together at once. This works fine but I cannot smooth or refine a particular volume.

I’ve created a small example in cubit. Perhaps someone can guide me in the right direction :slight_smile:

reset
brick x .5 
create cylinder height .3 radius .05 
rotate Volume 2 angle 30  about Y include_merged 
move Volume 2 x .1 y .15 z -0.05 include_merged 
create sphere radius .12 
move Volume 3 x -.05 y -.08 z .03 include_merged 
subtract volume 2 3 from volume 1 imprint keep 
delete volume 1
volume 4 id 1

How can I mesh volumes of different sizes or apply mesh refinements while ensuring the meshes remain conformal?

Thanks!

Carlos

Hi Carlos,
have you already tried to refine the mesh with the adapt_material option?

Would this work for you?

sculpt volume all autosize 10 adapt_type 8 adapt_material 2 2 1 0.5 0 0 3 1 0.5 0 0
graphics clip on location 0 0 0 direction 0 0 -1