cyclicAMI startup without 'value'
Summary
cyclicAMI parallel start without 'value' entry can fail
Steps to reproduce
E.g. tutorials/incompressible/pimpleFoam/laminar/mixerVesselAMI2D/mixerVesselAMI2D
- decompose into 4
- remove the 'value' entry from the processor*/0/U field for the cyclicAMI
- this will force the call to evaluate which will give e.g.
[3] --> FOAM FATAL ERROR: (openfoam-2401 patch=240220)
[3] From processor 0 : unallocated receive field. Expected size 36 on comm 0 with procs 4
[3]
[3]
[3] From static void Foam::mapDistributeBase::receive(Foam::label, const labelListList&, bool, const Foam::labelRange&, const Foam::UPtrList<Foam::List<T> >&, Foam::List<T>&, const CombineOp&, const negateO
p&, int, Foam::label) [with T = Foam::Vector<double>; CombineOp = Foam::eqOp<Foam::Vector<double> >; negateOp = Foam::flipOp; Foam::label = int; Foam::labelListList = Foam::List<Foam::List<int> >]
[3] in file /home/bigbuzz2/mattijs/OpenFOAM/OpenFOAM-plus/work/develop/src/OpenFOAM/lnInclude/mapDistributeBaseTemplates.C at line 350.
Environment information
- OpenFOAM version : v2312
Possible fixes
- switch off local-consistency so it takes the old path.