General Mechanical

General Mechanical

Topics relate to Mechanical Enterprise, Motion, Additive Print and more

Implement a moving heat flux load (circle area) in Ansys Workbench via APDL command

    • HollyFart
      Subscriber

      Hello,


      I’m trying to implement a circle shaped heat flux with uniform (constant value) on a simple steel plate.


      The circle shaped load moves along Y direction.


      The circle is the result of nodes gathered from a surf element created in the first step.


       


      Model:


      Model


      Step 1:


      Step 1


      Step 2:


      Step 2


       Code:


      Step 1:


      /prep7                                 ! Enter into /prep7 as ET and ESURF are valid only in /PREP7


      et,101,152                          ! Create a new element type for SURF152                


      cmsel,s,surface1                ! Select nodes on a face via Face named selection


      type,101                             ! Set the element type as 101


      esurf                                   ! Create surface effect elements on the selected nodes


      allsel,all                              ! Select everything back  


      /solu                                   ! Re-enter /SOLU


       


      wpcs,-1,0                     ! WP @ GLOBAL ORIGIN


      wpof,,0.005                  ! OFFSET WP ALONG ITS Y AXIS (i.e. provide current position of center of circle along Y axis)


      cswp,11,1                     ! DEFINE Cylindrical COORDINATE SYSTEM @ WP ORIGIN


      esel,s,ename,,152       ! Select SURF152 elements 


      sfed,all,,hflux               ! Delete old flux if any


      nsle                              ! Select nodes attached to selected SURF elements


      nsel,r,loc,x,0,0.005      ! Select nodes within radius of circle, 0.005m


      csys,0                          ! Set CSYS back to global


      esln,r                           ! Select SURF elements attached to the nodes within the circle


      sfe,all,,hflux,,1000    ! Apply hflux based on your calculation at the said time


      allsel,all


      outres,all,all


       


      Step 2:


       


      wpcs,-1,0                    ! WP @ GLOBAL ORIGIN


      wpof,,0.01                   ! OFFSET WP ALONG ITS Y AXIS (i.e. provide current position of center of circle along Y axis)


      cswp,11,1                    ! DEFINE Cylindrical COORDINATE SYSTEM @ WP ORIGIN


      esel,s,ename,,152       ! Select SURF152 elements 


      sfed,all,,hflux               ! Delete old flux if any


      nsle                              ! Select nodes attached to selected SURF elements


      nsel,r,loc,x,0,0.005      ! Select nodes within radius of circle, 0.005m


      csys,0                          ! Set CSYS back to global


      esln,r                           ! Select SURF elements attached to the nodes within the circle


      sfe,all,,hflux,,1000       ! Apply hflux based on your calculation at the said time


      allsel,all


      outres,all,all


       


       


      Something is missing, there is no flux applied on the SURF152 thermal elements.


      Do I use an improper surf element?


      Best regards,


      HF

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