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 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #767
Closed
Open
Issue created Mar 14, 2018 by Admin@OpenFOAM-adminMaintainer

no space between columns in checkMesh cellZone addressing for meshes with >= 100e6 cells

Arguably a small detail, but checkMesh in 1712 does not have consistent spacing in the cellZone printing, as shown below.

For 9-figure meshes, there is no spacing between the cellZone name, cells, and point columns. A bit of an issue for us as we use the space between columns to differentiate cellZone name from # of Cells in our setup scripts.

Checking basic cellZone addressing...


> CellZone Cells Points BoundingBox
> fluid_l_external104026664119866016 (-20 -24.576 -0.06) (70.112 24.576 24.516)
> fluid_l_mrf_fr_brakedisc 685610 804169 (-0.1884896 -0.8280122 0.0628215) (0.1913971 -0.7942205 0.4428661)
> fluid_l_mrf_fr_wheel 682900 774175 (-0.2257212 -0.9685231 0.03248847) (0.2276147 -0.8660904 0.4864085)

It looks like it's coming from the block below, where the widths for the cells/points columns is set as 9, which for 9-figure meshes, gives no spacing between. For our own use, I can just up this value. But I am not sure what the best practice for handling this generally would be, surely there are people out there meshing with billions of cells! :-)

https://develop.openfoam.com/Development/OpenFOAM-plus/blob/master/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C#L647

    {
        Info<< "\nChecking basic cellZone addressing..." << endl;

        Pout.setf(ios_base::left);

        const cellZoneMesh& cellZones = mesh.cellZones();

        if (cellZones.size())
        {
            Info<< "    "
                << setw(20) << "CellZone"
                << setw(9) << "Cells"
                << setw(9) << "Points"
                << ' ' << "BoundingBox" <<endl;

            const cellList& cells = mesh.cells();
            const faceList& faces = mesh.faces();
            PackedBoolList isZonePoint(mesh.nPoints());
Assignee
Assign to
Time tracking