CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Fluent udf--spatial derivative of user-defined scalar

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

LinkBack Thread Tools Display Modes
Old   July 29, 2009, 09:36
Default Fluent udf--spatial derivative of user-defined scalar
Senior Member
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 138
Rep Power: 11
tas38 is on a distinguished road
I would like to be able to take spatial derivatives of arbitrary scalar variables within a fluent udf. However, if for example, I put C_U(c,t) into user defined scalar 0 and then define user-defined scalar 1 as C_UDSI(c,t,1)=C_UDSI_G(c,t,0)[1], it produces erroneous values for scalar 1. Does anyone have any suggestions?

I would like to have such capability as I am attemping to add momentum source terms via udf that involve vorticity and vorticity magnitude, which are not explicitly defined field variables for use in udfs.
tas38 is offline   Reply With Quote

Old   February 9, 2011, 04:05
New Member
tom pan
Join Date: Nov 2010
Posts: 14
Rep Power: 8
tompa is on a distinguished road
I have the same question.
Do you know how to solve it now?
I do need the anwser on my problem.
tompa is offline   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
UDF in Fluent Andrew Fluent UDF and Scheme Programming 5 March 7, 2016 04:38
User defined scalar Tomik FLUENT 0 February 8, 2007 20:23
User defined function of mass flow rate Eric FLUENT 1 April 22, 2005 18:15
UDF of Zimont model in fluent Z Main CFD Forum 0 February 17, 2005 04:07
User defined rotational velocity in FLUENT Abhinav FLUENT 1 June 10, 2003 08:31

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