temperature sensor
Hello dear friends
I have a problem in which there's a solid and a pipe is on top of it with water flow. I want to write a UDF which changes the water inlet velocity corresponding to the temperature of a specific location of the solid. I'll be thankful if you help me with this frustrating problem. I've written this UDF which needs to be corrected. Code:
DEFINE_PROFILE(InletVelocity, t, i) |
compile code
Code:
DEFINE_PROFILE(InletVelocity, t, i) |
thank you but these errors have occurred during compiling:
Code:
warning: cast to 'void * __ptr32' from smaller integer type 'unsigned long' [-Wint-to-void-pointer-cast] |
compile code
Code:
#include "udf.h" |
thank you
Now I have a new problem with this UDF. When I compile this and apply it to the velocity, this message is showed and the fluent suddenly closed. https://s4.uupload.ir/files/photo_20...22-00_4gbe.jpg do you know what's wrong? and as I really have a problem with compiled UDF. Can I change this UDF in a way to be used as an interpreted UDF? thanks a lot, and sorry for asking a lot of questions. |
All times are GMT -4. The time now is 02:46. |