View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000794 | OpenFOAM | Bug | public | 2013-03-20 16:12 | 2013-03-21 14:56 |
Reporter | Lieven | Assigned To | henry | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000794: The coeff_ in anisotropicFilter appears to be calculated wrong. | ||||
Description | If I understand correctly coeff_.internalField().replace ( d, (2.0/widthCoeff_)*mesh.V() /fvc::surfaceSum(mag(mesh.Sf().component(d)))().internalField() ); returns the average length of the cell in the d direction divided by widthCoeff_. To calculate the coeff_, seems to me that you need the square of this length. Hence the code should read coeff_.internalField().replace ( d, 1/widthCoeff_* sqr( 2.0*mesh.V() /fvc::surfaceSum(mag(mesh.Sf().component(d)))().internalField() ) ); | ||||
Additional Information | Other versions of OF show the same error (also 2.2.x) | ||||
Tags | No tags attached. | ||||