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);