plot the gradient for scalar
Hello, I am simulating the fluid flow coupled with one scalar in the aixsymmetric system. In the problem, I'd like to get the data for the gradient of scalar with respect of radius (dC/dr) along the wall. Could any one tell me how to get it? Thank you very much in advance.
Re: plot the gradient for scalar
Hi Stock your scalar in a UDSI variable. Then you can get the gradiant from C_UDSI_G(cell,thread,n)[i] where i is the component you want. In 2D axy, r is -> Y. So for (dC/dr) your macro will be C_UDSI_G(cell,thread,n). If you want to post-treat this gradient you have to stock the value in a UDMI such as C_UDMI(cell, thread, n) = C_UDSI_G(cell,thread,n);
|All times are GMT -4. The time now is 00:14.|