# unstructured grid wall cells algorithm

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

 September 9, 2015, 04:42 unstructured grid wall cells algorithm #1 New Member   Shah Join Date: Aug 2013 Posts: 19 Rep Power: 4 How do we find whether a cell is located at the wall. How would the algorithm do it ? Thanks in advance shah

September 9, 2015, 09:53
#2
Senior Member

Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 154
Rep Power: 12
Quote:
 Originally Posted by researcher How do we find whether a cell is located at the wall. How would the algorithm do it ? Thanks in advance shah
If you are talking about an unstructured code like FLUENT or OpenFOAM, to touch all of the cells adjointing a wall boundary, you loop over the faces in the wall thread/patch and look up the cell connected to each face (F_C0() in FLUENT, etc).

 September 10, 2015, 07:09 #3 New Member   Shah Join Date: Aug 2013 Posts: 19 Rep Power: 4 Thank you for your reply. In fact I am programing it using fortran. Plus I am using unstructured mesh. I am curious how would a triangular cell with only one of its vertices located on the wall effect the algorithm. Thanks

September 10, 2015, 08:00
#4
Senior Member

Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 154
Rep Power: 12
Quote:
 Originally Posted by researcher How do we find whether a cell is located at the wall. How would the algorithm do it ? Thanks in advance shah
Quote:
 Originally Posted by researcher Thank you for your reply. In fact I am programing it using fortran. Plus I am using unstructured mesh. I am curious how would a triangular cell with only one of its vertices located on the wall effect the algorithm. Thanks
It won't. If you are using FVM, the entire scheme is based on surface integrals over each cell. A single vertex has no area to integrate over, so its contribution is zero. Only finite area faces will contribute to the flux balances that you write for each cell.

September 10, 2015, 10:06
#5
New Member

Shah
Join Date: Aug 2013
Posts: 19
Rep Power: 4
Quote:
 Originally Posted by mprinkey It won't. If you are using FVM, the entire scheme is based on surface integrals over each cell. A single vertex has no area to integrate over, so its contribution is zero. Only finite area faces will contribute to the flux balances that you write for each cell.

 Tags unstructured grid, wall cells algorithm

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post natty_king OpenFOAM Native Meshers: snappyHexMesh and Others 2 April 17, 2014 01:24 shreyasr ANSYS 7 April 13, 2013 09:34 sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11 Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23 chelvistero OpenFOAM 11 January 15, 2010 20:43

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