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

Diffusivity UDF in Fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2018, 20:16
Default Diffusivity UDF in Fluent
  #1
New Member
 
Max
Join Date: Jun 2017
Posts: 21
Rep Power: 9
max.kozak is on a distinguished road
Hello,

I am using the Eulerian multiphase model to simulate particle flow in water. I am attempting to hook a diffusivity UDF to the mixture (code includes diffusion of the particle into the water). However, I seem to have some misunderstanding as to the setup.

I have selected for there to be one User-Defined Scalar. Next, I am compiling my UDF and loading into fluent. After that, I open up Create/Edit Materials panel and go to the UDS Diffusivity section. I am then selecting 'User-Defined' and attaching the UDF that I compiled.

After running my simulation, it seems that the UDF is not applied correctly. My UDS-0, which will hopefully track the diffusion of particles, just has a residual and value of zero, so I know that I am doing something incorrectly in this process.

Does anyone know what I am doing wrong in my setup, such that my code is not actually being applied? This is my first time using a UDF, so any help would be greatly appreciated!
max.kozak is offline   Reply With Quote

Reply

Tags
fluent, user defined function, user defined scalar


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
A Problem of Fluent Interpreted UDF: parse error knight Fluent UDF and Scheme Programming 25 August 16, 2018 11:26
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 7 March 23, 2018 04:22
UDF diffusivity: problem with contour Lilly Fluent UDF and Scheme Programming 0 August 4, 2014 04:28
Fluent UDF for thermal NOx larsschwarzer Fluent UDF and Scheme Programming 1 July 18, 2014 09:39
fluent UDF external library lapack problem Rick FLUENT 0 May 7, 2008 11:16


All times are GMT -4. The time now is 00:18.