CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 29, 2009, 09:36
Default Fluent udf--spatial derivative of user-defined scalar
  #1
Member
 
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 85
Rep Power: 9
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
Default
  #2
New Member
 
tom pan
Join Date: Nov 2010
Posts: 14
Rep Power: 6
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

Reply

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 4 March 16, 2012 04:35
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 00:49.