Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 413
    • Issues 413
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #953
Closed
Open
Issue created Jul 25, 2018 by Mattijs Janssens@MattijsMaintainer

refCast error, cyclic fvPatchField

When using cyclic bc on a non-cyclic patch you get:

Attempt to cast type patch to type lduInterface

    From function To& Foam::refCast(From&) [with To = const Foam::lduInterface; From = const Foam::fvPatch]
    in file /home/preston2/mattijs/OpenFOAM/work/develop/OpenFOAM-plus/src/OpenFOAM/lnInclude/typeInfo.H at line 114.

but no information about field, dictionary etc.

Be nice to have a refCast(From& r, const dictionary&) which throws a FatalIOError instead.

Assignee
Assign to
Time tracking