|July 29, 2009, 09:36||
Fluent udf--spatial derivative of user-defined scalar
Join Date: Jul 2009
Location: Akron, OH
Posts: 85Rep Power: 9
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), 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.
|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|