We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General Mechanical

General Mechanical

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

Why does the solved problem not give the stress contour plots?

    • Amirmkr
      Subscriber

      Considering the following macro that is a static problem:

      /PREP7  

      ET,1,BEAM188

      MPTEMP,,,,,,,,  

      MPTEMP,1,0  

      MPDATA,EX,1,,2.068e11  

      MPDATA,PRXY,1,,0.3  

      SECTYPE,  1, BEAM, CTUBE, , 0  

      SECOFFSET, CENT 

      SECDATA,0.055,0.065,4,0,0,0,0,0,0,0,0,0 

      K, ,0,0,0,  

      K, ,0.8,0.125,0,

      K, ,1.25,0.3,0, 

      LSTR,    1,    2  

      LSTR,    2,    3  

      LESIZE,ALL, , ,10, ,1, , ,1,

      FLST,2,2,4,ORDE,2  

      FITEM,2,1  

      FITEM,2,-2  

      LMESH,P51X  

      FINISH  

      /SOL

      ANTYPE,0

      FLST,2,1,3,ORDE,1  

      FITEM,2,1  

      /GO 

      DK,P51X, ,0, ,0,UX,UY,UZ,ROTX,ROTY, ,  

      NSEL,S, , ,   12 

      DSYM,SYMM,Y, ,  

      FLST,2,1,3,ORDE,1  

      FITEM,2,3  

      /GO 

      FK,P51X,FX,-5000

      ALLSEL,ALL  

      /STATUS,SOLU

      SOLVE  


      When I want to plot the stress plots, it just gives the deformed geometry, all in red color. Why is that?

    • Erik Kostson
      Ansys Employee


      Stress results in beam elements are typically on the cross section so we need to show that cross section in our window - to do that issue
      /ESHAPE,1

      Then do

      set,last,last
      plnsol,s,eqv ! VM stress

      See eshape command in help for more info.
      All the best

      Erik

      • Chee Hui Ren
        Subscriber

         

        Hi there, for my case I managed to get a contour ribbon. However, I couldn't show any contour on my beams. Could you please advise where can I set this up?

    • Amirmkr
      Subscriber
      Thanks a lot Erik, that solved the problem, but why does the problem in the following link not need such procedure on cross section for stress plot?
      https://www.youtube.com/watch?v=1dvEmK6To7M

Viewing 2 reply threads
  • The topic ‘Why does the solved problem not give the stress contour plots?’ is closed to new replies.