General Mechanical

General Mechanical

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

multi track Laser moving in mechanical (Thermal Transient)

    • Sara.Ranjbareslamloo
      Subscriber

      Hello, I am working on capturing residual stress in two dissimilar materials using ANSYS Workbench. Since there is no direct module for dissimilar materials, I am simulating the transient thermal behavior and coupling it with structural analysis.

      I have written a command for laser movement using a 3D Gaussian heat source, but now I want to extend it to handle multiple laser tracks. I attempted to use element birth and death for each track and apply the heat source individually. However, the issue is that all the commands are being applied simultaneously, whereas I need them to be executed sequentially at different times.

      Does anyone have suggestions on how I can achieve this?

      I mean I want to do exactly like this tutorial Additive Manufacturing with Element Birth & Death ANSYS Workbench (3D Goldak heat source)

      here is my command for one laser track 

      g=0.3 !absorbity
      p=230 !Laser Power in watts
      w=0.001    !radius of moving source
      A=(2*g*p)/(22/7*w**2)
      B=-3
      C=0
      D=900 !scan speed
      E=0
      F=w**2
       
      *DIM,HEAT_FLX1,TABLE,8,14,1,,,,0
      !
      ! Begin of equation: A*exp(B*(({X}-C)^2+({Y}-D*{TIME}-E)^2)/F)
      *SET,HEAT_FLX1(0,0,1), 0.0, -999
      *SET,HEAT_FLX1(2,0,1), 0.0
      *SET,HEAT_FLX1(3,0,1), A
      *SET,HEAT_FLX1(4,0,1), B
      *SET,HEAT_FLX1(5,0,1), C
      *SET,HEAT_FLX1(6,0,1), D
      *SET,HEAT_FLX1(7,0,1), E
      *SET,HEAT_FLX1(8,0,1), F
      *SET,HEAT_FLX1(0,1,1), 1.0, -1, 0, 1, 2, 2, 19
      *SET,HEAT_FLX1(0,2,1), 0.0, -2, 0, 2, 0, 0, -1
      *SET,HEAT_FLX1(0,3,1),   0, -3, 0, 1, -1, 17, -2
      *SET,HEAT_FLX1(0,4,1), 0.0, -1, 0, 1, 20, 3, 1
      *SET,HEAT_FLX1(0,5,1), 0.0, -2, 0, 1, 3, 2, -1
      *SET,HEAT_FLX1(0,6,1), 0.0, -1, 0, 1, -2, 2, 21
      *SET,HEAT_FLX1(0,7,1), 0.0, -2, 0, 2, 0, 0, -1
      *SET,HEAT_FLX1(0,8,1), 0.0, -4, 0, 1, -1, 17, -2
      *SET,HEAT_FLX1(0,9,1), 0.0, -1, 0, 1, -3, 1, -4
      *SET,HEAT_FLX1(0,10,1), 0.0, -2, 0, 1, 18, 3, -1
      *SET,HEAT_FLX1(0,11,1), 0.0, -1, 0, 1, -2, 4, 22
      *SET,HEAT_FLX1(0,12,1), 0.0, -1, 7, 1, -1, 0, 0
      *SET,HEAT_FLX1(0,13,1), 0.0, -2, 0, 1, 17, 3, -1
      *SET,HEAT_FLX1(0,14,1), 0.0, 99, 0, 1, -2, 0, 0
      ! End of equation: A*exp(B*(({X}-C)^2+({Y}-D*{TIME}-E)^2)/F)
      !-->
      sf,s1,hflux,%HEAT_FLX1%
    • dlooman
      Ansys Employee

      Birth and death is only needed uf you are adding or subtracting material.  It seems like you would have 3 functions and 3 SF loads, one for each track.  Then in a transient analysis they could be solved for sequentially like below:

      /solu 

      antyp,trans

      sf,s1,hflux,%HEAT_FLX1% 

      time,100 

      solve

      sfdele,all,all

      sf,s2,hflux,%HEAT_FLX2%      ! 2nd track 

      time,200 

      solve

      sfdele,all,all 

      sf,s3,hflux,%HEAT_FLX3%

      time,300 

      solve

    • Sara.Ranjbareslamloo
      Subscriber

      Hello,

      Thank you for your reply, actually in addirive manufacturin (LPBF) which I am going to model it, the process is adding layers but I want to add in horizental (see the below link). In dding layers, it was ok I could define offset time in the equation in Y direction and using EBD model it, but for horizental I am not able to model it, I tried the code you wrote and add em for each track but just first laser track works and second/third track didnnt activated, also I tried to use another seperate command for that ; so I defined laser trackks in three different commans and anded the fourth command for applying the heat fluxes, but result was the same. just fist track moves and gives result.

       

      Additive Manufacturing with Element Birth & Death ANSYS Workbench (3D Goldak heat source)

    • dlooman
      Ansys Employee

      If the issue is related to Additive it would be good to create a new post to possibly get a response from someone knowledgeable on Additive.

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