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

unstructured grid wall cells algorithm

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mprinkey

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2015, 05:42
Default unstructured grid wall cells algorithm
  #1
Member
 
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 13
researcher is on a distinguished road
How do we find whether a cell is located at the wall. How would the algorithm do it ?

Thanks in advance


shah
researcher is offline   Reply With Quote

Old   September 9, 2015, 10:53
Default
  #2
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
Quote:
Originally Posted by researcher View Post
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).
mprinkey is offline   Reply With Quote

Old   September 10, 2015, 08:09
Default
  #3
Member
 
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 13
researcher is on a distinguished road
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
researcher is offline   Reply With Quote

Old   September 10, 2015, 09:00
Default
  #4
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
Quote:
Originally Posted by researcher View Post
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 View Post
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.
researcher likes this.
mprinkey is offline   Reply With Quote

Old   September 10, 2015, 11:06
Default
  #5
Member
 
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 13
researcher is on a distinguished road
Quote:
Originally Posted by mprinkey View Post
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.
Haha, of course. Thank you. Your reply made both my work and the day.
researcher is offline   Reply With Quote

Reply

Tags
unstructured grid, wall cells algorithm


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
[snappyHexMesh] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 10:12
Mesh Conversion : structured to unstructured shreyasr ANSYS 8 April 8, 2019 08:03
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 20:43


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