Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General Mechanical

General Mechanical

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

Comand ESTIF to insert in script

    • Riccardo Petrelli
      Subscriber

      I'm using this EKILL script to kill the stiffness of elements that reach a certain threshold, but I don't want this to go to 0 but to decrease by 0.7, I saw that the ESTIF command exists, but I don't know where to insert it. Help? this is for a compression test

       

      total_steps=10
      subst_int=10
      subst_max=20
      subst_min=10

       

      *do,i,1,total_steps
        /gopr
        time_step=i/total_steps
        time,time_step
        nsubst,subst_int,subst_max,subst_min
        outres,all,all
        esel,all
        solve
        finish

        /post1
          set,last
          
      !    esel,s,live
      !    *get,live_count%i%,elem,0,count
      !    esel,inve,live
      !    *get,dead_count%i%,elem,0,count
                   
          esel,all
          etable,stress,s,eqv
          esel,s,etab,stress,ARG1
      !    *get,stress_ecount%i%,elem,0,count
          cm,kill_stress%i%,elem
          cmsel,s,kill_stress%i%,elem
      !    *get,stress_ecount%i%,elem,0,count

          esel,all
          etable,strain,epto,eqv
          esel,s,etab,strain,ARG2
      !    *get,strain_ecount%i%,elem,0,count
          cm,kill_strain%i%,elem
          cmsel,s,kill_strain%i%,elem
      !    *get,strain_ecount%i%,elem,0,count
          
          allsel
          cmwrite,kill_list,cm
          parsav,all
        finish
        
        /solu
          antype,,restart
          parres
      !    *status   
            /input,kill_list,cm
          *do,k,1,i
            ekill,kill_stress%k%
            ekill,kill_strain%k%
      !      *status
          *enddo              
      *enddo

      finish

    • ErKo
      Ansys Employee

      Hi

       

      It can come in the /solu, just before the ekill command.

      Hope this helps

      Erik

      • Riccardo Petrelli
        Subscriber

         

        Is this correct:

        estif, 0.8  

        /solu
            antype,,restart
            parres
        !    *status   
              /input,kill_list,cm
            *do,k,1,i
              ekill,kill_stress%k%
              ekill,kill_strain%k%
        !      *status
            *enddo              
        *enddo

        finish

         

         

         

         

    • Riccardo Petrelli
      Subscriber

    • ErKo
      Ansys Employee

      No thats is not correct we said in the /solu (it is outside) and before the ekill so:

      /solu

      ...

      ...

      *do,k,1,i

      estif,..

      ....

       

      • Riccardo Petrelli
        Subscriber

        Thank you very much, i love you

      • Riccardo Petrelli
        Subscriber

        why this error?

      • Riccardo Petrelli
        Subscriber

        don't work it

    • ErKo
      Ansys Employee

       

      See the help manual (command ref.) – this command needs an Enterprise licence.

      All the best

      Erik

       

      • Riccardo Petrelli
        Subscriber

        I have the last question to ask you, thank you for all the answers, tsai saving my life. if I want to reduce the stiffness by 50%, is it right to enter ESTIF, 0.5? Thanks again

    • ErKo
      Ansys Employee

      Never used it, but since it is a multiplier it multiplies the element stiffness matrix with 0.5 so you get half of the element stiffness I suppose when you put 0.5 in the command.

Viewing 5 reply threads
  • The topic ‘Comand ESTIF to insert in script’ is closed to new replies.
[bingo_chatbox]