View Issue Details

IDProjectCategoryView StatusLast Update
0001231OpenFOAMBugpublic2014-03-20 15:39
Reporteruser36Assigned Touser21 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOtherOS Version(please specify)
Summary0001231: Wrong calculation in wideBandAbsorptionEmission::addIntensity
DescriptionWhen calculating total incident radiation G, the value is too low when more than one band is used. This is caused by wideBandAbsorptionEmission::addIntensity, line 303, which states:

return ILambda*(iBands_[i][1] - iBands_[i][0])/totalWaveLength_;

ILambda is passed as a parameter from radiativeIntensityRay as ILambda_[lambdaI]. Since ILambda_[lambdaI] contains 100% (not more, not less) of the radiation in that ray direction in that band, there is no need for applying a weight-by-band factor. Instead:

return ILambda;

produces the expected result. This makes wideBandAbsorptionEmission::addIntensity obsolete, since this is already the behavior of absorptionEmissionModel::addIntensity . Consequently, absorptionEmissionModel::addIntensity may not be necessary at all.
TagsNo tags attached.

Activities

user21

2014-03-20 15:39

  ~0002967

thanks for the bug report. solved in
commit 0c7d5db5f0b44765b4d

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

Issue History

Date Modified Username Field Change
2014-03-20 14:40 user36 New Issue
2014-03-20 15:39 user21 Note Added: 0002967
2014-03-20 15:39 user21 Status new => resolved
2014-03-20 15:39 user21 Resolution open => fixed
2014-03-20 15:39 user21 Assigned To => user21