How to call thermal conductivity into Fluent UDF?
I am writing a UDF to be used for solver feedback based on heat flux. As a preliminary step, I am calculating the directional heat flux at the boundaries. In order to do this I need to call the thermal conductivity into the UDF. My simulation setup is laminar, energized narrow channel flow.
I have been using the following macro "K_store = C_K_L(c,t); " with strange results... I have set the thermal conductivity to a constant value of 0.0242 [W/m-K], but plotting the aforementioned UDF variable gives a contour as shown in the below image (essentially 0 [W/m-K] ).
Is there another method to call thermal conductivity into the UDF that will resolve this discrepancy?