|
[Sponsors] |
February 20, 2004, 13:57 |
plot the gradient for scalar
|
#1 |
Guest
Posts: n/a
|
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.
|
|
February 20, 2004, 14:15 |
Re: plot the gradient for scalar
|
#2 |
Guest
Posts: n/a
|
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)[1]. 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)[1];
Cheers thomas. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pressure gradient plot | Angeline | FLUENT | 0 | November 26, 2010 02:16 |
How to plot a gradient. | Bedotto | OpenFOAM Programming & Development | 2 | July 8, 2009 04:57 |
plot temperature gradient | isabel | CFX | 1 | October 6, 2008 23:51 |
How to plot pressure gradient in Fluent? | jrg | FLUENT | 3 | November 12, 2007 05:48 |
Adapt gradient and time plot. | Sham | FLUENT | 2 | April 14, 2005 13:43 |