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

UDF: Density Cell Gradient Vector Macros

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2007, 13:14
Default UDF: Density Cell Gradient Vector Macros
  #1
matteo
Guest
 
Posts: n/a
Hi,

I'm trying to use in a UDF the command to resume the density gradient C_R_G(c,t). I use a coupled solver and I have activated the command "keep temporary solver memory from being freed?" as indicated in the user guide. My geometry is "2D axisymmetric.

The argument C_R_G(c,t) is actually passed to UDF (I checked by Data_Valid_P(C_R_G(c,t)), but it seems to be a constant scalar field instead of a vector field. Indeed, when I try to resume a component of the gradient vector,for instance C_R_G(c,t)[0], I have a mistake. On the other hand, other derivative arguments seem to work correctly.

Does anyone have any suggestion about this?

Thank you. Matteo.
  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: volume fraction gradient in eulerian model jwwang FLUENT 22 April 15, 2015 07:27
UDF fluent, Cell Zone natantyt Fluent UDF and Scheme Programming 1 August 30, 2011 16:18
Unit of Density Gradient Eric Main CFD Forum 4 August 20, 2007 10:33
passing a cell mark to UDF toni FLUENT 0 April 4, 2006 12:11
UDF reading the temperature gradient Fabian FLUENT 1 May 29, 2003 21:18


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