CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDS source term

Register Blogs Community New Posts Updated Threads Search

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

  Reply With Quote

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

Reply


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 Off
Pingbacks are On
Refbacks are On


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 14:21
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
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 21:14.