View Issue Details

IDProjectCategoryView StatusLast Update
0000902OpenFOAMBugpublic2015-02-05 09:22
Reporteruser694Assigned Tohenry  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformLinuxOSOpenSuseOS Version11.3
Summary0000902: wallDistance y at patches is calculated from cell center rather than from patch face center
DescriptionWhen I calculate the y value at a patch, the value is too high. I found that OF calculates the value from the cell center to the edge of patch such that I get the right wallDistance of a patch by yRight=sqrt(y^2+dx^2). Where dx is half the length of the cell normal to the patch.
The figure attached shows that the y value at the patch is not the same as in the internal field. (Which should be the same in case of a pipe)
TagsNo tags attached.

Activities

user694

2013-06-27 17:26

 

y_value_inlet_difference.png (26,521 bytes)   
y_value_inlet_difference.png (26,521 bytes)   

user4

2013-07-10 09:33

  ~0002317

I tried the squareBend tutorial and cannot see a difference between patch and internal values on the inlet patch. Note that the wall distance is an approximation - it only gets determined for cell centres and boundary face centres. You should look at the element values, not the (interpolated) point values.

Issue History

Date Modified Username Field Change
2013-06-27 17:26 user694 New Issue
2013-06-27 17:26 user694 File Added: y_value_inlet_difference.png
2013-07-10 09:33 user4 Note Added: 0002317
2015-02-05 09:22 henry Status new => closed
2015-02-05 09:22 henry Assigned To => henry
2015-02-05 09:22 henry Resolution open => unable to reproduce