openfoam/applications/solvers/incompressible
Mark Olesen ba10afea77 ENH: add 'filtered' polyMesh regionName() method
- in various situations with mesh regions it is also useful to
  filter out or remove the defaultRegion name (ie, "region0").

  Can now do that conveniently from the polyMesh itself or as a static
  function. Simply use this

      const word& regionDir = polyMesh::regionName(regionName);

  OR  mesh.regionName()

  instead of

      const word& regionDir =
      (
           regionName != polyMesh::defaultRegion
         ? regionName
         : word::null
      );

  Additionally, since the string '/' join operator filters out empty
  strings, the following will work correctly:

      (polyMesh::regionName(regionName)/polyMesh::meshSubDir)

      (mesh.regionName()/polyMesh::meshSubDir)
2022-05-27 14:10:31 +02:00
..
adjointOptimisationFoam STYLE: use Time::printExecutionTime() method 2020-08-07 09:24:56 +02:00
adjointShapeOptimizationFoam GIT: Header file updates 2019-10-31 14:48:44 +00:00
boundaryFoam GIT: Header file updates 2019-10-31 14:48:44 +00:00
icoFoam Merge commit 'e9219558d7' into develop-v1906 2019-12-05 11:47:19 +00:00
nonNewtonianIcoFoam GIT: Header file updates 2019-10-31 14:48:44 +00:00
pimpleFoam COMP: Added missed file 2021-12-10 15:43:22 +00:00
pisoFoam GIT: Header file updates 2019-10-31 14:48:44 +00:00
shallowWaterFoam ENH: align fileOperations/masterUncollatedFileOperation findInstance() 2022-04-29 11:44:28 +02:00
simpleFoam ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
incompressibleSolversDoc.H GIT: Header file updates 2019-10-31 14:48:44 +00:00