View Issue Details

IDProjectCategoryView StatusLast Update
0000438OpenFOAMBugpublic2012-02-29 11:55
Reporteruser369Assigned Touser4 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOpenSuseOS Version11.3
Summary0000438: Anisotropic solid conduction call to unitialised autoPtr
DescriptiondirectionalKSolidThermo line 139

const fvMesh& mesh = K().mesh();

The call "K()" will cause an exit with fatal error if actual/pure anisotropic conduction is specified in the relevant input dictionary.

Suggested fix, replace with;

const fvMesh& mesh = directionalK_.mesh();
Steps To ReproduceModify any solid conduction solver to support tensorial conductivity and attempt to run a case with directional conductivity.
Additional Informationsrc/thermophysicalModels/basicSolidThermo/directionalKSolidThermo/directionalKSolidThermo.C
TagsNo tags attached.

Activities

user369

2012-02-28 10:11

  ~0001073

Title is incorrect, issue has nothing to do with an autoPtr.

user4

2012-02-29 11:55

  ~0001096

Fixed in commit dc4f92d604fb4baaeab31ad1f76b02ba5ae0bf2d.

K now returns a tmp. I had to change the api a little bit so please let me know of any problems.

Thanks for reporting,

Mattijs

Issue History

Date Modified Username Field Change
2012-02-28 10:10 user369 New Issue
2012-02-28 10:11 user369 Note Added: 0001073
2012-02-28 11:12 user2 Assigned To => user21
2012-02-28 11:12 user2 Status new => assigned
2012-02-29 11:55 user4 Note Added: 0001096
2012-02-29 11:55 user4 Status assigned => resolved
2012-02-29 11:55 user4 Fixed in Version => 2.1.x
2012-02-29 11:55 user4 Resolution open => fixed
2012-02-29 11:55 user4 Assigned To user21 => user4