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, 11:21
Default distance between a cell and a boundary
  #1
Member
 
Join Date: Jul 2014
Location: Portugal
Posts: 36
Rep Power: 12
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, 22 views)

Last edited by Rui_27; December 24, 2014 at 09: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 23, 2016 00:47
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 22:58
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55
Warning 097- AB Siemens 6 November 15, 2004 05:41


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