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

Gradient of a variable

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2005, 06:51
Default Gradient of a variable
  #1
P
Guest
 
Posts: n/a
I have variable let us say A which is not solved in the fluent but it is kind of related to UDS C which is solved now I would. I would like to compuet gradients of this variable A over the domain. How can I dod so. I know getting the gradients a variable which is solved for is easy but how to obtain the gradient of A.

P
  Reply With Quote

Old   October 26, 2005, 07:08
Default Re: Gradient of a variable
  #2
RoM
Guest
 
Posts: n/a
You can abuse an UDS as memory if you set the diffusivity to (almost) zero and adjust the flux function so it will return zero. The you can calculate A, store it in the scalar and retrieve the gradient from the scalar. See chapter 5.6.3 of udf guide for an example.

RoM
  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
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 1 May 30, 2008 05:35
Gradient of a User defined Variable Ramadas CFX 2 August 21, 2007 10:19
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 05:27
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 18:31.