|
[Sponsors] |
December 1, 2007, 13:14 |
UDF: Density Cell Gradient Vector Macros
|
#1 |
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. |
|
|
|
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 |