View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001447 | OpenFOAM | Bug | public | 2014-11-19 14:13 | 2014-12-16 08:45 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0001447: Calculation of thermal resistance layers in compressible::turbulentTemperatureCoupledBaffleMixed wrong | ||||
Description | While using the boundary condition "compressible::turbulentTemperatureCoupledBaffleMixed" to couple regions, it is possible to add thin thermal resistance layers using the keywords thicknessLayers (); kappaLayers (); However, the calculation of the combined thermal resistance of more than one layer is wrong. Used equation: contactRes_ = sum(k_i/l_i) Correct equation: contactRes_ = 1/sum(l_i/k_i) | ||||
Steps To Reproduce | Run a case (eg. attached file) with thicknessLayers (2e-3); kappaLayers (1e-5); and compare with thicknessLayers (1e-3 1e-3); kappaLayers (1e-5 1e-5); | ||||
Additional Information | Possible fix: Change the code in turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C from (line 120-127) forAll (thicknessLayers_, iLayer) { const scalar l = thicknessLayers_[iLayer]; if (l > 0.0) { contactRes_ += kappaLayers_[iLayer]/l; } } to forAll (thicknessLayers_, iLayer) { const scalar l = thicknessLayers_[iLayer]; if (l > 0.0) { contactRes_ += l/kappaLayers_[iLayer]; } } contactRes_ = 1/contactRes_; | ||||
Tags | No tags attached. | ||||
|
Have you checked bug #1440 and the fix in commit c5944c539043440b6c3ac607a359dd6ddddf3184? |
2014-11-20 06:55
|
|
|
I actually missed that one, thank you. It is the same error, so the same fix should be applied to the boundary without radiation as well. |
|
Thanks for the bug-report. Resolved by commit 87653bd27dbf2efa62bf2075794c703ac304dc65 |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-11-19 14:13 |
|
New Issue | |
2014-11-19 16:00 | dkxls | Note Added: 0003291 | |
2014-11-19 16:01 | dkxls | Note Edited: 0003291 | |
2014-11-20 06:55 |
|
File Added: testCase_kappaLayersBug.tar.gz | |
2014-11-20 06:59 |
|
Note Added: 0003292 | |
2014-12-16 08:44 | henry | Note Added: 0003320 | |
2014-12-16 08:44 | henry | Status | new => resolved |
2014-12-16 08:44 | henry | Resolution | open => fixed |
2014-12-16 08:44 | henry | Assigned To | => henry |