We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Fluids Laser Melting heat source UDF issue [FLUENT Crashing] Reply To: Laser Melting heat source UDF issue [FLUENT Crashing]

Kanak BUET19
Subscriber

I actually figured out the problem. The issue was I forgot to add the below portion inside the DEFINE_ADJUST code. Thanks though ! 

 

Alloc_Storage_Vars(domain, SV_T_RG, SV_T_G, SV_NULL);
T_derivatives(domain);
Free_Storage_Vars(domain, SV_T_RG, SV_NULL);