I have two cubes, one on top of the other (similar to the attached figure). Is it possible to divide one cube into 3 parts and the other one into 2 parts in each direction using hexahedral elements or other types of elements?
Additionally, is it possible to mesh one cubeusing hexahedral elements and the other one using tetrahedral?
Many thanks for all your support.
If the volumes are connected (share the same points, lines, and surfaces) then its mesh must be compatible between them.
You can set different number of divisions on the vertical direction of your picture, but the amount of divisions on the other two directions must be equal.
It is not possible to mesh a volume with hexahedra and the other with tetrahedra, because the faces of both meshes are not compatible (triangles vs quadrilaterals)
If both volumes are isolated then can be meshed as you want.
e.g. you can do it with
Geometry->Edit->Uncollapse->Volumes (and select them)
this will create as much duplicated of geometrical entities are needed, to not share any entity.
If I uncollapse the volumes, does it mean that an interaction is required to be defined using a problemtype module to consider them connected or the volumes are connected only with different entities and labels at the interface?
Probably for the simulation is compulsory to have the parts connected (sharing entities), and is illegal the other options (have non-conformal number of divisions, or non-compatible neighbor elements, like tetrahedra-hexahedra)
Some structural simulations have some ‘contact’ condition that doesn’t require the ‘continuity’ of both parts.