Values in UDF
At the DEFINE DPM OUTPUT macro I notice that the passed variable header is an integer that is equal to 1 at the first call of the function before particles are tracked and set to 0 for subsequent calls.
Now, I would like to use PATH_ACTIVE and PATH_ABORT in my UDF DEFINE DPM BC.
How ever I am not sure I understand what are the values for this commands? 0, 1,...
Depending form this values I would know how to call if (PATH_ABORT) for example...
Thanks and regards!
not sure which programm are you talking about, Fluent?
But in Fluent, the DEFINE_DPM_OUTPUT Macro should be use to do some output to the hard drive. So you can use the 1 to call some code to write a file header via a if statement like:
Anyways, if the macro PATH_ACTIVE is a interger you can just call
Thanks for reply Jim, but what I meant, and sorry for misleading was...
The part of my code in DEFINE_BC is:
What from this two (PATH_ACTIVE/PATH_ABORT) is TRUE and what is FALSE?What are their values?How Fluent see this?
|All times are GMT -4. The time now is 10:37.|