View Issue Details

IDProjectCategoryView StatusLast Update
0002273OpenFOAMBugpublic2016-09-28 19:43
ReporterTomF Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSOpenSUSEOS VersionLeap 42.1
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.

Activities

TomF

2016-09-28 11:05

reporter   ~0006929

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

henry

2016-09-28 19:43

manager   ~0006934

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

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