A question on commands like AATT. I'm trying to make a multilayered shell281 structure with different materials in each layer with contact and target elements. The tricky part is that one layer is not uniform in thickness but is more of a sinusoidal block function, so I've split the structure into different sections, so section 1 is e.g. 4 layers and section 2 e.g. 5 layers in an alternating sequence. To accomplish this, I make all the areas of section 1 in the positions of the structure and attach it to section 1 properties using AATT, and do similarly with section 2, to create the shell structure. The problem is that when I display the structure, it displays the correct geometry but it thinks that the entire layered structure is material 1, instead of a layered structure consisting of material 1,2,3,4,etc.
The bulk of the code that is related to this is:
Real set 1 contains t_bulk, t_eutec, t_bsf, t_Si, t_ag and the parameters that correspond to MAT are defined earlier
eshell = 1
!AATT, MAT, REAL, TYPE, ESYS, SECN
!! reference silver busbars as separate shell section so that
!! only thickness of busbars varies with position,
!! instead of entire multilayer structure
SECTYPE, 2, SHELL
Any tips or suggestions about how to fix this would be helpful. Thanks!