-
-
August 6, 2025 at 2:36 pm
Sara.Ranjbareslamloo
SubscriberHi everyone,
Using the command below, I was able to simulate a laser (single track moving). Now I want to extend this to multiple layers. Can anyone help me figure out how to dynamically change the Z position?Âg=0.3 !absorbityp=230 !Laser Power in wattsw=50e-6  !radius of moving sourceA=(2*g*p)/(22/7*w**2)B=-3C=0D=1200/1000 !scan speedE=0F=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%Â
-
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3597
-
1283
-
1107
-
1068
-
983
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.