From bc8420e14f440fef9ab5a2931e024841fe26a1db Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 13 Dec 2017 17:56:34 +0100 Subject: [PATCH] STYLE: trailing whitespace, doxygen, error messages from fileOperation --- .../GidaspowErgunWenYu/GidaspowErgunWenYu.C | 2 +- .../foamUpgradeCyclics/Make/options | 2 +- .../tools/git-find-trailingspace | 11 +++--- doc/tools/README | 15 -------- .../collatedFileOperation.C | 6 ---- .../collatedFileOperation.H | 2 +- .../fileOperation/fileOperation.C | 35 ++++++------------- .../fileOperation/fileOperation.H | 23 +++++++++--- .../masterUncollatedFileOperation.C | 7 ---- .../masterUncollatedFileOperation.H | 2 +- .../uncollatedFileOperation.C | 6 ---- .../uncollatedFileOperation.H | 2 +- .../Base/kOmegaSST/kOmegaSSTBase.C | 2 +- .../DES/kOmegaSSTDDES/kOmegaSSTDDES.C | 2 +- .../porosityModel/porosityModelList.C | 2 +- .../turbulentDFSEMInletFvPatchVectorField.H | 2 +- ...lacementComponentLaplacianFvMotionSolver.H | 2 +- ...velocityComponentLaplacianFvMotionSolver.H | 2 +- .../displacementSBRStressFvMotionSolver.H | 2 +- .../displacementLaplacianFvMotionSolver.H | 2 +- .../surfaceAlignedSBRStressFvMotionSolver.H | 2 +- .../velocityLaplacianFvMotionSolver.H | 2 +- .../acousticDampingSource.C | 2 +- .../jouleHeatingSource/jouleHeatingSource.H | 14 ++++---- .../TimeScaleModels/isotropic/isotropic.C | 2 +- .../snappyHexMeshDriver/snappyLayerDriver.C | 2 +- .../windowModels/Hanning/Hanning.C | 2 +- .../reactingOneDim/reactingOneDim.C | 2 +- src/rigidBodyDynamics/joints/Rz/Rz.H | 2 +- .../rigidBodyMeshMotion/rigidBodyMeshMotion.H | 2 +- .../sixDoFRigidBodyMotionSolver.H | 2 +- .../specieReactionRates/specieReactionRates.C | 2 +- ...emperatureCoupledMixedFvPatchScalarField.H | 2 +- 33 files changed, 65 insertions(+), 102 deletions(-) rename doc/tools/find-trailingspace => bin/tools/git-find-trailingspace (62%) delete mode 100644 doc/tools/README diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C index 3ad9969954..6fec92d0b2 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C @@ -36,7 +36,7 @@ namespace Foam namespace dragModels { defineTypeNameAndDebug(GidaspowErgunWenYu, 0); - addToRunTimeSelectionTable(dragModel, GidaspowErgunWenYu, dictionary); + addToRunTimeSelectionTable(dragModel, GidaspowErgunWenYu, dictionary); } } diff --git a/applications/utilities/preProcessing/foamUpgradeCyclics/Make/options b/applications/utilities/preProcessing/foamUpgradeCyclics/Make/options index 93ae287538..16eb624bec 100644 --- a/applications/utilities/preProcessing/foamUpgradeCyclics/Make/options +++ b/applications/utilities/preProcessing/foamUpgradeCyclics/Make/options @@ -1,5 +1,5 @@ EXE_INC = \ - -I$(LIB_SRC)/finiteVolume/lnInclude + -I$(LIB_SRC)/finiteVolume/lnInclude EXE_LIBS = \ -lfiniteVolume \ diff --git a/doc/tools/find-trailingspace b/bin/tools/git-find-trailingspace similarity index 62% rename from doc/tools/find-trailingspace rename to bin/tools/git-find-trailingspace index 1dfcf1ed3e..e6e74e4339 100755 --- a/doc/tools/find-trailingspace +++ b/bin/tools/git-find-trailingspace @@ -1,16 +1,13 @@ -#!/bin/bash +#!/bin/sh #------------------------------------------------------------------------------ # Script -# find-trailingspace +# git-find-trailingspace # # Description -# Search for files with trailing whitesapce +# Use git grep to search for files with trailing whitespace # #------------------------------------------------------------------------------ -cd $WM_PROJECT_DIR || exit 1 -tab=$'\t' - -git grep -c -E "[ $tab]+"'$' -- $@ +git grep -c -P '\s+$' -- $@ #------------------------------------------------------------------------------ diff --git a/doc/tools/README b/doc/tools/README deleted file mode 100644 index 86c4e8ae73..0000000000 --- a/doc/tools/README +++ /dev/null @@ -1,15 +0,0 @@ -Misc. tools for finding and/or repairing common documentation problems -See the comments in the scripts. - -1. find-suspiciousTags -2. fix-Class -3. find-tinyDescription -4. find-placeholderDescription -5. find-retagged - -Misc Tools -1. find-templateInComments -2. find-its -3. find-junkFiles -4. find-longlines - diff --git a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.C b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.C index dd105496a4..37b8103c55 100644 --- a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.C +++ b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.C @@ -227,12 +227,6 @@ Foam::fileOperations::collatedFileOperation::collatedFileOperation } -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::fileOperations::collatedFileOperation::~collatedFileOperation() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // Foam::fileName Foam::fileOperations::collatedFileOperation::objectPath diff --git a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H index 49a19e6735..97eca7d935 100644 --- a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H +++ b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H @@ -99,7 +99,7 @@ public: //- Destructor - virtual ~collatedFileOperation(); + virtual ~collatedFileOperation() = default; // Member Functions diff --git a/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.C b/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.C index 7e3065a343..a21c334ff5 100644 --- a/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.C +++ b/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.C @@ -54,10 +54,10 @@ namespace Foam false ) ); - - word fileOperation::processorsDir = "processors"; } +Foam::word Foam::fileOperation::processorsDir = "processors"; + // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // @@ -143,30 +143,25 @@ bool Foam::fileOperation::isFileOrDir(const bool isFile, const fileName& f) // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // -Foam::fileOperation::fileOperation() -{} - - Foam::autoPtr Foam::fileOperation::New ( - const word& type, + const word& handlerType, const bool verbose ) { if (debug) { - InfoInFunction << "Constructing fileOperation" << endl; + InfoInFunction << "Constructing fileHandler" << endl; } - wordConstructorTable::iterator cstrIter = - wordConstructorTablePtr_->find(type); + auto cstrIter = wordConstructorTablePtr_->cfind(handlerType); - if (cstrIter == wordConstructorTablePtr_->end()) + if (!cstrIter.found()) { FatalErrorInFunction - << "Unknown fileOperation type " - << type << nl << nl - << "Valid fileOperation types are" << endl + << "Unknown fileHandler type " + << handlerType << nl << nl + << "Valid fileHandler types :" << endl << wordConstructorTablePtr_->sortedToc() << abort(FatalError); } @@ -175,12 +170,6 @@ Foam::autoPtr Foam::fileOperation::New } -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::fileOperation::~fileOperation() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // Foam::fileName Foam::fileOperation::objectPath @@ -278,10 +267,8 @@ Foam::fileName Foam::fileOperation::filePath(const fileName& fName) const { return fName; } - else - { - return fileName::null; - } + + return fileName::null; } diff --git a/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H b/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H index f7044aa08e..58a847d416 100644 --- a/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H +++ b/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H @@ -24,6 +24,15 @@ License Class Foam::fileOperation +Description + An encapsulation of filesystem-related operations. + +Namespace + Foam::fileOperations + +Description + Namespace for implementations of a fileOperation + \*---------------------------------------------------------------------------*/ #ifndef fileOperation_H @@ -75,7 +84,7 @@ public: // Static data - //- Return the processors directory name (usually "processors") + //- The processors directory name (usually "processors") static word processorsDir; //- Default fileHandler @@ -108,7 +117,7 @@ public: // Constructors //- Construct null - fileOperation(); + fileOperation() = default; // Declare run-time constructor selection table @@ -127,12 +136,16 @@ public: // Selectors - //- Select type - static autoPtr New(const word& type, const bool verbose); + //- Select fileHandler-type + static autoPtr New + ( + const word& handlerType, + const bool verbose + ); //- Destructor - virtual ~fileOperation(); + virtual ~fileOperation() = default; // Member Functions diff --git a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C index f915eb5806..44604a64f5 100644 --- a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C +++ b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C @@ -489,13 +489,6 @@ masterUncollatedFileOperation } -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::fileOperations::masterUncollatedFileOperation:: -~masterUncollatedFileOperation() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // bool Foam::fileOperations::masterUncollatedFileOperation::mkDir diff --git a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H index b57ced6153..c7aa56d319 100644 --- a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H +++ b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H @@ -427,7 +427,7 @@ public: //- Destructor - virtual ~masterUncollatedFileOperation(); + virtual ~masterUncollatedFileOperation() = default; // Member Functions diff --git a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C index 9c4788b3f5..817a4eb2a2 100644 --- a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C +++ b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C @@ -161,12 +161,6 @@ Foam::fileOperations::uncollatedFileOperation::uncollatedFileOperation } -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::fileOperations::uncollatedFileOperation::~uncollatedFileOperation() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // bool Foam::fileOperations::uncollatedFileOperation::mkDir diff --git a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H index 8e750214e3..e6f05a5a36 100644 --- a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H +++ b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H @@ -77,7 +77,7 @@ public: //- Destructor - virtual ~uncollatedFileOperation(); + virtual ~uncollatedFileOperation() = default; // Member Functions diff --git a/src/TurbulenceModels/turbulenceModels/Base/kOmegaSST/kOmegaSSTBase.C b/src/TurbulenceModels/turbulenceModels/Base/kOmegaSST/kOmegaSSTBase.C index 3694be51a5..26dad6c346 100644 --- a/src/TurbulenceModels/turbulenceModels/Base/kOmegaSST/kOmegaSSTBase.C +++ b/src/TurbulenceModels/turbulenceModels/Base/kOmegaSST/kOmegaSSTBase.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation - \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. + \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. diff --git a/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDDES/kOmegaSSTDDES.C b/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDDES/kOmegaSSTDDES.C index d2aef82e83..b0b4c8d1a0 100644 --- a/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDDES/kOmegaSSTDDES.C +++ b/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDDES/kOmegaSSTDDES.C @@ -89,7 +89,7 @@ tmp kOmegaSSTDDES::dTilda return max ( - lRAS + lRAS - fd(magGradU) *max ( diff --git a/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModelList.C b/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModelList.C index 339ea07b73..bb39e24138 100644 --- a/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModelList.C +++ b/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModelList.C @@ -153,7 +153,7 @@ void Foam::porosityModelList::addResistance ( const fvVectorMatrix& UEqn, volTensorField& AU, - bool correctAUprocBC + bool correctAUprocBC ) { forAll(*this, i) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.H index 8b1e38f805..b86a6fe3e3 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.H @@ -44,7 +44,7 @@ Description entered in the same form as the timeVaryingMappedFixedValue condition, except that no interpolation in time is supported. These should be located in the directory: - + \$FOAM_CASE/constant/boundaryData//points \$FOAM_CASE/constant/boundaryData//0/\{R|U|L\} diff --git a/src/fvMotionSolver/fvMotionSolvers/componentDisplacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/componentDisplacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.H index 91cd122a25..012cb6fd36 100644 --- a/src/fvMotionSolver/fvMotionSolvers/componentDisplacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/componentDisplacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.H @@ -25,7 +25,7 @@ Class Foam::displacementComponentLaplacianFvMotionSolver Group - grpMeshMotionSolvers + grpMeshMotionSolvers Description Mesh motion solver for an fvMesh. Based on solving the cell-centre diff --git a/src/fvMotionSolver/fvMotionSolvers/componentVelocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/componentVelocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.H index 35db5b256e..591c275dde 100644 --- a/src/fvMotionSolver/fvMotionSolvers/componentVelocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/componentVelocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.H @@ -25,7 +25,7 @@ Class Foam::velocityComponentLaplacianFvMotionSolver Group - grpMeshMotionSolvers + grpMeshMotionSolvers Description Mesh motion solver for an fvMesh. Based on solving the cell-centre diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H index 857e7e51d8..bb03b88838 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H @@ -25,7 +25,7 @@ Class Foam::displacementSBRStressFvMotionSolver Group - grpMeshMotionSolvers + grpMeshMotionSolvers Description Mesh motion solver for an fvMesh. Based on solving the cell-centre diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H index 3abc4cbf09..0c2fcef937 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H @@ -25,7 +25,7 @@ Class Foam::displacementLaplacianFvMotionSolver Group - grpMeshMotionSolvers + grpMeshMotionSolvers Description Mesh motion solver for an fvMesh. Based on solving the cell-centre diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H index d0bac6c048..6a0884ce08 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H @@ -25,7 +25,7 @@ Class Foam::surfaceAlignedSBRStressFvMotionSolver Group - grpMeshMotionSolvers + grpMeshMotionSolvers Description Mesh motion solver for an fvMesh. Based on solving the cell-centre diff --git a/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H index 457aee03d8..b4b302951a 100644 --- a/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H @@ -25,7 +25,7 @@ Class Foam::velocityLaplacianFvMotionSolver Group - grpMeshMotionSolvers + grpMeshMotionSolvers Description Mesh motion solver for an fvMesh. Based on solving the cell-centre diff --git a/src/fvOptions/sources/derived/acousticDampingSource/acousticDampingSource.C b/src/fvOptions/sources/derived/acousticDampingSource/acousticDampingSource.C index b6c2be4abc..d19ddf7dfe 100644 --- a/src/fvOptions/sources/derived/acousticDampingSource/acousticDampingSource.C +++ b/src/fvOptions/sources/derived/acousticDampingSource/acousticDampingSource.C @@ -57,7 +57,7 @@ void Foam::fv::acousticDampingSource::setBlendingFactor() const vectorField& Cf = mesh_.C(); const scalar pi = constant::mathematical::pi; - + forAll(cells_, i) { label celli = cells_[i]; diff --git a/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.H b/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.H index 5856564739..2d125c7703 100644 --- a/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.H +++ b/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.H @@ -40,24 +40,24 @@ Description To provide a Joule heating contribution according to: Differential form of Joule heating - power per unit volume: - + \f[ \frac{d(P)}{d(V)} = J \cdot E \f] - + where \f$ J \f$ is the current density and \f$ E \f$ the electric field. If no magnetic field is present: - + \f[ J = \sigma E \f] - + The electric field given by - + \f[ E = \grad V \f] - + Therefore: \f[ @@ -79,7 +79,7 @@ Usage sigma table ( (273 1e5) - (1000 1e5) + (1000 1e5) ); } \endverbatim diff --git a/src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/isotropic/isotropic.C b/src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/isotropic/isotropic.C index 9beb2f35ce..d799f6cfc5 100644 --- a/src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/isotropic/isotropic.C +++ b/src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/isotropic/isotropic.C @@ -84,7 +84,7 @@ Foam::TimeScaleModels::isotropic::oneByTau static const scalar a = 8.0*sqrt(2.0)/(5.0*constant::mathematical::pi) *0.25*(3.0 - e_)*(1.0 + e_); - + return a*f*alphaPacked_/max(alphaPacked_ - alpha, SMALL); } diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C index 749428302e..fd33ec7b6e 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C @@ -4608,7 +4608,7 @@ void Foam::snappyLayerDriver::doLayers if (!preBalance) { // Check if there are faceZones on processor boundaries. This - // requires balancing to move them off the processor boundaries. + // requires balancing to move them off the processor boundaries. // Is face on a faceZone PackedBoolList isExtrudedZoneFace(mesh.nFaces()); diff --git a/src/randomProcesses/windowModels/Hanning/Hanning.C b/src/randomProcesses/windowModels/Hanning/Hanning.C index 8bafcf9bc5..4ede8d7d3b 100644 --- a/src/randomProcesses/windowModels/Hanning/Hanning.C +++ b/src/randomProcesses/windowModels/Hanning/Hanning.C @@ -52,7 +52,7 @@ Hanning::Hanning(const dictionary& dict, const label nSamples) // Extend range if required label offset = extended_ ? 1 : 0; scalar m = nSamples - 1 + 2*offset; - + scalarField t(nSamples); forAll(t, i) { diff --git a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C index 785ef1a64b..e74fc89d32 100644 --- a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C +++ b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C @@ -333,7 +333,7 @@ void reactingOneDim::solveEnergy() NOTE: The moving mesh option is only correct for reaction such as Solid -> Gas, thus the ddt term is compesated exaclty by chemistrySh and the mesh flux is not necessary. - + if (regionMesh().moving()) { surfaceScalarField phihMesh diff --git a/src/rigidBodyDynamics/joints/Rz/Rz.H b/src/rigidBodyDynamics/joints/Rz/Rz.H index d7c8486710..414b13a085 100644 --- a/src/rigidBodyDynamics/joints/Rz/Rz.H +++ b/src/rigidBodyDynamics/joints/Rz/Rz.H @@ -26,7 +26,7 @@ Class Group grpRigidBodyDynamicsJoints - + Description Revolute joint for rotation about the z-axis diff --git a/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.H b/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.H index 63820d5e8a..f39666277f 100644 --- a/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.H +++ b/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.H @@ -25,7 +25,7 @@ Class Foam::rigidBodyMeshMotion Group - grpMeshMotionSolvers + grpMeshMotionSolvers Description Rigid-body mesh motion solver for fvMesh. diff --git a/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.H b/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.H index b599c42562..45b6fd5d18 100644 --- a/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.H +++ b/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.H @@ -25,7 +25,7 @@ Class Foam::sixDoFRigidBodyMotionSolver Group - grpMeshMotionSolvers + grpMeshMotionSolvers Description 6-DoF solid-body mesh motion solver for an fvMesh. diff --git a/src/thermophysicalModels/chemistryModel/functionObjects/specieReactionRates/specieReactionRates.C b/src/thermophysicalModels/chemistryModel/functionObjects/specieReactionRates/specieReactionRates.C index 22fe72c630..4458bf3a87 100644 --- a/src/thermophysicalModels/chemistryModel/functionObjects/specieReactionRates/specieReactionRates.C +++ b/src/thermophysicalModels/chemistryModel/functionObjects/specieReactionRates/specieReactionRates.C @@ -153,7 +153,7 @@ bool Foam::functionObjects::specieReactionRates::write() } file() << nl << endl; - + return true; } diff --git a/src/thermophysicalModels/thermophysicalPropertiesFvPatchFields/liquidProperties/humidityTemperatureCoupledMixed/humidityTemperatureCoupledMixedFvPatchScalarField.H b/src/thermophysicalModels/thermophysicalPropertiesFvPatchFields/liquidProperties/humidityTemperatureCoupledMixed/humidityTemperatureCoupledMixedFvPatchScalarField.H index f3f7fba580..3c0de53027 100644 --- a/src/thermophysicalModels/thermophysicalPropertiesFvPatchFields/liquidProperties/humidityTemperatureCoupledMixed/humidityTemperatureCoupledMixedFvPatchScalarField.H +++ b/src/thermophysicalModels/thermophysicalPropertiesFvPatchFields/liquidProperties/humidityTemperatureCoupledMixed/humidityTemperatureCoupledMixedFvPatchScalarField.H @@ -81,7 +81,7 @@ Description - A scalar transport equation for the carrier specie is required, e.g. supplied via a function object or in the main solver. This specie transports the vapour phase in the main ragion. - - The boundary condition of this specie on the coupled wall must be + - The boundary condition of this specie on the coupled wall must be fixedGradient in order to allow condensation or evaporation of the vapour in or out of this wall