Hi all,
I remember udf is used to define profile.
Currently I need to 'input' the value at one boundary condition based on the value at another boundary.
For example
Avg (T)@inlet=Avg(T)@outlet+14
So each iteration/timestep my temperature at inlet has to be adjusted based on outlet.
Note: I'm aware of 'expression' but since my number of inlets and outlets are around 70, it is taking longer duration to build the model. Hence I'm planning to use udf
Which DEFINE_MACRO I need to use?
How to compute average velocity at other boundary (or location) and use it here?
Thank you