CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

plot the gradient for scalar

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2004, 13:57
Default plot the gradient for scalar
  #1
tseo
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.
  Reply With Quote

Old   February 20, 2004, 14:15
Default Re: plot the gradient for scalar
  #2
thomas
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.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 00:27.