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 393
    • Issues 393
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #988

Closed
Open
Created Aug 30, 2018 by Mattijs Janssens@MattijsMaintainer

reference cell initialised to 0 instead of -1

If you have a cht case with 0 cells on some processors the call to getRefCellValue will fail. The reference cell setting is only done for fields that need it but the getRefCellValue is done always.

In createFluidFields.H replace

List<label> pRefCellFluid(fluidRegions.size(), 0);

with

List<label> pRefCellFluid(fluidRegions.size(), -1);

@Sergio review?

Assignee
Assign to
Time tracking