wwang123
Materials
- Aug 1, 2012
- 10
Hello all!
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
TYPE, eshell
REAL, 1
SECTYPE,1,SHELL
SECOFFSET, BOT
SECDATA,t_bulk,al_bulk,,,aluminium_bulk
SECDATA,t_eutec,al_eutec,,,aluminium_eutec
SECDATA,t_bsf,al_bsf,,,aluminium_bsf
SECDATA,t_Si,si_isotropic,,,silicon
RECTNG,w_ag/2,2/3*l/2-w_ag/2,0,b/2
RECTNG,2/3*l/2+w_ag/2,l/2,0,b/2
ASEL, S,AREA,,1,2
!AATT, MAT, REAL, TYPE, ESYS, SECN
AATT,,1,SHELL,,1
!! reference silver busbars as separate shell section so that
!! only thickness of busbars varies with position,
!! instead of entire multilayer structure
REAL, 2
SECTYPE, 2, SHELL
SECOFFSET, BOT
SECDATA,t_bulk,al_bulk,,,aluminium_bulk
SECDATA,t_eutec,al_eutec,,,aluminium_eutec
SECDATA,t_bsf,al_bsf,,,aluminium_bsf
SECDATA,t_Si,si_isotropic,,,silicon
SECDATA, t_ag,silver,,,silver
RECTNG,0,w_ag/2,0,b/2
RECTNG,2/3*l/2-w_ag/2,2/3*l/2+w_ag/2,0,b/2
ASEL, S,AREA,,3,4
AATT,,2,SHELL,,2
alls
Any tips or suggestions about how to fix this would be helpful. Thanks!
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
TYPE, eshell
REAL, 1
SECTYPE,1,SHELL
SECOFFSET, BOT
SECDATA,t_bulk,al_bulk,,,aluminium_bulk
SECDATA,t_eutec,al_eutec,,,aluminium_eutec
SECDATA,t_bsf,al_bsf,,,aluminium_bsf
SECDATA,t_Si,si_isotropic,,,silicon
RECTNG,w_ag/2,2/3*l/2-w_ag/2,0,b/2
RECTNG,2/3*l/2+w_ag/2,l/2,0,b/2
ASEL, S,AREA,,1,2
!AATT, MAT, REAL, TYPE, ESYS, SECN
AATT,,1,SHELL,,1
!! reference silver busbars as separate shell section so that
!! only thickness of busbars varies with position,
!! instead of entire multilayer structure
REAL, 2
SECTYPE, 2, SHELL
SECOFFSET, BOT
SECDATA,t_bulk,al_bulk,,,aluminium_bulk
SECDATA,t_eutec,al_eutec,,,aluminium_eutec
SECDATA,t_bsf,al_bsf,,,aluminium_bsf
SECDATA,t_Si,si_isotropic,,,silicon
SECDATA, t_ag,silver,,,silver
RECTNG,0,w_ag/2,0,b/2
RECTNG,2/3*l/2-w_ag/2,2/3*l/2+w_ag/2,0,b/2
ASEL, S,AREA,,3,4
AATT,,2,SHELL,,2
alls
Any tips or suggestions about how to fix this would be helpful. Thanks!