Preprocessing

Preprocessing

Topics relate to geometry, meshing, and CAD

Section ID set 169 is undefined but is referenced by element 169

    • Chee Hui Ren
      Subscriber

      Hi there,

      I am working on connected beams in ANSYS APDL. I have assigned below to the lines
      1. 'BEAM188' element
      2. 'square hollow beam' sections ID 1 (0.1875")
      2. 'square hollow beam' sections ID 2 (0.250")

      I have assigned sections to all the lines possible before meshing them.

      However, some lines appear to have no section assigned to them.

       

      Some of the elements do not have sections assigned to them which I am sure I have already assigned to all the lines.

       

      Below is my APDL code (no loading/boundary conditions are assigned yet)

       

      !Created by: Chee Hui Ren
      !TY10090-9
      FINISH    
      /CLEAR,NOSTART  
      /PREP7  
       
       
      !Beam Element  
      ET,1,BEAM188 !Beam elements  
      KEYOPT,1,1,0
      KEYOPT,1,2,0
      KEYOPT,1,3,2
      KEYOPT,1,4,0
      KEYOPT,1,6,0
      KEYOPT,1,7,0
      KEYOPT,1,9,0
      KEYOPT,1,11,0   
      KEYOPT,1,12,0   
      KEYOPT,1,15,0 
       
       
      !Define beam types
       
      SECTYPE,   1, BEAM, HREC, .1875wall, 1  
      SECOFFSET, CENT 
      SECDATA,2,2,0.1875,0.1875,0.1875,0.1875,0,0,0,0,0,0 
       
      SECTYPE,   2, BEAM, HREC, .250wall, 1   
      SECOFFSET, CENT 
      SECDATA,2,2,0.25,0.25,0.25,0.25,0,0,0,0,0,0
       
       
      !Material Properties
      MPTEMP,,,,,,,,  
      MPTEMP,1,0  
      MPDATA,EX,1,,10007604    !elastic modulus
      MPDATA,PRXY,1,,0.33 !Poisson's ratio
       
      TB,BISO,1,1,2,  
      TBTEMP,0
      TBDATA,,39885.37799,,,,, !tensile yield strength
       
      !Keypoints - TY10090-7
      K,1,0,12.227,205.118,
      K,2,0,12.227,116.232,
      K,3,0,12.227,27.649,
      K,4,0,12.227,-27.649,
      K,5,0,12.227,-116.232,
      K,6,0,12.227,-205.118,
      K,7,0,4,116.232,
      K,8,0,4,27.469,
      K,9,0,4,-27.649,
      K,10,0,4,-116.232,
      K,11,94.03,4,205.118,
      K,12,94.03,4,116.232,
      K,13,94.03,4,27.649,
      K,14,94.03,4,-27.649,
      K,15,94.03,4,-116.232,
      K,16,94.03,4,-205.118,
      K,17,92.99,4,116.232,
      K,18,92.99,4,27.65,
      K,19,92.99,4,-27.65,
      K,20,92.99,4,-116.232,
       
      !LINES - TY10090-7
      LSTR,1,2  
      LSTR,2,5
      LSTR,5,6   
      LSTR,1,7   
      LSTR,2,7  
      LSTR,7,10  
      LSTR,5,10  
      LSTR,10,6  
      LSTR,3,8 
      LSTR,4,9 
      LSTR,7,11  
      LSTR,10,16 
      LSTR,11,1  
      LSTR,6,16  
      LSTR,7,12  
      LSTR,8,13  
      LSTR,9,14  
      LSTR,10,15  
      LSTR,11,13  
      LSTR,13,14 
      LSTR,14,16  
      LPLOT !SHOW LINE
       
       
      !HARDPOINTS & LINES - TY10090-7
      HPTCREATE,LINE,15,0,COORD,92.99,4,116.232,
      HPTCREATE,LINE,16,0,COORD,92.99,4,27.65,
      HPTCREATE,LINE,17,0,COORD,92.99,4,-27.65,
      HPTCREATE,LINE,18,0,COORD,92.99,4,-116.232,
      LSTR,2,17  
      LSTR,3,18  
      LSTR,4,19  
      LSTR,5,20
       
       
      !Keypoints - TY10090-8
      K,21,-2,12.227,205.118,
      K,22,-2,12.227,116.232,
      K,23,-2,12.227,27.649,
      K,24,-2,12.227,-27.649,
      K,25,-2,12.227,-116.232,
      K,26,-2,12.227,-205.118,
      K,27,-2,4,116.232,
      K,28,-2,4,27.649,
      K,29,-2,4,-27.649,
      K,30,-2,4,-116.232,
      K,31,-86.422,19.613,205.118,
      K,32,-86.422,19.613,116.232,
      K,33,-86.422,19.613,27.649,
      K,34,-86.422,19.613,-27.649,
      K,35,-86.422,19.613,-116.232,
      K,36,-86.422,19.613,-205.118,
       
       
       
      !LINES - TY10090-8
      LSTR,31,36
      LSTR,26,36
      LSTR,21,31
      LSTR,22,25
      LSTR,21,22
      LSTR,25,26
      LSTR,27,30
      LSTR,21,27
      LSTR,30,26
      LSTR,27,22
      LSTR,23,28
      LSTR,24,29
      LSTR,25,30
      LSTR,27,32
      LSTR,28,33
      LSTR,29,34
      LSTR,30,35
      LSTR,27,31
      LSTR,36,30
       
       
      !HARDPOINTS & LINES - TY10090-8
      HPTCREATE,LINE,39,0,COORD,-79.606,18.352,116.232, 
      HPTCREATE,LINE,40,0,COORD,-79.606,18.352,27.649,
      HPTCREATE,LINE,41,0,COORD,-79.606,18.352,-27.649,
      HPTCREATE,LINE,42,0,COORD,-79.606,18.352,-116.232,
      LSTR,22,37
      LSTR,23,38
      LSTR,24,39
      LSTR,25,40
       
       
       
      !Link lines
      LSTR,1,21 
      LSTR,7,27  
      LSTR,2,22 
      LSTR,8,28  
      LSTR,3,23
      LSTR,9,29  
      LSTR,4,24  
      LSTR,10,30  
      LSTR,5,25  
      LSTR,6,26  
      LPLOT !SHOW LINE
       
       
       
      !Loading Keypoints - TY10090-8 (hardpoints on the beams)
      HPTCREATE,LINE,13,0,COORD,16.2242836,10.8057332,205.118,
      HPTCREATE,LINE,13,0,COORD,82.9891562,4.96600045,205.118, 
      HPTCREATE,LINE,22,0,COORD,16.2230435,10.7917169,116.232,
      HPTCREATE,LINE,22,0,COORD,82.9820275,4.88542413,116.232,
      HPTCREATE,LINE,23,0,COORD,16.2230435,10.7917169,27.649,
      HPTCREATE,LINE,23,0,COORD,82.9820275,4.88542413,27.649,
      HPTCREATE,LINE,24,0,COORD,16.2230435,10.7917169,-27.649,
      HPTCREATE,LINE,24,0,COORD,82.9820275,4.88542413,-27.649,
      HPTCREATE,LINE,25,0,COORD,16.2230435,10.7917169,-116.232,
      HPTCREATE,LINE,25,0,COORD,82.9820275,4.88542413,-116.232,
      HPTCREATE,LINE,14,0,COORD,16.2242836,10.8057332,-205.118,
      HPTCREATE,LINE,14,0,COORD,82.9891562,4.96600045,-205.118, 
       
      !Loading Keypoints - TY10090-7 (hardpoints on the beams)
      HPTCREATE,LINE,28,0,COORD,-9.05645818,12.8443628,205.118, 
      HPTCREATE,LINE,28,0,COORD,-75.8014915,18.6838219,205.118, 
      HPTCREATE,LINE,45,0,COORD,-9.06119572,12.7843408,116.232, 
      HPTCREATE,LINE,45,0,COORD,-75.8510401,18.0560693,116.232,
      HPTCREATE,LINE,46,0,COORD,-9.06119572,12.7843408,27.649, 
      HPTCREATE,LINE,46,0,COORD,-75.8510401,18.0560693,27.649,
      HPTCREATE,LINE,47,0,COORD,-9.06119572,12.7843408,-27.649, 
      HPTCREATE,LINE,47,0,COORD,-75.8510401,18.0560693,-27.649,
      HPTCREATE,LINE,48,0,COORD,-9.06119572,12.7843408,-116.232, 
      HPTCREATE,LINE,48,0,COORD,-75.8510401,18.0560693,-116.232,
      HPTCREATE,LINE,27,0,COORD,-9.05645818,12.8443628,-205.118, 
      HPTCREATE,LINE,27,0,COORD,-75.8014915,18.6838219,-205.118,
       
      !Assigning .250 beam
      FLST,5,46,4,ORDE,10 
      FITEM,5,1   
      FITEM,5,-15 
      FITEM,5,18  
      FITEM,5,-21 
      FITEM,5,26  
      FITEM,5,-38 
      FITEM,5,43  
      FITEM,5,-45 
      FITEM,5,48  
      FITEM,5,-58 
      CM,_Y,LINE  
      LSEL, , , ,P51X 
      CM,_Y1,LINE 
      CMSEL,S,_Y  
        
      CMSEL,S,_Y1 
      LATT,1, ,1, , , ,2  
      CMSEL,S,_Y  
      CMDELE,_Y   
      CMDELE,_Y1 
       
      !Assigning .1875 beam
      FLST,5,12,4,ORDE,8  
      FITEM,5,16  
      FITEM,5,-17 
      FITEM,5,22  
      FITEM,5,-25 
      FITEM,5,39  
      FITEM,5,-42 
      FITEM,5,46  
      FITEM,5,-47 
      CM,_Y,LINE  
      LSEL, , , ,P51X 
      CM,_Y1,LINE 
      CMSEL,S,_Y  
       
      CMSEL,S,_Y1 
      LATT,1, ,1, , , ,1  
      CMSEL,S,_Y  
      CMDELE,_Y   
      CMDELE,_Y1
       
       
       
       
       
       
       

       

    • Chee Hui Ren
      Subscriber

      I have managed to assign the section to all the meshed profiles. Initially, I was using hard points on the lines to create load locations. This time, I used key points instead. However, it wouldn't locate the points exactly on the lines as it is how APDL program reads it.

      Therefore, I am thinking about partitioning my lines with the keypoints being part of the line joining keypoints.

    • Ashish Khemka
      Forum Moderator

      Hi,

      It seems that your query is resolved.

       

      Regards,

      Ashish Khemka

Viewing 2 reply threads
  • You must be logged in to reply to this topic.