UDF: Density Cell Gradient Vector Macros
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), 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.
|All times are GMT -4. The time now is 20:27.|