|
[Sponsors] |
June 10, 2003, 15:55 |
UDS source term
|
#1 |
Guest
Posts: n/a
|
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? |
|
June 10, 2003, 18:45 |
Re: UDS source term
|
#2 |
Guest
Posts: n/a
|
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem of SOURCE term gradient in UDS | wind | Fluent UDF and Scheme Programming | 6 | December 1, 2022 15:21 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |