General Mechanical

General Mechanical

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

transient thermal analysis error

    • İlker
      Subscriber
      NROPT,full
      THOPT,full
       
      t=10
      dt=0.1
      n=t/dt
       
      PL=5e02
      pi=acos(-1)
      dz=0.001
      rl=0.005
      vd=0.001
      tol=0.00001
       
      tamb=22
      hc=20
       
      pi=acos(-1)
      Q=PL/((pi*(2*rl*rl)/4)*dz)
       
      Tmax=400
       
      *do,i,1,n,1
      ...
      local,11,1,x_r,y_r,z_r,thxy,thyz,thzx
      csys,11
      ...
      load
      ...
      allsel,all
      outres,all,all
       
      time
      SOLVE
      FINISH
      /POST1
      set,last
      etable,erosion,temp,        !create an element table
      esel,s,elab,erosion,terode  !Select all elements from table above Tmax
      cm,elem_to_kill,elem
      FINISH
      /SOLU                       !Re enter solution phase
      NROPT, full
      THOPT, full
      ANTYPE,,rest                !Restart analysis
      EKILL, elem_to_kill         !kill all selected elements
      *ENDDO
       
      /PREP7
      !optional
      create,solve,mac
      /COM,skip'solve'
      *END
       
      I wonder if there is an error in the code written? I keep getting errors. 
      The errors I get:
       

      *** ERROR ***                           CP =      40.312   TIME= 16:39:15
       Present time 0 is less than or equal to the previous time 0 in a       
       transient analysis.                                                    

       *** ERROR ***                           CP =      41.000   TIME= 16:39:16
       The step data was checked and there were errors found.                 
        Please check output or errors file (                                  
       C:\Users\hasan\Desktop\_ProjectScratch\Scr6EA3\file0.err ) for         
       messages.       

    • mrife
      Ansys Employee

      Hi Hasan

      Check the TIME command.  It has no default value for a transient analysis.  So you need to specifiy a value.  MIke

Viewing 1 reply thread
  • The topic ‘transient thermal analysis error’ is closed to new replies.