# Are there any examples of a built-up beam section with multiple materials?

 Below is an example showing how to create a built-up beam with multiple materials.For this example, material 1 has a different alpha (coefficient of thermal expansion) than material 2. When subjected to a temperature difference this "bimetallic strip" will deform due to the alpha difference.!******************************************!***First create the built-up cross-section!******************************************fini/clear/prep7k,1,0,0,0 !define keypointsk,2,0,1,0k,3,1,1,0k,4,1,0,0k,5,0,2,0k,6,1,2,0a,1,2,3,4 !create areas from keypointsa,2,5,6,3et,1,mesh200 !use "not-solved" MESH200 elementkeyo,1,1,7 !8node quad optionmat,1 !lower 1/2 of cross-section is material #1amesh,1 !mesh area #1 with material #1mat,2 !upper 1/2 of cross-section is material #2amesh,2 !mesh area #2 with material #2secwrite,mysec,sect !Write cross-section definition to mysec.sect file!***********************************************************************************!***Start new ANSYS Session, read in the section information, apply loads, and solve!***********************************************************************************fini/clear/prep7et,1,beam188 !Using BEAM188n,1,0,0 !Define nodesn,2,5,0n,3,10,0n,4,15,0n,5,20,0n,6,25,0n,1000,0,1,0 !Orientation nodee,1,2,1000 !Create 5 elements from nodese,2,3,1000e,3,4,1000e,4,5,1000e,5,6,1000mp,ex,1,30e6 !Create 2 materials with different alphasmp,alpx,1,2e-5 !Material 1 alpha = 2e-5mp,ex,2,30e6mp,alpx,2,1e-5 !Material 1 alpha = 1e-5sectype,1,beam,mesh, !User-defined mesh for section ID #1secread,'mysec','sect',' ',mesh !Read section info from mysec.sect file/solud,1,all,all !fix one endtref,0 !Reference temperature = 0tunif,1000 !Final uniform temperature = 1000solve/post1/dscale,1,1 !True displacement scaling/eshape,1 !Show beam shape/view,1,1,1,1 !Isometric viewpldisp,2 !Plot deformed shape and undeformed edge/wait,2plns,u,y !Plot y displacement/eofNotes:BEAM188/BEAM189 allow for the analysis of built-up beams, (i.e., those fabricated of two or more pieces of material joined together to form a single, solid beam). The pieces are assumed to be perfectly bonded together. Therefore, the beam behaves as a single member.The multi-material cross-section capability is applicable only where the assumptions of a beam behavior (Timoshenko or Bernoulli-Euler beam theory) holds.In other words, what is supported is a simple extension of a conventional Timoshenko beam theory. It may be used in applications such as:*bimetallic strips*beams with metallic reinforcement*sensors where layers of a different material has been deposited