Hi, I have a cubic mesh whi
I have a cubic mesh which needs a special weigh treatment of boundary cell and internal cell. My intention is like this:
Is there any way to identify whether the cell is a boundary cell or internal cell? Is it a simple function or should I do some field calculation?
Thanks a lot!
I'm assuming that by "boundary
I'm assuming that by "boundary cells", you want to identify cells adjacent to boundary faces. If so, then it's not too difficult to obtain - loop through boundaryMesh (boundary patches), and obtain the owner cell from the allOwner list. All other cells are internal.
|All times are GMT -4. The time now is 15:17.|