|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 10 ![]() |
How do we find whether a cell is located at the wall. How would the algorithm do it ?
Thanks in advance shah |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 23 ![]() |
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).
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 10 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 23 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Shah
Join Date: Aug 2013
Posts: 61
Rep Power: 10 ![]() |
Haha, of course. Thank you. Your reply made both my work and the day.
|
|
![]() |
![]() |
![]() |
Tags |
unstructured grid, wall cells algorithm |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh sticking point | natty_king | OpenFOAM Meshing & Mesh Conversion | 10 | August 5, 2019 19:18 |
Mesh Conversion : structured to unstructured | shreyasr | ANSYS | 8 | April 8, 2019 07:03 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 03:23 |
[snappyHexMesh] external flow with snappyHexMesh | chelvistero | OpenFOAM Meshing & Mesh Conversion | 11 | January 15, 2010 19:43 |