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

distance between a cell and a boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2014, 10:21
Default distance between a cell and a boundary
  #1
Member
 
Join Date: Jul 2014
Location: Portugal
Posts: 36
Rep Power: 11
Rui_27 is on a distinguished road
Hello to all,

Please see attached a scheme of my comp. domain. It consists on a straight channel with small holes in the bottom surface.
Air enters from the left to the right. In the bottom wall, O2 from the air is consumed and water is produced.

I want to write a udf in which the water produced in the bottom wall enters the channel by the nearest hole, in the liquid form.

I already manage to calculate the molar flux of water (mol/m2/s) in each cell of the bottom wall. Now I want to sum all water fluxes of the cells near each all and calculated the water inlet velocity in the wall as function of the total water flux.

Any ideas on how to do this?
I have been thinking about it for a while but i really don't know how to do it...

Regards,
Rui
Attached Images
File Type: jpg Untitled.jpg (16.4 KB, 21 views)

Last edited by Rui_27; December 24, 2014 at 08:15.
Rui_27 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
Find distance from a cell to a Boundary patch oehmu OpenFOAM Programming & Development 1 March 22, 2016 23:47
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55
Warning 097- AB Siemens 6 November 15, 2004 04:41


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