View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001231 | OpenFOAM | Bug | public | 2014-03-20 14:40 | 2014-03-20 15:39 |
Reporter | Assigned To | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Other | OS Version | (please specify) |
Summary | 0001231: Wrong calculation in wideBandAbsorptionEmission::addIntensity | ||||
Description | When 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. | ||||
Tags | No tags attached. | ||||
|
thanks for the bug report. solved in commit 0c7d5db5f0b44765b4d http://www.openfoam.org/mantisbt/view.php?id=1231 |