diff --git a/applications/solvers/incompressible/simpleFoam/UEqn.H b/applications/solvers/incompressible/simpleFoam/UEqn.H index 9f9d9f6dd4..eb40b7665b 100644 --- a/applications/solvers/incompressible/simpleFoam/UEqn.H +++ b/applications/solvers/incompressible/simpleFoam/UEqn.H @@ -14,4 +14,3 @@ ).initialResidual(); maxResidual = max(eqnResidual, maxResidual); - diff --git a/applications/solvers/multiphase/twoLiquidMixingFoam/UEqn.H b/applications/solvers/multiphase/twoLiquidMixingFoam/UEqn.H index 18b915b16b..c0daa0e7ca 100644 --- a/applications/solvers/multiphase/twoLiquidMixingFoam/UEqn.H +++ b/applications/solvers/multiphase/twoLiquidMixingFoam/UEqn.H @@ -12,6 +12,7 @@ - fvm::laplacian(muEff, U) - (fvc::grad(U) & fvc::grad(muEff)) //- fvc::div(muEff*(fvc::interpolate(dev(fvc::grad(U))) & mesh.Sf())) + //- fvc::div(rho*turbulence->nuEff()*dev(fvc::grad(U)().T())) ); if (oCorr == nOuterCorr-1) diff --git a/applications/utilities/mesh/manipulation/createPatch/createPatchDict b/applications/utilities/mesh/manipulation/createPatch/createPatchDict index 2ab9a8b3cc..9704392a10 100644 --- a/applications/utilities/mesh/manipulation/createPatch/createPatchDict +++ b/applications/utilities/mesh/manipulation/createPatch/createPatchDict @@ -53,18 +53,18 @@ patches name sidePatches; // Type of new patch - dictionary - { + dictionary + { type cyclic; - // Optional: explicitly set transformation tensor. + // Optional: explicitly set transformation tensor. // Used when matching and synchronising points. //transform translational; //separationVector (-2289 0 0); - transform rotational; - rotationAxis (1 0 0); + transform rotational; + rotationAxis (1 0 0); rotationCentre (0 0 0); - } + } // How to construct: either from 'patches' or 'set' constructFrom patches; @@ -80,10 +80,10 @@ patches name bottom; // Type of new patch - dictionary - { + dictionary + { type wall; - } + } constructFrom set; diff --git a/bin/foamLog b/bin/foamLog index 47968aa120..06b2a2c5dc 100755 --- a/bin/foamLog +++ b/bin/foamLog @@ -452,5 +452,6 @@ done #----------------------------- myEcho "Generated XY files for:" getAllQueries $DBFILE $LOG +myEcho "End" #------------------------------------------------------------------------------ diff --git a/src/OpenFOAM/Make/files b/src/OpenFOAM/Make/files index e608e4695b..7bff2143ec 100644 --- a/src/OpenFOAM/Make/files +++ b/src/OpenFOAM/Make/files @@ -345,6 +345,9 @@ $(globalMeshData)/globalIndex.C $(polyMesh)/syncTools/syncTools.C +zone = $(polyMesh)/zones/zone +$(zone)/zone.C + cellZone = $(polyMesh)/zones/cellZone $(cellZone)/cellZone.C $(cellZone)/newCellZone.C diff --git a/src/OpenFOAM/meshes/polyMesh/zones/ZoneID/ZoneID.H b/src/OpenFOAM/meshes/polyMesh/zones/ZoneID/ZoneID.H index 5c98efd84a..b6800dceb6 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/ZoneID/ZoneID.H +++ b/src/OpenFOAM/meshes/polyMesh/zones/ZoneID/ZoneID.H @@ -114,6 +114,7 @@ public: return index_ > -1; } + // Edit //- Update diff --git a/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZone.C b/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZone.C index ff8041fc60..a7672104da 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZone.C +++ b/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZone.C @@ -22,9 +22,6 @@ License along with OpenFOAM; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -Description - A subset of mesh cells. - \*---------------------------------------------------------------------------*/ #include "cellZone.H" @@ -45,59 +42,9 @@ namespace Foam addToRunTimeSelectionTable(cellZone, cellZone, dictionary); } -// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // - -const Foam::Map& Foam::cellZone::cellLookupMap() const -{ - if (!cellLookupMapPtr_) - { - calcCellLookupMap(); - } - - return *cellLookupMapPtr_; -} - - -void Foam::cellZone::calcCellLookupMap() const -{ - if (debug) - { - Info<< "void cellZone::calcCellLookupMap() const : " - << "Calculating cell lookup map" - << endl; - } - - if (cellLookupMapPtr_) - { - FatalErrorIn - ( - "void cellZone::calcCellLookupMap() const" - ) << "cell lookup map already calculated" - << abort(FatalError); - } - - const labelList& addr = *this; - - cellLookupMapPtr_ = new Map