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

Gradient of the Custom Field Function

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 27, 2011, 14:06
Unhappy Gradient of the Custom Field Function
  #1
New Member
 
osis
Join Date: Jun 2011
Posts: 8
Rep Power: 6
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, 14:15
Red face
  #2
New Member
 
osis
Join Date: Jun 2011
Posts: 8
Rep Power: 6
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, 14:00
Default
  #3
Member
 
Micael Boulet
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 95
Rep Power: 9
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

Thread Tools
Display Modes

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 On
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 03:11
Custom Field Function fivep FLUENT 0 August 17, 2009 21: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 01:04
custom field function Ana Raquel FLUENT 1 November 30, 2006 16:25


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