diff --git a/ReleaseNotes-dev b/ReleaseNotes-dev index a135a9b086..2418343bb7 100644 --- a/ReleaseNotes-dev +++ b/ReleaseNotes-dev @@ -91,6 +91,9 @@ *** *New* ptscotch decomposition method *** *Updated* particle tracking algorithm *** *Updated* split cyclics into two separate patches. See doc/changed/splitCyclics.txt + * *Updated* interpolation (volPointInterpolation) now works without the + globalPointPatch. Moving mesh cases can now be run non-parallel and + continued in parallel and reconstructed without any limitation. *** *New* compact binary I/O for faces and cells. This speeds up reading/writing meshes in binary. *** *Updated* runTimeModifiable + on linux uses inotify instead of time stamps - more efficient for large diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C b/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C index ffe1ae5a33..c0a5277e88 100644 --- a/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C +++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C @@ -37,18 +37,16 @@ Foam::scalar Foam::solidRegionDiffNo scalar DiNum = 0.0; scalar meanDiNum = 0.0; - //- Can have fluid domains with 0 cells so do not test. - if (mesh.nInternalFaces()) - { - surfaceScalarField KrhoCpbyDelta = - mesh.surfaceInterpolation::deltaCoeffs() - * fvc::interpolate(K) - / fvc::interpolate(Cprho); + //- Take care: can have fluid domains with 0 cells so do not test for + // zero internal faces. + surfaceScalarField KrhoCpbyDelta = + mesh.surfaceInterpolation::deltaCoeffs() + * fvc::interpolate(K) + / fvc::interpolate(Cprho); - DiNum = max(KrhoCpbyDelta.internalField())*runTime.deltaT().value(); + DiNum = gMax(KrhoCpbyDelta.internalField())*runTime.deltaT().value(); - meanDiNum = (average(KrhoCpbyDelta)).value()*runTime.deltaT().value(); - } + meanDiNum = (average(KrhoCpbyDelta)).value()*runTime.deltaT().value(); Info<< "Region: " << mesh.name() << " Diffusion Number mean: " << meanDiNum << " max: " << DiNum << endl; diff --git a/applications/test/DynamicField/DynamicFieldTest.C b/applications/test/DynamicField/DynamicFieldTest.C index bfff5b2453..a3af8f6148 100644 --- a/applications/test/DynamicField/DynamicFieldTest.C +++ b/applications/test/DynamicField/DynamicFieldTest.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2009-2010 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -25,9 +25,9 @@ Description \*---------------------------------------------------------------------------*/ +#include "point.H" #include "DynamicField.H" #include "IOstreams.H" -#include "labelField.H" using namespace Foam; @@ -36,44 +36,62 @@ using namespace Foam; int main(int argc, char *argv[]) { - { - DynamicField