General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Cross Section with Variable Thickness (APDL)

    • VKant
      Subscriber

      Hi guys!

      I want to shape a "BEAM188 element" with a cross-section like this (Ansys APDL):

    • Ashish Khemka
      Forum Moderator


      Please see if the following video helps:

      Ansys: Beam with variable cross section - Bing video

      Regards Ashish Khemka
    • VKant
      Subscriber
      Hi thanks for your reply.
      Unfortunately i don't need a tapered beam but a model with a custom cross section.
      I tried to write a code for my custom section:
      fini $ /clear $ /prep7
      b=210
      h=300
      t1=4
      t2=3
      k,1,0,0
      k,2,b,0
      k,3,b,h
      k,4,0,h
      k,5,t1,t1
      k,6,b-t1,t1
      k,7,b-t1,h/2
      k,8,b-t2,h/2
      k,9,b-t2,h-t2
      k,10,t2,h-t2
      k,11,t2,h/2
      k,12,t1,h/2
      *do,i,1,3
      l,i,i+1
      *enddo
      l,4,1
      *do,i,5,11
      l,i,i+1
      *enddo
      l,12,5
      lsel,all
      lesize,all,10
      al,all
      Then i saved this code in a library and I assigned it to a BEAM188 element with SECREAD. Now it seems to work but i have a new problem with the postprocessing.
      I can see the displaced structure without problems but when i go for stress results a textbox says "The requested S data is not available". How can i fix it?
      Regards
    • VKant
      Subscriber
      Hi thanks for your reply.
      Unfortunately I don't need a tapered beam, i'm making a beam with a custom cross section.
      I tried to write a code to model a custom section:
      fini $ /clear $ /prep7
      b=210
      h=300
      t1=4
      t2=3
      k,1,0,0
      k,2,b,0
      k,3,b,h
      k,4,0,h
      k,5,t1,t1
      k,6,b-t1,t1
      k,7,b-t1,h/2
      k,8,b-t2,h/2
      k,9,b-t2,h-t2
      k,10,t2,h-t2
      k,11,t2,h/2
      k,12,t1,h/2
      *do,i,1,3
      l,i,i+1
      *enddo
      l,4,1
      *do,i,5,11
      l,i,i+1
      *enddo
      l,12,5
      lsel,all
      lesize,all,10
      al,all
      Then i saved it with SECWRITE and assigned to a BEAM188 element with SECREAD.
      Now it seems to work, but i have a new problem with the postprocessing.
      I can see the displaced structure but when i go for stress results a textbox says "The requested S data is not available". How can i fix it?
      Regards
    • Ashish Khemka
      Forum Moderator


      Try issuing outres,all,all before solving.

      Regards Ashish Khemka
    • VKant
      Subscriber

      I just tried and it's not workingAPDL freezes after running "Solve". I never had these kind of problems with previous releases, probably i'm missing something.
    • VKant
      Subscriber
      Ok, now has stopped freezing but the result is the same sadly.
    • Ashish Khemka
      Forum Moderator


      Can you end the current session and start with a new one? If the issue still persists then please create a new discussion.

      Regards Ashish Khemka
    • VKant
      Subscriber
      I did it but the problem persists. I'll create a new topic.
      Thanks
Viewing 8 reply threads
  • The topic ‘Cross Section with Variable Thickness (APDL)’ is closed to new replies.