Paul Richter
Subscriber

Dear Rob,

first of all thanks for your reply!

Yes i came up with this too, i made the Code:

#include "udf.h"

DEFINE_DPM_INJECTION_INIT(init,I)
{
    Particle *p;
    real time = CURRENT_TIME;
    real P_FLOW_RATE;
   
    // Einstellung der Partikelmasse
    P_FLOW_RATE(p) = time * time;
}

But i get the Error "P_FLOW_RATE: no function prototype"