View Issue Details

IDProjectCategoryView StatusLast Update
0001296OpenFOAMBugpublic2014-05-23 12:24
Reporteruser612Assigned Touser21 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformLinuxOSUbuntuOS Version12.04
Summary0001296: Vector average instead of magnitude for kappa in constAnIso
DescriptionIn constAnIsoSolidTransportI.H:
In the case that transport type constAnIso returns a scalar kappa value, the magnitude of the kappa vector is returned. I think it should be an average of the three vector components.

In line 71 change
    return mag(kappa_);
to
    return (kappa_.x() + kappa_.y() + kappa_.z())/3;


Example:
If the anisotropic conductivity is (100 100 1), then the magnitude is 141 W/mK, which is more than the smallest component. An average value (64 W/mK) is not perfect but much better in my opinion.
TagsNo tags attached.

Activities

user21

2014-05-19 11:31

  ~0003068

This function scalar kappa(p , T) in the non-isotropic kappa is not called by any solver the right function is vector Kappa(p, T).

Issue History

Date Modified Username Field Change
2014-05-16 19:43 user612 New Issue
2014-05-19 11:31 user21 Note Added: 0003068
2014-05-19 11:31 user21 Assigned To => user21
2014-05-19 11:31 user21 Status new => assigned
2014-05-23 12:24 user4 Status assigned => resolved
2014-05-23 12:24 user4 Resolution open => no change required