General Mechanical

General Mechanical

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

Temperature Discrepancy in ANSYS Additive Simulation With and Without Contact.

    • mashetty
      Subscriber
      Hello everyone,
       
      I’m currently working on an additive manufacturing simulation in ANSYS Mechanical(using apdl), and I’ve encountered an issue with temperature results when using contact between two bodies.
       
      Here’s the situation:
       
      I ran two simulations using the same boundary conditions and simulation parameters.
      1.In the first simulation, I applied contact between two separate bodies.
      2.n the second simulation, I combined the two bodies into a single solid (therefore, no contact was needed).
      In the simulation with contact, the resulting temperatures are seems to be verz low compared to the simulation without contact, where the temperatures appear normal and as expected.
       
      Can someone explain why the temperature results vary so much when using contact between the bodies? The highest temp in the simulaiton without contact is 1700 deg C and with bonded contact is 450 deg C (I have also tried with the shared node option in space claim but it still gives like  near 450 temp)
       
      Thanks in advance!
       
      This is the cad geometry:
      This is the code use to perform simulation: 
      the code gives an overview of the commands used in the simulaiton.
      CSDELE,all!this block of code is used to kill all the element before solvin the simulation
      CLOCAL, -, -, -, -, -   ! local coordinate system creation to form a group of elements to be killed
      NSEL, S, LOC, X, -, -  !select the elements NSEL,R,LOC,Y,-,-
      NSEL,R,LOC,Z,-,-
      NROPT,FULL         
      ESLN,S,ALL                         !select the elements related to the nodes created
      EKILL,ALL           !kill all the selected elements
      ESEL,U,LIVE                       !keep the remaining elements live, or else everything gets killed
      ALLSEL
      SOLVE
      ! block end here 
      ! this is the second block where we make the elements alive w.r.t to time 
      TIMINT,ON                        ! Zeitabh ngigkeit EIN
      DDELE,ALL,TEMP             ! die Anfangsbedingungen entfernen
      TIME,(i*(1/4))                   ! Neu Zeitschritt t=i*(LS/vs)[s]
      BFDELE,ALL,HGEN           ! die vorgegebenen Bedingungen entfernen
      CSDELE,all
      CLOCAL,11,0,50,-,-  
      nsel,s,loc,x,-,-
      nsel,r,loc,y,-,-
      nsel,r,loc,z,-,-
      ESLN,ALL
      EALIVE,all
      ! this block of elements become alive here
       
      ! this is the third block where, we count the no. of nodes and assign boundary temps
         *GET,Kanz,NODE,,COUNT    !
         kn=0 ! Param.
          *DO,j,1,Kanz
            kn=NDNEXT(kn)
            BF,kn,HGEN,Q            ! Q is the heat source
          *ENDDO
      ! third block ends here 
         NSEL,ALL
         ALLSEL
         SOLVE   

       

       

       
    • Erik Kostson
      Ansys Employee

      Hi

      We (Ansys empl.) can not provide extensive scripting and script debugging support here - perhaps other forum members can chime in and help/provide feedback.

      As a note there is a suite of addtive tools inside mechanical.

      https://simutechgroup.com/ansys-software/additive-manufacturing/ansys-additive-suite/

      https://www.cadfem.net/en/our-solutions/ansys-simulation-software-the-product-family/ansys-structural-mechanics/ansys-additive-suite.html

      All the best

      Erik

    • mashetty
      Subscriber
      Hi Erik, 
      Thanks alot for your response.
       
      I am applying a temperature boundary condition to nodes using the APDL command (BF,,,,) in ANSYS for two different scenarios:
       
      1.With contact: Two separate bodies with contact defined between them.
      2.Without contact: The two bodies are combined into a single solid in SpaceClaim, so no contact is needed.
      Could you provide insights on how contacts affect temperature transfer between solids in such simulations? I'm seeing differences in temperature distribution between the two cases and would appreciate any explanations.
       
      Thank you!
Viewing 2 reply threads
  • You must be logged in to reply to this topic.