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

Source Terms in udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2009, 17:07
Default Source Terms in udf
  #1
New Member
 
Vidya Raja
Join Date: Mar 2009
Posts: 8
Rep Power: 17
vidyaraja is on a distinguished road
Hi,

I am trying to simulate a vibrating screen to filter particles from fluid. I am trying to incorporate source terms into the momentum balance equation in order to let the fluid get the effect of the movement of the screen. The screen moves along the YZ plane and there is no motion about the X axis. I wrote up a udf code and not sure whether I should interpret it orcompile it in Fluent. Also, I am not very certain about the macros that I used. I went over the tutorials and came up with something but I really have no experience at all in writing codes.

I have attached my udf. Can soemone let me know if it's correct and if not help me correct it? All I want the code to do is modify the Ergun Equation for momentum balance by incorporating the source term and thus tell Fluent that the fluid feels the effect of screen motion.

Thanks,

Vidya
Attached Files
File Type: zip Source_code.zip (603 Bytes, 24 views)
vidyaraja is offline   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
UDF Source terms not producing expected results... Emmanuel Resch FLUENT 0 July 31, 2008 14:55
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
UDF - source terms Fred FLUENT 2 October 11, 2005 20:53
UDF source terms Andrew Garrard FLUENT 1 October 30, 2003 10:48


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