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

Zero gradient in the boundary cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2015, 10:36
Default Zero gradient in the boundary cells
  #1
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 12
Bruno Machado is on a distinguished road
Hello everyone,

I have two fluid zones and I am solving one UDS in just one of the zone. Unfortunately, in the boundary of these two zones, the gradient of the UDS goes progressively through the zone the UDS is not solved till it reaches 0. The problem is that since my temperature field is computed by the gradient of this scalar, it is distorted by this huge gradient in the border.

In the figure I attached, the red zone is the boundary cell (with the bigger gradient), and it reduces (to green zone) till reach the smaller value (blue zone). I need to define the gradient (in the red zone) equal to 0.

Since I can not change the boundary to wall and define it through the panel, how can I define the gradient of this UDS equal to 0 just in the boundary cells by using UDF?

Thanks for the helping.
Attached Images
File Type: jpg Untitled.jpg (25.9 KB, 11 views)
Bruno Machado is offline   Reply With Quote

Old   August 11, 2015, 05:46
Default
  #2
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 12
Bruno Machado is on a distinguished road
Is there anyone to help me with this? I'm almost finishing the model for my PhD and this is one (of the two) remaining issues.
Bruno Machado 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
Boundary conditions for Boundary layer + pressure gradient Obad Main CFD Forum 0 May 2, 2015 03:20
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
domain imbalance for enrgy equation happy CFX 14 September 6, 2012 01:54
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


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