UDS source term
Hello everyone,
I have written a UDF for UDS source term calculation.(DEFINE_SOURCE(uds_source, c, t, dS, eqn). Now the problem is, i want to have details of calculated DPM particle in my UDF. So how can I get that. I want to use DPM macros in that UDF.e.g. P_MASS(p). But I dont have 'p' value in my UDF. How can I get that pointer value in my UDS source UDF. Can anyone help me? |
Re: UDS source term
Not sure if this helps, but if you are using version 6.1 it appears that Fluent has added a few new variables to the header file.
To access 'p' variables, look at some of the dpm examples. I think the example for erosion has some sample code. Sometimes the C++ seems a bit redundant, at least to me, but that's another issue. |
All times are GMT -4. The time now is 21:01. |