diff --git a/src/fieldSources/sources/derived/interRegionHeatTransferModel/interRegionHeatTransferModel/interRegionHeatTransferModel.C b/src/fieldSources/sources/derived/interRegionHeatTransferModel/interRegionHeatTransferModel/interRegionHeatTransferModel.C index 1cd4178faf342efd4aa6af9ee46e0642fc989fc5..fd3f1b4475a351023afb57d93f0324f7e47a948b 100644 --- a/src/fieldSources/sources/derived/interRegionHeatTransferModel/interRegionHeatTransferModel/interRegionHeatTransferModel.C +++ b/src/fieldSources/sources/derived/interRegionHeatTransferModel/interRegionHeatTransferModel/interRegionHeatTransferModel.C @@ -127,7 +127,6 @@ Foam::interRegionHeatTransferModel::~interRegionHeatTransferModel() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // - void Foam::interRegionHeatTransferModel::addSup ( fvMatrix<scalar>& eEqn, diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H index abf4523afde408d1ca22944f0ab248c6107c15f6..1ce855b3aec678896dc6eadbb216e66877bacdf2 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H @@ -453,7 +453,7 @@ public: void interpolateToSource ( const UList<Type>& fld, - const CombineOp& bop, + const CombineOp& cop, List<Type>& result ) const; @@ -463,7 +463,7 @@ public: void interpolateToTarget ( const UList<Type>& fld, - const CombineOp& bop, + const CombineOp& cop, List<Type>& result ) const; diff --git a/src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H b/src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H index b63747abfdfd7a58465b1321cf8260a8d57efddc..45aef519524ab8278e788771162f0f9399f21f26 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H +++ b/src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPolyPatch/cyclicAMIPolyPatch.H @@ -321,11 +321,11 @@ public: ) const; //- Low-level interpolate List - template<class Type, class BinaryOp> + template<class Type, class CombineOp> void interpolate ( const UList<Type>& fld, - const BinaryOp& bop, + const CombineOp& cop, List<Type>& result ) const; diff --git a/src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPolyPatch/cyclicAMIPolyPatchTemplates.C b/src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPolyPatch/cyclicAMIPolyPatchTemplates.C index e4457dffade02eb00c0b2b40269bad427e9c642e..bf4507ff8e0161adefb595974282f8072b559eb4 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPolyPatch/cyclicAMIPolyPatchTemplates.C +++ b/src/meshTools/AMIInterpolation/patches/cyclic/cyclicAMIPolyPatch/cyclicAMIPolyPatchTemplates.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -59,21 +59,21 @@ Foam::tmp<Foam::Field<Type> > Foam::cyclicAMIPolyPatch::interpolate } -template<class Type, class BinaryOp> +template<class Type, class CombineOp> void Foam::cyclicAMIPolyPatch::interpolate ( const UList<Type>& fld, - const BinaryOp& bop, + const CombineOp& cop, List<Type>& result ) const { if (owner()) { - AMI().interpolateToSource(fld, bop, result); + AMI().interpolateToSource(fld, cop, result); } else { - neighbPatch().AMI().interpolateToTarget(fld, bop, result); + neighbPatch().AMI().interpolateToTarget(fld, cop, result); } } diff --git a/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C b/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C index 0248190cde571ab78111670f6047a3eefcfb6bc3..98b57ec4873389125d922db3e5676736b28eb959 100644 --- a/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C +++ b/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.C @@ -266,4 +266,12 @@ bool Foam::codedFunctionObject::read(const dictionary& dict) } +void Foam::codedFunctionObject::updateMesh(const mapPolyMesh&) +{} + + +void Foam::codedFunctionObject::movePoints(const polyMesh&) +{} + + // ************************************************************************* // diff --git a/src/turbulenceModels/compressible/LES/vanDriestDelta/vanDriestDelta.C b/src/turbulenceModels/compressible/LES/vanDriestDelta/vanDriestDelta.C index f6d85d5464c9ee47f5357148ed4241c50cc96674..8c9137846d0963f4eeb39ce584a28976eda9a6c4 100644 --- a/src/turbulenceModels/compressible/LES/vanDriestDelta/vanDriestDelta.C +++ b/src/turbulenceModels/compressible/LES/vanDriestDelta/vanDriestDelta.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -82,8 +82,10 @@ void vanDriestDelta::calcDelta() } } + scalar cutOff = wallPointYPlus::yPlusCutOff; wallPointYPlus::yPlusCutOff = 500; wallDistData<wallPointYPlus> y(mesh_, ystar); + wallPointYPlus::yPlusCutOff = cutOff; delta_ = min ( diff --git a/src/turbulenceModels/incompressible/LES/vanDriestDelta/vanDriestDelta.C b/src/turbulenceModels/incompressible/LES/vanDriestDelta/vanDriestDelta.C index 22aa5cb076adae2d2ca3859b9f1c2e66319bdc56..35cf23f686ac0719d12edbbbe2ec22bde6c0ec0e 100644 --- a/src/turbulenceModels/incompressible/LES/vanDriestDelta/vanDriestDelta.C +++ b/src/turbulenceModels/incompressible/LES/vanDriestDelta/vanDriestDelta.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -81,8 +81,10 @@ void vanDriestDelta::calcDelta() } } + scalar cutOff = wallPointYPlus::yPlusCutOff; wallPointYPlus::yPlusCutOff = 500; wallDistData<wallPointYPlus> y(mesh_, ystar); + wallPointYPlus::yPlusCutOff = cutOff; delta_ = min (