2017-07-23 13:32 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002273OpenFOAM[All Projects] Bugpublic2016-09-28 19:43
ReporterTomF 
Assigned Tohenry 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformGNU/LinuxOSOpenSUSEOS VersionLeap 42.1
Product Version4.x 
Target VersionFixed in Version4.x 
Summary0002273: Description in src/fvOptions/lnInclude/buoyancyForce.H is incorrect
DescriptionThe description in the Header file for buoyancyForce.H says the user needs to specify the fieldNames, but the code searches for fields.
Steps To ReproduceRun a case with a buoyancyForce in fvOption with the description as in the header file:

    buoyancyForceCoeffs
    {
        fieldNames (U); // Name of velocity field
    }

This will throw an error:

--> FOAM FATAL IO ERROR:
keyword fields is undefined in dictionary "/home/tom/OpenFOAM/tom-4.x/run/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/constant/fvOptions.buoyantForce.buoyancyForceCoeffs"
Additional InformationAlso present in dev
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0006929

TomF (reporter)

Correct location of file should be:

src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H

Just checked buoyancyEnergy, it has the same inconsistency:

src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H

~0006934

henry (manager)

Resolved in OpenFOAM-dev by commit deecbf9e065c1f744ce842e7b994ef76bf51f21f
Resolved in OpenFOAM-4.x by commit 7dce08191e45290e9b1001ab5ddff8fe5d0e335f
+Notes

-Issue History
Date Modified Username Field Change
2016-09-28 11:01 TomF New Issue
2016-09-28 11:05 TomF Note Added: 0006929
2016-09-28 19:43 henry Assigned To => henry
2016-09-28 19:43 henry Status new => resolved
2016-09-28 19:43 henry Resolution open => fixed
2016-09-28 19:43 henry Fixed in Version => 4.x
2016-09-28 19:43 henry Note Added: 0006934
+Issue History