Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 454
    • Issues 454
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1714
Closed
Open
Issue created May 23, 2020 by Mark OLESEN@markMaintainer

unload errors for fieldfunctions library

The recent changes to phase-system turbulence libraries and subsequent change to the field function link options (commit 11965904) appear to provoke an unload error. Seen for clang (10.0), but not for gcc (7.5.0).

If I do a full or partial revert of that commit, the error shifts to being not able to load the library (double entry for "laminar" as @Pawan reported).

Here is what the error currently looks like:

tutorials/heatTransfer/chtMultiRegionFoam/externalCoupledHeater/

$ foamListRegions
bottomWater
topAir
heater
leftSolid
rightSolid
--> FOAM Warning : 
    From void Foam::dlLibraryTable::clear(bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 164
    Failed closing "fieldFunctionObjects" with handle 0xa8a170

In the tutorial test loop this is pure poison since output (stdout) is the input for the following changeDictionary.

For additional robustness, the warnings really should be redirected to stderr when the banner is suppressed. Additionally, loading additional libraries should likely be suppressed in foamListRegions as well. This means that the errors will disappear for that tutorial, but there still seems to be fundamental issue with the field function library.

@andy

Assignee
Assign to
Time tracking