|
[Sponsors] |
July 18, 2023, 00:37 |
wall resolution for finite volume
|
#1 |
Senior Member
|
Greetings,
I've been wondering, for a cell-center based finite volume, how is the wall resolution determined? To be more specific, consider this figure with a cell at the wall Screenshot 2023-07-17 at 21.38.14.jpg Suppose all the values are stored at the cell center (the cross). Usually, finite volume codes will interpolate the cell-center data to nodal points when exporting solutions. Then, which grid spacings should one choose as the wall resolution? The distance from cell center to wall, , or the distance from the nodal points to wall, ? |
|
July 18, 2023, 00:49 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66 |
Who even cares? If you want the distance from the cell center to the wall, then you have it. If you want the distance from the face to the wall, then you have it. Btw the distance from the face to the wall is equal to the sum of the distance from the face to the cell center plus the distance from the cell center to the wall.
Most finite volume codes export cell-centered data when it is requested as cell centered data. Maybe explain the motivation for your question or I would feel bad since you made such a pretty picture. Without using the words wall resolution, what do you need to know about the grid? |
|
July 18, 2023, 11:34 |
|
#3 |
Senior Member
|
dy_c is what most typically enters, for example, in a wall function or in the one sided differences typically used for the wall stress in such case. dy_n is your actual resolution that will affect your schemes.
As mentioned by LuckyTran, you need to specify in relation to what, otherwise it's difficult to understand without context. |
|
July 18, 2023, 11:44 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,775
Rep Power: 71 |
To be honest, I don't think is relevant the difference in terms of magnitude order. It is different if you have to insert the value in some law but, especially close to the wall, the dy_c/2 of difference is small.
|
|
July 18, 2023, 12:30 |
|
#5 | |
Senior Member
|
Quote:
|
||
July 18, 2023, 12:31 |
|
#6 | |
Senior Member
|
Quote:
|
||
July 18, 2023, 12:54 |
|
#7 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,775
Rep Power: 71 |
||
July 18, 2023, 16:29 |
|
#8 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66 |
Cell to wall distance matters only for the wall adjacent nodes for your wall "function." If you are reporting wall adjacent y+, then that would be the cell to wall distance.
Resolution is the cell to cell distance (or node to node distance) typically in the core mesh far away from walls where again the original question doesn't even apply because you asked about cell to wall versus node to wall, resolution is node to node or cell to cell. Neither have anything to do with how data is exporting in cell centers or nodes. |
|
July 19, 2023, 04:13 |
|
#9 | |
Senior Member
|
Quote:
When I reported those resolutions, I must admit, I don't remember what I used. For uniformity, I possibly used dy_n. The important thing is, however, to clarify what you are referring to. |
||
July 19, 2023, 08:41 |
|
#10 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66 |
Typically we report the y+ of the wall adjacent cell. Since the wall+ will be 1 or much much less and also since it most likely the smallest dimension in the entire mesh, it makes no sense to quote this number as a mesh resolution. One typically then gives the dy of the largest cell so that you know, okay, here is my lowest resolution, and there is (for sure) smaller cells as you approach the wall. So you give two numbers, wall y+~1 and dy+~10
The factor of 2 is not a problem because as mentioned by everyone already, you would have multiple cells inside the viscous layer. Mesh resolution is more related to # of cells you have at y+ < 5 than say, what is the exact y+ of that one cell next to the wall. If you have y+ of 1 or 2 and not multiple cells in the viscous layer then what you have is a bad mesh. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculating source term total cell-zone volume parallel computation | RobV | Fluent UDF and Scheme Programming | 2 | May 30, 2022 03:46 |
multiphaseEulerFoam FOAM FATAL IO ERROR | qutadah.r | OpenFOAM Running, Solving & CFD | 11 | December 10, 2021 20:18 |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 18:28 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 09:56 |