View Issue Details

IDProjectCategoryView StatusLast Update
0001108OpenFOAMBugpublic2013-12-12 12:31
Reporteruser421Assigned Touser21 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
PlatformLinuxOSDebianOS Version(please specify)
Summary0001108: Bug in externalWallHeatFluxTemperatureFvPatchScalarField
DescriptionI Believe something may have gone wrong in the updated implementation of externalWallHeatFluxTemperatureFvPatchScalarField (line 256-268 of the .C file).

The heat flux is now calculated as:

 scalar totalSolidRes = 0.0;
        if (thicknessLayers_.size() > 0)
        {
            forAll (thicknessLayers_, iLayer)
            {
                const scalar l = thicknessLayers_[iLayer];
                if (l > 0.0)
                {
                    totalSolidRes += kappaLayers_[iLayer]/l;
                }
            }
        }
        q = (Ta_ - Tc)/(1.0/h_ + totalSolidRes);

I believe the resistance should be calculated as kappa/l, rather than its inverse?
In the previous version of the code (only single layer), this effectively has been the case, i.e.

        q = (Ta_ - Tc)/(1.0/h_ + thicknessLayer_/(kappaLayer_ + VSMALL));
TagsNo tags attached.

Activities

user21

2013-12-12 12:31

  ~0002684

Solved in commint 7d4b14579af9fb5dd8dd04dc9839432ab044e81a

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

Thanks

Issue History

Date Modified Username Field Change
2013-12-12 10:46 user421 New Issue
2013-12-12 12:31 user21 Note Added: 0002684
2013-12-12 12:31 user21 Status new => resolved
2013-12-12 12:31 user21 Resolution open => fixed
2013-12-12 12:31 user21 Assigned To => user21