raul.raghav
Subscriber

As Keyur and desouzadacosta pointed out, you can place them in a single file under the same header and compile it. You would get to choose the appropriate function when you define the individual material property. Below is the structure you would want to follow.



#include "udf.h"


DEFINE_PROPERTY(density_fluid1,c,t)


{


/*your code defining density for fluid 1*/


}


DEFINE_PROPERTY(density_fluid2,c,t)


{


/*your code defining density for fluid 2*/


}