View Issue Details

IDProjectCategoryView StatusLast Update
0000826OpenFOAMBugpublic2015-01-09 16:25
Reporteruser313Assigned Tohenry  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Summary0000826: Wall distance estimation
DescriptionI am wondering what is the wall distance estimation algorithm in OpenFOAM? But clearly, distance to the wall face CENTER is not the nearest wall distance.
TagsNo tags attached.

Activities

user4

2013-04-29 17:40

  ~0002136

nearest face centre. Additionally cells with face or point on the boundary get an explicit correction to pick up the exact nearest point on any point-connected boundary faces.

user313

2013-04-29 17:44

  ~0002137

I think all cells should be corrected, not just the wall cells. This is important for turbulence modeling. Otherwise, it is not going to be accurate enough.

user313

2013-04-29 17:45

  ~0002138

Last edited: 2013-04-29 17:48

Instead of using "nearest face centers and then correction", why not use some other searching algorithm to find the true distances directly?

user4

2013-04-30 10:37

  ~0002139

The current algorithm is a walking algorithm. The nearest wall point to any cell is the nearest point that any neighbouring cell has. It is very fast, handles transformations (rotational cyclics) and other coupled faces (processors). Any other algorithm (e.g. octree) will have (not unsurmountable) problems with these.

user313

2013-05-03 21:59

  ~0002158

I am testing to see how big the difference would be on the flow simulation. The wall distance difference in my simulation however shows that max(CurrentDist-TrueDist)/TrueDist=15%. This is not small.

user313

2013-05-08 18:33

  ~0002183

FYI. There is indeed difference in grid convergence study. Using the true distance gives closer results with other CFD codes.

user4

2013-05-14 14:53

  ~0002196

Interesting. Which turbulence model are you using?

user313

2013-05-14 15:15

  ~0002197

two, one is SA, the other is SST, the models I have modified to make sure the comparison is valid the models and b.c. are correct.

wyldckat

2014-12-29 14:54

updater   ~0003395

For future reference, this is related to this report: http://www.openfoam.org/mantisbt/view.php?id=968

henry

2015-01-09 16:25

manager   ~0003523

Resolved in OpenFOAM-dev, see

http://www.openfoam.org/mantisbt/view.php?id=968

Issue History

Date Modified Username Field Change
2013-04-29 16:26 user313 New Issue
2013-04-29 17:40 user4 Note Added: 0002136
2013-04-29 17:44 user313 Note Added: 0002137
2013-04-29 17:45 user313 Note Added: 0002138
2013-04-29 17:48 user313 Note Edited: 0002138
2013-04-30 10:37 user4 Note Added: 0002139
2013-05-03 21:59 user313 Note Added: 0002158
2013-05-08 18:33 user313 Note Added: 0002183
2013-05-14 14:53 user4 Note Added: 0002196
2013-05-14 15:15 user313 Note Added: 0002197
2014-12-29 14:54 wyldckat Note Added: 0003395
2015-01-09 16:25 henry Note Added: 0003523
2015-01-09 16:25 henry Status new => resolved
2015-01-09 16:25 henry Resolution open => fixed
2015-01-09 16:25 henry Assigned To => henry