ENH: Lagrangian - provided backwards compatibility for cases using the
old "positions" file form The change to barycentric-based tracking changed the contents of the cloud "positions" file to a new format comprising the barycentric co-ordinates and other cell position-based info. This broke backwards compatibility, providing no option to restart old cases (v1706 and earlier), and caused difficulties for dependent code, e.g. for post-processing utilities that could only infer the contents only after reading. The barycentric position info is now written to a file called "coordinates" with provision to restart old cases for which only the "positions" file is available. Related utilities, e.g. for parallel running and data conversion have been updated to be able to support both file types. To write the "positions" file by default, use set the following option in the InfoSwitches section of the controlDict: writeLagrangianPositions 1;
Showing
- applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C 1 addition, 0 deletions...ities/miscellaneous/foamFormatConvert/foamFormatConvert.C
- applications/utilities/parallelProcessing/decomposePar/decomposePar.C 5 additions, 5 deletions.../utilities/parallelProcessing/decomposePar/decomposePar.C
- applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C 3 additions, 1 deletion...lities/parallelProcessing/reconstructPar/reconstructPar.C
- applications/utilities/parallelProcessing/redistributePar/parLagrangianRedistributor.C 8 additions, 3 deletions...elProcessing/redistributePar/parLagrangianRedistributor.C
- applications/utilities/postProcessing/dataConversion/foamToEnsight/findCloudFields.H 5 additions, 3 deletions...Processing/dataConversion/foamToEnsight/findCloudFields.H
- applications/utilities/postProcessing/dataConversion/foamToEnsightParts/ensightOutputSerialCloud.C 2 additions, 2 deletions...aConversion/foamToEnsightParts/ensightOutputSerialCloud.C
- applications/utilities/postProcessing/dataConversion/foamToEnsightParts/findFields.H 4 additions, 4 deletions...Processing/dataConversion/foamToEnsightParts/findFields.H
- applications/utilities/postProcessing/dataConversion/foamToEnsightParts/foamToEnsightParts.C 7 additions, 2 deletions...ng/dataConversion/foamToEnsightParts/foamToEnsightParts.C
- applications/utilities/postProcessing/dataConversion/foamToGMV/gmvOutput.H 15 additions, 2 deletions...ities/postProcessing/dataConversion/foamToGMV/gmvOutput.H
- applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C 2 additions, 1 deletion...essing/dataConversion/foamToTecplot360/foamToTecplot360.C
- applications/utilities/postProcessing/dataConversion/foamToVTK/findClouds.H 5 additions, 7 deletions...ties/postProcessing/dataConversion/foamToVTK/findClouds.H
- applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C 1 addition, 1 deletion...ities/postProcessing/dataConversion/foamToVTK/foamToVTK.C
- applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMeshLagrangian.C 2 additions, 1 deletion...ng/graphics/PVReaders/vtkPVFoam/vtkPVFoamMeshLagrangian.C
- applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_set_filenames.H 19 additions, 6 deletions...ocessing/graphics/ensightFoamReader/USERD_set_filenames.H
- applications/utilities/preProcessing/mapFields/mapLagrangian.C 2 additions, 1 deletion...cations/utilities/preProcessing/mapFields/mapLagrangian.C
- applications/utilities/preProcessing/mapFieldsPar/mapLagrangian.C 4 additions, 1 deletion...ions/utilities/preProcessing/mapFieldsPar/mapLagrangian.C
- etc/controlDict 3 additions, 0 deletionsetc/controlDict
- src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C 24 additions, 29 deletions...yMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C
- src/functionObjects/field/nearWallFields/findCellParticle.C 3 additions, 2 deletionssrc/functionObjects/field/nearWallFields/findCellParticle.C
- src/functionObjects/field/nearWallFields/findCellParticle.H 2 additions, 1 deletionsrc/functionObjects/field/nearWallFields/findCellParticle.H
Please register or sign in to comment