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.