Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Fluids DPM Particle Injection Total Flow Rate as a function of time Reply To: DPM Particle Injection Total Flow Rate as a function of time

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"

[bingo_chatbox]