CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDS source term

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 10, 2003, 14:55
Default UDS source term
Umesh Shah
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?

  Reply With Quote

Old   June 10, 2003, 17:45
Default Re: UDS source term
Allan Walsh
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.
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 5 June 21, 2013 05:39
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03

All times are GMT -4. The time now is 20:35.