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

Gradient of the Custom Field Function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2011, 15:06
Unhappy Gradient of the Custom Field Function
  #1
New Member
 
osis
Join Date: Jun 2011
Posts: 8
Rep Power: 15
oghazian is on a distinguished road
hi,

How can I calculate the gradient of the custom field function in FLUENT ??


Best regards,
oghazian is offline   Reply With Quote

Old   June 27, 2011, 15:15
Red face
  #2
New Member
 
osis
Join Date: Jun 2011
Posts: 8
Rep Power: 15
oghazian is on a distinguished road
I am wondering that I should define a separate UDF for calculating the gradient of the Custom Field Function ?
oghazian is offline   Reply With Quote

Old   June 29, 2011, 15:00
Default
  #3
Senior Member
 
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18
Micael is on a distinguished road
You can define a UDS, but without solving for it. Instead, a DEFINE_ADJUST fonction compute the scalar value for each cell. Then FLUENT will compute the gradient (even if you do not solve the corresponding transport equation).

There is an example that do it there:
FLUENT 12.0 UDF manual --> 2.2.1 DEFINE ADJUST --> example 2
Micael is offline   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
get velocity gradient with a boundary function Chris Lucas OpenFOAM Programming & Development 4 August 27, 2012 04:11
Custom Field Function fivep FLUENT 0 August 17, 2009 22:29
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
Custom Field function...>>>Please HELP..! sushii FLUENT 2 October 11, 2007 02:04
custom field function Ana Raquel FLUENT 1 November 30, 2006 16:25


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