Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 391
    • Issues 391
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2467

Closed
Open
Created May 11, 2022 by Kutalmis Bercin@kutiMaintainer

globalIndex gather of indirect list (contiguous data) fails

  • $FOAM_TUTORIALS/finiteArea/surfactantFoam/planeTransport
    • ./Allrun-parallel and inspect log.makeFaMesh.
    • runParallel makeFaMesh also fails.
  • HEAD: 809fc701.
  • The case runs with v2112 (HEAD: 14aeaf8d) and in serial mode.
  • Traceback:
Write finite area mesh.

[0] --> FOAM FATAL ERROR: (openfoam-2202 patch=220310)
[0] attempt to access element 0 from zero sized list

...

[0] #6  Foam::UList<char>::operator[](int) at ~/OpenFOAM/base/develop/src/OpenFOAM/lnInclude/UListI.H:302
[0] #7  Foam::UIPstreamBase::read(char&) at ~/OpenFOAM/base/develop/src/OpenFOAM/db/IOstreams/Pstreams/UIPstreamBase.C:409
[0] #8  Foam::UIPstreamBase::read(Foam::token&) at ~/OpenFOAM/base/develop/src/OpenFOAM/db/IOstreams/Pstreams/UIPstreamBase.C:25
1
[0] #9  Foam::token::token(Foam::Istream&) at ~/OpenFOAM/base/develop/src/OpenFOAM/db/IOstreams/token/tokenIO.C:128
[0] #10  Foam::UList<Foam::Vector<double> >::readList(Foam::Istream&) at ~/OpenFOAM/base/develop/src/OpenFOAM/lnInclude/UListIO.
C:168
[0] #11  Foam::Istream& Foam::operator>><Foam::Vector<double> >(Foam::Istream&, Foam::UList<Foam::Vector<double> >&) at ~/OpenFO
AM/base/develop/src/OpenFOAM/lnInclude/UList.H:610
[0] #12  void Foam::globalIndex::gather<Foam::Vector<double>, Foam::UList<int> >(Foam::UList<int> const&, int, Foam::UList<int> 
const&, Foam::IndirectListBase<Foam::Vector<double>, Foam::UList<int> > const&, Foam::List<Foam::Vector<double> >&, int, Foam::U
Pstream::commsTypes) at ~/OpenFOAM/base/develop/src/OpenFOAM/lnInclude/globalIndexTemplates.C:304
[0] #13  void Foam::globalIndex::gather<Foam::Vector<double>, Foam::UList<int> >(Foam::IndirectListBase<Foam::Vector<double>, Fo
am::UList<int> > const&, Foam::List<Foam::Vector<double> >&, int, Foam::UPstream::commsTypes, int) const at ~/OpenFOAM/base/deve
lop/src/OpenFOAM/lnInclude/globalIndexTemplates.C:395
[0] #14  Foam::faMeshReconstructor::calcAddressing(Foam::UList<int> const&) at ~/OpenFOAM/base/develop/src/parallel/reconstruct/
faReconstruct/faMeshReconstructor.C:240
[0] #15  Foam::faMeshReconstructor::faMeshReconstructor(Foam::faMesh const&) at ~/OpenFOAM/base/develop/src/parallel/reconstruct
/faReconstruct/faMeshReconstructor.C:570

...

@mark @Mattijs

Edited May 12, 2022 by Mark Olesen
Assignee
Assign to
Time tracking