From 9c2cd307cd31bd7b4af1b4f34d9ddc778b206705 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 25 Oct 2013 12:36:11 +0100 Subject: [PATCH 1/5] ENH: mapFieldsDict: corrected comment --- applications/utilities/preProcessing/mapFields/mapFieldsDict | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/preProcessing/mapFields/mapFieldsDict b/applications/utilities/preProcessing/mapFields/mapFieldsDict index 00a190cc77..96fb5a7f86 100644 --- a/applications/utilities/preProcessing/mapFields/mapFieldsDict +++ b/applications/utilities/preProcessing/mapFields/mapFieldsDict @@ -14,7 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// List of pairs of source/target patches for mapping +// List of pairs of target/source patches for mapping patchMap ( lid movingWall From cad5d3014808eed6e228e40175031704950160e0 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 25 Oct 2013 12:55:06 +0100 Subject: [PATCH 2/5] ENH: polyMeshIO: initial test of re-reading boundary file --- src/OpenFOAM/meshes/polyMesh/polyMeshIO.C | 49 ++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshIO.C b/src/OpenFOAM/meshes/polyMesh/polyMeshIO.C index 313eb3e25b..6015f1167d 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshIO.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshIO.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -74,11 +74,14 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate() // Find the point and cell instance fileName pointsInst(time().findInstance(meshDir(), "points")); fileName facesInst(time().findInstance(meshDir(), "faces")); + //fileName boundaryInst(time().findInstance(meshDir(), "boundary")); if (debug) { Info<< "Faces instance: old = " << facesInstance() << " new = " << facesInst << nl + //<< "Boundary instance: old = " << boundary_.instance() + //<< " new = " << boundaryInst << nl << "Points instance: old = " << pointsInstance() << " new = " << pointsInst << endl; } @@ -447,6 +450,50 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate() geometricD_ = Vector