diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict index 1da4b92f08..b19b207124 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict @@ -209,6 +209,8 @@ snapControls // Settings for the layer addition. addLayersControls { + // Are the thickness parameters below relative to the undistorted + // size of the refined cell outside layer (true) or absolute sizes (false). relativeSizes true; // Per final patch (so not geometry!) the layer information @@ -230,14 +232,13 @@ addLayersControls //- Wanted thickness of final added cell layer. If multiple layers - // is the - // thickness of the layer furthest away from the wall. - // Relative to undistorted size of cell outside layer. + // is the thickness of the layer furthest away from the wall. + // See relativeSizes parameter. finalLayerThickness 0.3; //- Minimum thickness of cell layer. If for any reason layer // cannot be above minThickness do not add layer. - // Relative to undistorted size of cell outside layer. + // See relativeSizes parameter. minThickness 0.25; //- If points get not extruded do nGrow layers of connected faces that are diff --git a/applications/utilities/postProcessing/lagrangian/particleTracks/particleTracks.C b/applications/utilities/postProcessing/lagrangian/particleTracks/particleTracks.C index 596c9e4f88..3ad01ef870 100644 --- a/applications/utilities/postProcessing/lagrangian/particleTracks/particleTracks.C +++ b/applications/utilities/postProcessing/lagrangian/particleTracks/particleTracks.C @@ -38,7 +38,7 @@ Description #include "Time.H" #include "timeSelector.H" #include "OFstream.H" -#include "passiveParticle.H" +#include "passiveParticleCloud.H" using namespace Foam; @@ -61,7 +61,8 @@ int main(int argc, char *argv[]) fileName vtkPath(runTime.path()/"VTK"); mkDir(vtkPath); - Info<< "Scanning times to determine track data" << nl << endl; + Info<< "Scanning times to determine track data for cloud " << cloudName + << nl << endl; labelList maxIds(Pstream::nProcs(), -1); forAll(timeDirs, timeI) @@ -69,35 +70,33 @@ int main(int argc, char *argv[]) runTime.setTime(timeDirs[timeI], timeI); Info<< "Time = " << runTime.timeName() << endl; - IOobject positionsHeader - ( - "positions", - runTime.timeName(), - cloud::prefix/cloudName, - mesh, - IOobject::MUST_READ, - IOobject::NO_WRITE, - false - ); + Info<< " Reading particle positions" << endl; + passiveParticleCloud myCloud(mesh, cloudName); + Info<< " Read " << returnReduce(myCloud.size(), sumOp