CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDS gradient (https://www.cfd-online.com/Forums/fluent/35277-uds-gradient.html)

Giordano Bruno December 14, 2004 10:24

UDS gradient
 
Hi to all fluent users,

I'm working with FLUENT 6.020 and I've to define two UDSs, but when I try to use the function C_UDSI_G(c,t, i)I obtain, as usual..., an error message.

Any suggestion will be appreciated!!!

Thanks in advance.

Giordano Bruno

S. Hollman December 14, 2004 11:34

Re: UDS gradient
 
If you are referring to a runtime error when using your adjust function that contains the C_UDSI_G(c,t) command, you have to run one iteration with the hook function turned off.

Why? I do not know.

Giordano Bruno December 15, 2004 03:25

Re: UDS gradient
 
Thank you very much!!!

I'm going to try your suggestion...

Giordano Bruno

Joey December 17, 2004 09:46

Re: UDS gradient
 
Doctor Caojing told me that before iteration no memory for the gradient is allocated, so before you call the gradient of any uds or other variable, you need to run one iteration.

Giordano Bruno December 17, 2004 16:32

Re: UDS gradient
 
Thank you very much for your useful responses.

Giordano Bruno


All times are GMT -4. The time now is 14:42.