-
-
October 28, 2023 at 2:17 pm
Hasan İlker ÇELİKER
SubscriberCan I ask you something?How do we calculate the values on the side of the codes in the example I gave?*SET,_FNCNAME,'HEATFLX'*DIM,_FNC_C1,,1*DIM,_FNC_C2,,1*DIM,_FNC_C3,,1*DIM,_FNC_C4,,1*DIM,_FNC_C5,,1*DIM,_FNC_C6,,1*SET,_FNC_C1(1),8625279.2 ! A = Beam power density (pW/um2)*SET,_FNC_C2(1),-2 ! B = -2 for Gaussian, -3 for Goldak*SET,_FNC_C3(1),0.0 ! C = X offset*SET,_FNC_C4(1),-10.0 ! D = Y velocity*SET,_FNC_C5(1),15 ! E = Y offset*SET,_FNC_C6(1),1.5 ! F = Beam radius*SET,_FNCCSYS,12 *DIM,%_FNCNAME%,TABLE,8,16,1,,,,%_FNCCSYS%! ! Begin of equation: A*exp(B*(({X}-C)^2+({Y}-D*{TIME}-E)^2)/F^2)*SET,%_FNCNAME%(0,0,1), 0.0, -999*SET,%_FNCNAME%(2,0,1), 0.0*SET,%_FNCNAME%(3,0,1), %_FNC_C1(1)%*SET,%_FNCNAME%(4,0,1), %_FNC_C2(1)%*SET,%_FNCNAME%(5,0,1), %_FNC_C3(1)%*SET,%_FNCNAME%(6,0,1), %_FNC_C4(1)%*SET,%_FNCNAME%(7,0,1), %_FNC_C5(1)%*SET,%_FNCNAME%(8,0,1), %_FNC_C6(1)%*SET,%_FNCNAME%(0,1,1), 1.0, -1, 0, 1, 2, 2, 19 <-- how to find this data??*SET,%_FNCNAME%(0,2,1), 0.0, -2, 0, 2, 0, 0, -1*SET,%_FNCNAME%(0,3,1), 0, -3, 0, 1, -1, 17, -2*SET,%_FNCNAME%(0,4,1), 0.0, -1, 0, 1, 20, 3, 1*SET,%_FNCNAME%(0,5,1), 0.0, -2, 0, 1, 3, 2, -1*SET,%_FNCNAME%(0,6,1), 0.0, -1, 0, 1, -2, 2, 21*SET,%_FNCNAME%(0,7,1), 0.0, -2, 0, 2, 0, 0, -1*SET,%_FNCNAME%(0,8,1), 0.0, -4, 0, 1, -1, 17, -2*SET,%_FNCNAME%(0,9,1), 0.0, -1, 0, 1, -3, 1, -4*SET,%_FNCNAME%(0,10,1), 0.0, -2, 0, 1, 18, 3, -1*SET,%_FNCNAME%(0,11,1), 0.0, -1, 0, 2, 0, 0, 22*SET,%_FNCNAME%(0,12,1), 0.0, -3, 0, 1, 22, 17, -1*SET,%_FNCNAME%(0,13,1), 0.0, -1, 0, 1, -2, 4, -3*SET,%_FNCNAME%(0,14,1), 0.0, -1, 7, 1, -1, 0, 0*SET,%_FNCNAME%(0,15,1), 0.0, -2, 0, 1, 17, 3, -1*SET,%_FNCNAME%(0,16,1), 0.0, 99, 0, 1, -2, 0, 0! End of equation: A*exp(B*(({X}-C)^2+({Y}-D*{TIME}-E)^2)/F^2) -
October 30, 2023 at 2:26 pm
Mike Rife
Ansys EmployeeHi Hasan
The format of tables from the Mechanical APDL function tool is not documented. Mike
-
October 30, 2023 at 6:19 pm
Hasan İlker ÇELİKER
SubscriberThe values in this table are handwritten values. That's why I'm asking.
-
October 30, 2023 at 6:21 pm
Hasan İlker ÇELİKER
Subscriberhttps://www.youtube.com/watch?v=HsohSHa0L6s&t=94s this video
How were these values written?
My goal is to obtain a temperature distribution as in the relevant video, and then to obtain material depth. I want to remove paint from the surface.
-
October 30, 2023 at 7:39 pm
Mike Rife
Ansys EmployeeHi Hasan
No, the values in the table were not hand written. The video creator used Mechanical APDL interactively to create the equation and evaluate it over a time range. Then exported it out - the exported APDL text version was then copy/pasted to the WB Mechanical Commands Object. They just did not show those steps.
See for example this Forum discussion:
https://forum.ansys.com/forums/topic/mathematical-function-in-ansys-apdl/
mike
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- How to do the frequency response of the nonlinear vibration of a flexible PCB?
- Importing Line and Solid Bodies from SpaceClaim to Mechanical
- how to open SendCommand in Ansys
- problems facing during solution
- Still facing the same issue
- Failed to move file from solver directory to scratch directory: file.rst
- Adaptive Sizing
- Stiffness factor
- Import DAT file
- Import pressure data (coordinates and value) to ansys workbench through excel
-
8808
-
4658
-
3153
-
1680
-
1470
© 2023 Copyright ANSYS, Inc. All rights reserved.