diff --git a/applications/solvers/combustion/PDRFoam/setDeltaT.H b/applications/solvers/combustion/PDRFoam/setDeltaT.H index b003854e77..1bc630f27f 100644 --- a/applications/solvers/combustion/PDRFoam/setDeltaT.H +++ b/applications/solvers/combustion/PDRFoam/setDeltaT.H @@ -26,7 +26,7 @@ Global Description Reset the timestep to maintain a constant maximum courant Number. - Reduction of time-step is imediate but increase is damped to avoid + Reduction of time-step is immediate but increase is damped to avoid unstable oscillations. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H b/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H index cf402dccf3..9d0bac58ac 100644 --- a/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H +++ b/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H @@ -26,7 +26,7 @@ Global Description Reset the timestep to maintain a constant maximum courant Number. - Reduction of time-step is imediate but increase is damped to avoid + Reduction of time-step is immediate but increase is damped to avoid unstable oscillations. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/cosine/cosine.H b/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/cosine/cosine.H index 1ae6535460..1ebacbb92c 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/cosine/cosine.H +++ b/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/cosine/cosine.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -91,7 +91,7 @@ public: // Member Functions - //- Calculate and return the wall heat-flux partioning + //- Calculate and return the wall heat-flux partitioning virtual tmp fLiquid(const scalarField& alphaLiquid) const; virtual void write(Ostream& os) const; diff --git a/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/linear/linear.H b/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/linear/linear.H index 9694a8752c..e7fea9b6b6 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/linear/linear.H +++ b/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/linear/linear.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -92,7 +92,7 @@ public: // Member Functions - //- Calculate and return the wall heat-flux partioning + //- Calculate and return the wall heat-flux partitioning virtual tmp fLiquid(const scalarField& alphaLiquid) const; virtual void write(Ostream& os) const; diff --git a/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/phaseFraction/phaseFraction.H b/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/phaseFraction/phaseFraction.H index 34ccb1ae11..f91e17ec71 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/phaseFraction/phaseFraction.H +++ b/applications/solvers/multiphase/reactingEulerFoam/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/phaseFraction/phaseFraction.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -73,7 +73,7 @@ public: // Member Functions - //- Calculate and return the wall heat-flux partioning + //- Calculate and return the wall heat-flux partitioning virtual tmp fLiquid(const scalarField& alphaLiquid) const; }; diff --git a/applications/solvers/multiphase/reactingEulerFoam/functionObjects/sizeDistribution/sizeDistribution.H b/applications/solvers/multiphase/reactingEulerFoam/functionObjects/sizeDistribution/sizeDistribution.H index e54f6ee3c6..099c770585 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/functionObjects/sizeDistribution/sizeDistribution.H +++ b/applications/solvers/multiphase/reactingEulerFoam/functionObjects/sizeDistribution/sizeDistribution.H @@ -181,7 +181,7 @@ protected: //- Number concentrations List N_; - //- Write moments up to spezified order with respect to abszissaType + //- Write moments up to specified order with respect to abszissaType label momentOrder_; //- Normalization switch diff --git a/applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/interfaceCompositionModels/NonRandomTwoLiquid/NonRandomTwoLiquid.H b/applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/interfaceCompositionModels/NonRandomTwoLiquid/NonRandomTwoLiquid.H index 2642a1ef3f..d9b688aad7 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/interfaceCompositionModels/NonRandomTwoLiquid/NonRandomTwoLiquid.H +++ b/applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/interfaceCompositionModels/NonRandomTwoLiquid/NonRandomTwoLiquid.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -88,10 +88,10 @@ class NonRandomTwoLiquid //- Non-randomness constant parameter for species 2 dimensionedScalar alpha21_; - //- Non-randomness linear paramater for species 1 + //- Non-randomness linear parameter for species 1 dimensionedScalar beta12_; - //- Non-randomness linear paramater for species 2 + //- Non-randomness linear parameter for species 2 dimensionedScalar beta21_; //- Interaction parameter model for species 1 diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/populationBalanceModel/driftModels/phaseChange/phaseChange.H b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/populationBalanceModel/driftModels/phaseChange/phaseChange.H index bc209d239a..87352e1841 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/populationBalanceModel/driftModels/phaseChange/phaseChange.H +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/populationBalanceModel/driftModels/phaseChange/phaseChange.H @@ -56,7 +56,7 @@ class phaseChange { // Private data - //- Names of unorderd phasePairs between which phaseChange occurs, i.e. + //- Names of unordered phasePairs between which phaseChange occurs, i.e. // "(gasIAndLiquid gasIIAndLiquid)" List pairNames_; diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/populationBalanceModel/populationBalanceModel/populationBalanceModel.H b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/populationBalanceModel/populationBalanceModel/populationBalanceModel.H index 432d16b4f7..7952bad162 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/populationBalanceModel/populationBalanceModel/populationBalanceModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/populationBalanceModel/populationBalanceModel/populationBalanceModel.H @@ -33,7 +33,7 @@ Description Ramkrishna (1996). The source terms are written in a way that particle number and mass are preserved. Coalescence (aggregation), breakup, drift (growth and surface loss) as well as nucleation are supported. - For the discrete breakup term two recipies are available, depending on the + For the discrete breakup term two recipes are available, depending on the model choice. For models which state a total breakup rate and a separate daughter size distribution function, the formulation of Kumar and Ramkrishna (1996) is applied which is applicable for binary and multiple breakup diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/twoPhaseSystem.C b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/twoPhaseSystem.C index c6861dcf2c..0cfe148d9e 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/twoPhaseSystem.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/twoPhaseSystem.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -183,7 +183,7 @@ Foam::twoPhaseSystem::twoPhaseSystem pair_, pair1In2_, pair2In1_, - false // Do not zero drag coefficent at fixed-flux BCs + false // Do not zero drag coefficient at fixed-flux BCs ) ); diff --git a/applications/test/ensightFoamReader/udr_checker-80.c b/applications/test/ensightFoamReader/udr_checker-80.c index 22fb6feb53..8b8e5ce190 100644 --- a/applications/test/ensightFoamReader/udr_checker-80.c +++ b/applications/test/ensightFoamReader/udr_checker-80.c @@ -3345,7 +3345,7 @@ gold_var_loader(int var_time_step) if(nsize > 0) { values = (float *) calloc((nsize+1),sizeof(float)); if(values == (float *) NULL) { - fprintf(stderr,"Error: alocating variable values\n"); + fprintf(stderr,"Error: allocating variable values\n"); return(Z_ERR); } @@ -3490,7 +3490,7 @@ gold_var_loader(int var_time_step) values = (float *) calloc((nsize+1),sizeof(float)); if(values == (float *) NULL) { - fprintf(stderr,"Error: alocating variable values\n"); + fprintf(stderr,"Error: allocating variable values\n"); return(Z_ERR); } @@ -4179,7 +4179,7 @@ var_loader(int var_time_step) if(nsize > 0) { values = (float *) calloc((num_comps * nsize),sizeof(float)); if(values == (float *) NULL) { - fprintf(stderr,"Error: alocating variable values\n"); + fprintf(stderr,"Error: allocating variable values\n"); return(Z_ERR); } @@ -4240,7 +4240,7 @@ var_loader(int var_time_step) tvalues = (float *) calloc(nsize,sizeof(float)); if(tvalues == (float *) NULL) { - fprintf(stderr,"Error: alocating tvalues array\n"); + fprintf(stderr,"Error: allocating tvalues array\n"); return(Z_ERR); } @@ -4364,7 +4364,7 @@ var_loader(int var_time_step) values = (float *) calloc((num_comps * nsize),sizeof(float)); if(values == (float *) NULL) { - fprintf(stderr,"Error: alocating variable values\n"); + fprintf(stderr,"Error: allocating variable values\n"); return(Z_ERR); } @@ -4424,7 +4424,7 @@ var_loader(int var_time_step) tvalues = (float *) calloc(nsize,sizeof(float)); if(tvalues == (float *) NULL) { - fprintf(stderr,"Error: alocating tvalues array\n"); + fprintf(stderr,"Error: allocating tvalues array\n"); return(Z_ERR); } diff --git a/applications/test/ensightFoamReader/udr_checker-90.c b/applications/test/ensightFoamReader/udr_checker-90.c index c3197bf8e9..5addb1ae4c 100644 --- a/applications/test/ensightFoamReader/udr_checker-90.c +++ b/applications/test/ensightFoamReader/udr_checker-90.c @@ -3806,7 +3806,7 @@ gold_var_loader(int var_time_step) if(nsize > 0) { values = (float *) calloc((nsize+1),sizeof(float)); if(values == (float *) NULL) { - fprintf(stderr,"Error: alocating variable values\n"); + fprintf(stderr,"Error: allocating variable values\n"); return(Z_ERR); } @@ -3976,7 +3976,7 @@ gold_var_loader(int var_time_step) values = (float *) calloc((nsize+1),sizeof(float)); if(values == (float *) NULL) { - fprintf(stderr,"Error: alocating variable values\n"); + fprintf(stderr,"Error: allocating variable values\n"); return(Z_ERR); } @@ -4665,7 +4665,7 @@ var_loader(int var_time_step) if(nsize > 0) { values = (float *) calloc((num_comps * nsize),sizeof(float)); if(values == (float *) NULL) { - fprintf(stderr,"Error: alocating variable values\n"); + fprintf(stderr,"Error: allocating variable values\n"); return(Z_ERR); } @@ -4726,7 +4726,7 @@ var_loader(int var_time_step) tvalues = (float *) calloc(nsize,sizeof(float)); if(tvalues == (float *) NULL) { - fprintf(stderr,"Error: alocating tvalues array\n"); + fprintf(stderr,"Error: allocating tvalues array\n"); return(Z_ERR); } @@ -4850,7 +4850,7 @@ var_loader(int var_time_step) values = (float *) calloc((num_comps * nsize),sizeof(float)); if(values == (float *) NULL) { - fprintf(stderr,"Error: alocating variable values\n"); + fprintf(stderr,"Error: allocating variable values\n"); return(Z_ERR); } @@ -4910,7 +4910,7 @@ var_loader(int var_time_step) tvalues = (float *) calloc(nsize,sizeof(float)); if(tvalues == (float *) NULL) { - fprintf(stderr,"Error: alocating tvalues array\n"); + fprintf(stderr,"Error: allocating tvalues array\n"); return(Z_ERR); } diff --git a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C index 854dea352b..bf542ca3d4 100644 --- a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C +++ b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/ccm26ToFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -759,7 +759,7 @@ int main(int argc, char *argv[]) << endl; // Create some default patch names/types. These will be overwritten - // by any problem desciption (if it is there) + // by any problem description (if it is there) foamPatchTypes.setSize(foamPatchStarts.size()); foamPatchNames.setSize(foamPatchStarts.size()); diff --git a/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C b/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C index 456d024df7..dc029768ac 100644 --- a/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C +++ b/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C @@ -577,7 +577,7 @@ void readDOFS DynamicList& dofVertices ) { - Info<< "Starting reading contraints at line " << is.lineNumber() << '.' + Info<< "Starting reading constraints at line " << is.lineNumber() << '.' << endl; string line; @@ -942,7 +942,7 @@ int main(int argc, char *argv[]) Info<< "Using " << dofVertIndices.size() << " DOF sets to detect boundary faces."<< endl; - // Renumber vertex numbers on contraints + // Renumber vertex numbers on constraints forAll(dofVertIndices, patchi) { inplaceRenumber(unvToFoam, dofVertIndices[patchi]); @@ -1227,7 +1227,7 @@ int main(int argc, char *argv[]) forAll(indizes, i) { const label old = oldIndizes[i]; - label noveau = -1; + label nouveau = -1; label c1 = -1, c2 = -1; if (faceToCell[0].found(old)) { @@ -1253,7 +1253,7 @@ int main(int argc, char *argv[]) const face& f = boundaryFaces[old]; if (mag(centers[j]- f.centre(points)) < small) { - noveau = j; + nouveau = j; break; } } @@ -1269,13 +1269,13 @@ int main(int argc, char *argv[]) || (c2 == own[j] && c1 == nei[j]) ) { - noveau = j; + nouveau = j; break; } } } - assert(noveau > -1); - indizes[i] = noveau; + assert(nouveau > -1); + indizes[i] = nouveau; } fZones[cnt] = new faceZone ( diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.C index 296beec9a0..7203cea72a 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.C +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.C @@ -277,12 +277,12 @@ void Foam::conformalVoronoiMesh::createEdgePointGroupByCirculating masterPtVec ); - // Specialise for size = 1 && baffle + // Specialize for size = 1 && baffle if (mag((normalDir & nextNormalDir) - 1) < small) { if (inside) { -// Info<< "Specialise for size 1 and baffle" << endl; +// Info<< "Specialize for size 1 and baffle" << endl; vector s = ppDist*(edDir ^ normal); diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/featurePointConformer/featurePointConformerSpecialisations.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/featurePointConformer/featurePointConformerSpecialisations.C index 826372dab3..136ede1243 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/featurePointConformer/featurePointConformerSpecialisations.C +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/featurePointConformer/featurePointConformerSpecialisations.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -332,11 +332,11 @@ bool Foam::featurePointConformer::createSpecialisedFeaturePoint { convexEdgePlaneDNormal = convexNormal; - plane planeD(featPt, convexEdgePlaneDNormal); + plane planned(featPt, convexEdgePlaneDNormal); externalPtE = internalPtB - + 2.0*planeD.distance(internalPtB) + + 2.0*planned.distance(internalPtB) *convexEdgePlaneDNormal; pts.append @@ -768,11 +768,11 @@ bool Foam::featurePointConformer::createSpecialisedFeaturePoint { concaveEdgePlaneDNormal = concaveNormal; - plane planeD(featPt, concaveEdgePlaneDNormal); + plane planned(featPt, concaveEdgePlaneDNormal); externalPtE = internalPtB - - 2.0*planeD.distance(internalPtB) + - 2.0*planned.distance(internalPtB) *concaveEdgePlaneDNormal; pts.append diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C index 9330575c6e..452620f8d7 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C @@ -571,7 +571,7 @@ int main(int argc, char *argv[]) } - Info<< "Refining backgroud mesh according to cell size specification" << nl + Info<< "Refining background mesh according to cell size specification" << nl << endl; backgroundMeshDecomposition backgroundMesh diff --git a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C index 5eb83795ee..bcf6cc1f29 100644 --- a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C +++ b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) boundBox bb(points); Info<< "bounding box: min = " << bb.min() - << " max = " << bb.max() << " metres." + << " max = " << bb.max() << " meters." << endl; diff --git a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C index 38ef4b8c0c..c6ddfdc43c 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C +++ b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C @@ -610,7 +610,7 @@ int main(int argc, char *argv[]) { argList::addNote ( - "Renumber mesh to minimise bandwidth" + "Renumber mesh to minimize bandwidth" ); #include "addRegionOption.H" @@ -946,7 +946,7 @@ int main(int argc, char *argv[]) } else { - // Detemines sorted back to original cell ordering + // Determines sorted back to original cell ordering cellOrder = renumberPtr().renumber ( mesh, diff --git a/applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C b/applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C index 893f7f3451..40d0802e9c 100644 --- a/applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C +++ b/applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -93,7 +93,7 @@ void Foam::helpTypes::helpBoundary::execute if (abortVar) { FatalErrorInFunction - << "Please unset FOAM_ABORT to use this utlity" + << "Please unset FOAM_ABORT to use this utility" << exit(FatalError); } diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.C b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.C index a9cc175c22..d793986011 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.C +++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -410,7 +410,7 @@ void Foam::vtkPVblockMesh::Update updateFoamMesh(); reader_->UpdateProgress(0.5); - // Convert mesh elemente + // Convert mesh element int blockNo = 0; convertMeshCorners(output, blockNo); diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README b/applications/utilities/postProcessing/graphics/ensightFoamReader/README index 6c252962ea..66b8a580f7 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README @@ -902,7 +902,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. For unstructured parts, you can read them from your file if diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README7 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README7 index 67b3477367..837c58407e 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README7 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README7 @@ -902,7 +902,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. For unstructured parts, you can read them from your file if diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_1.0_to_2.0 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_1.0_to_2.0 index b9381099eb..9b7322cb11 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_1.0_to_2.0 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_1.0_to_2.0 @@ -7,7 +7,7 @@ Note that you do not have to update your (1.0 API) user defined reader if it is already working fine for you. You should consider it if: - - efficieny gains are needed or + - efficiency gains are needed or - you need access to complex variables or - you need access to tensor variables or - you need multiple timeset capability or @@ -120,7 +120,7 @@ coordinate array. The connectivity of the elements do not reference the nodes according to node ids. Node ids (and element ids for that matter) are purely labels for screen display and for query operations within EnSight. This eliminates the need for node id hashing as a model is read. - + The 2.0 API has been created for those needing more efficiency - both in terms of memory use and speed. The increased efficiency is possible because data is requested in a manner which more closely represents the way that EnSight @@ -132,7 +132,7 @@ temporary memory (and allocation time) that is needed in the old API. Depending on what you must do to get your data into the form required, the memory savings and the speed improvement when loading models can be quite significant!! - + Additionally, the ability to handle tensor and complex variables has been added to the new API, and support for multiple timesets is provided. ------------------------------------------------ @@ -176,7 +176,7 @@ A) Changes related to imaginary flag for complex data ===================================================== If you don't deal with complex variables, simply add this flag to your argument list and ignore its value. - ----------------------------------------------------- + ----------------------------------------------------- API 1.0 API 2.0 ------- ------- @@ -222,7 +222,7 @@ B) Changes related to complex data info, and constant type The argument var_timeset needs to be added, and set appropriately. - --------------------------------------------------------- + --------------------------------------------------------- API 1.0 API 2.0 ------- ------- @@ -297,7 +297,7 @@ USERD_set_time_step USERD_set_time_set_and_step E) Changes related to global_extern.h ====================================================== - Be sure to include the updated global_extern.h file that comes + Be sure to include the updated global_extern.h file that comes with the EnSight 7.2 release (not the one from previous releases). @@ -323,9 +323,9 @@ API 1.0 API 2.0 These routines: replaced by the single routine: --------------------------- ------------------------------- USERD_get_block_scalar_values USERD_get_var_by_component -USERD_get_block_vector_values_by_component -USERD_get_scalar_values -USERD_get_vector_values +USERD_get_block_vector_values_by_component +USERD_get_scalar_values +USERD_get_vector_values These global coordinate routines: replaced by part coord routines: --------------------------------- -------------------------------- @@ -345,7 +345,7 @@ USERD_get_element_ids_for_part USERD_get_part_element_ids_by_type (Can be a dummy) -> USERD_get_model_extents (Required) -> USERD_get_reader_version - multiple timeset releated: + multiple timeset related: (Required) -> USERD_get_number_timesets (Required) -> USERD_get_timeset_description (Required) -> USERD_get_geom_timeset_number diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_2.01_to_2.03 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_2.01_to_2.03 index 23f27ec89d..2cae8f514a 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_2.01_to_2.03 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_2.01_to_2.03 @@ -74,7 +74,7 @@ called is given. USERD_get_number_of_materials USERD_get_matf_var_info - For each elment type of each part containing material ids, calls: + For each element type of each part containing material ids, calls: USERD_size_matf_data USERD_load_matf_data @@ -1344,7 +1344,7 @@ USERD_get_gold_part_build_info 1 2 3 (I planes) - And note that if you were partioning this block for + And note that if you were partitioning this block for EnSight's Server of Servers, you would only have one part, instead of two. Each SOS server would return its appropriate ranges in the last 6 slots. The first 3 slots would remain constant. diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_1.0 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_1.0 index 95eebcabad..f0b2c842bb 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_1.0 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_1.0 @@ -1063,7 +1063,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. For unstructured parts, you can read them from your file if diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.0 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.0 index b8565247ae..4b34538953 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.0 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.0 @@ -987,7 +987,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. For unstructured parts, you can read them from your file if diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.01 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.01 index 62390e63e9..e0b7ffa880 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.01 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.01 @@ -1056,7 +1056,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. * Prior to API 2.01: diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.03 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.03 index 846d708adb..38587402c6 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.03 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.03 @@ -470,7 +470,7 @@ called is given. USERD_get_number_of_materials USERD_get_matf_var_info - For each elment type of each part containing material ids, calls: + For each element type of each part containing material ids, calls: USERD_size_matf_data USERD_load_matf_data @@ -1081,7 +1081,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. * Prior to API 2.01: @@ -1430,7 +1430,7 @@ USERD_get_gold_part_build_info 1 2 3 (I planes) - And note that if you were partioning this block for + And note that if you were partitioning this block for EnSight's Server of Servers, you would only have one part, instead of two. Each SOS server would return its appropriate ranges in the last 6 slots. The first 3 slots would remain constant. diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.03_CHANGES b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.03_CHANGES index 90941e03e3..e9aaeb3291 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.03_CHANGES +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.03_CHANGES @@ -74,7 +74,7 @@ called is given. USERD_get_number_of_materials USERD_get_matf_var_info - For each elment type of each part containing material ids, calls: + For each element type of each part containing material ids, calls: USERD_size_matf_data USERD_load_matf_data @@ -1344,7 +1344,7 @@ USERD_get_gold_part_build_info 1 2 3 (I planes) - And note that if you were partioning this block for + And note that if you were partitioning this block for EnSight's Server of Servers, you would only have one part, instead of two. Each SOS server would return its appropriate ranges in the last 6 slots. The first 3 slots would remain constant. diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.05 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.05 index 0e73a2cf10..07b2d652d9 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.05 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.05 @@ -580,7 +580,7 @@ called is given. USERD_get_number_of_materials USERD_get_matf_var_info - For each elment type of each part containing material ids, calls: + For each element type of each part containing material ids, calls: USERD_size_matf_data USERD_load_matf_data @@ -1198,7 +1198,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. * Prior to API 2.01: @@ -1547,7 +1547,7 @@ USERD_get_gold_part_build_info 1 2 3 (I planes) - And note that if you were partioning this block for + And note that if you were partitioning this block for EnSight's Server of Servers, you would only have one part, instead of two. Each SOS server would return its appropriate ranges in the last 6 slots. The first 3 slots would remain constant. diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.06 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.06 index b39e8946d3..7e2e086c14 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.06 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.06 @@ -550,7 +550,7 @@ called is given. USERD_get_number_of_materials USERD_get_matf_var_info - For each elment type of each part containing material ids, calls: + For each element type of each part containing material ids, calls: USERD_size_matf_data USERD_load_matf_data @@ -1168,7 +1168,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. * Prior to API 2.01: @@ -1517,7 +1517,7 @@ USERD_get_gold_part_build_info 1 2 3 (I planes) - And note that if you were partioning this block for + And note that if you were partitioning this block for EnSight's Server of Servers, you would only have one part, instead of two. Each SOS server would return its appropriate ranges in the last 6 slots. The first 3 slots would remain constant. diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.07 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.07 index e16eaedf73..0b63533dae 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.07 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.07 @@ -564,7 +564,7 @@ called is given. USERD_get_number_of_materials USERD_get_matf_var_info - For each elment type of each part containing material ids, calls: + For each element type of each part containing material ids, calls: USERD_size_matf_data USERD_load_matf_data @@ -1182,7 +1182,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. * Prior to API 2.01: @@ -1531,7 +1531,7 @@ USERD_get_gold_part_build_info 1 2 3 (I planes) - And note that if you were partioning this block for + And note that if you were partitioning this block for EnSight's Server of Servers, you would only have one part, instead of two. Each SOS server would return its appropriate ranges in the last 6 slots. The first 3 slots would remain constant. diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.08 b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.08 index eec2768534..117cc40ad0 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.08 +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/README_USERD_2.08 @@ -568,7 +568,7 @@ called is given. USERD_get_number_of_materials USERD_get_matf_var_info - For each elment type of each part containing material ids, calls: + For each element type of each part containing material ids, calls: USERD_size_matf_data USERD_load_matf_data @@ -1186,7 +1186,7 @@ USERD_get_element_label_status Notes: ----- - * element lables are needed in order to do any element querying, or + * element labels are needed in order to do any element querying, or element labeling on-screen within EnSight. * Prior to API 2.01: @@ -1535,7 +1535,7 @@ USERD_get_gold_part_build_info 1 2 3 (I planes) - And note that if you were partioning this block for + And note that if you were partitioning this block for EnSight's Server of Servers, you would only have one part, instead of two. Each SOS server would return its appropriate ranges in the last 6 slots. The first 3 slots would remain constant. diff --git a/applications/utilities/preProcessing/engineSwirl/engineSwirl.C b/applications/utilities/preProcessing/engineSwirl/engineSwirl.C index 3c921e930c..9e10c5f1b3 100644 --- a/applications/utilities/preProcessing/engineSwirl/engineSwirl.C +++ b/applications/utilities/preProcessing/engineSwirl/engineSwirl.C @@ -25,7 +25,7 @@ Application engineSwirl Description - Generates a swirling flow for engine calulations. + Generates a swirling flow for engine calculations. \*---------------------------------------------------------------------------*/ diff --git a/applications/utilities/surface/surfaceSplitByTopology/surfaceSplitByTopology.C b/applications/utilities/surface/surfaceSplitByTopology/surfaceSplitByTopology.C index 1046d085f6..91e3bbd523 100644 --- a/applications/utilities/surface/surfaceSplitByTopology/surfaceSplitByTopology.C +++ b/applications/utilities/surface/surfaceSplitByTopology/surfaceSplitByTopology.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -205,7 +205,7 @@ int main(int argc, char *argv[]) + name(z) + "." + outExtension; - Info<< " Writing mulitple part " + Info<< " Writing multiple part " << z << " to " << remainingPartFileName << endl; zoneSurf.write(remainingPartFileName); diff --git a/bin/foamExec b/bin/foamExec index f42ebbece1..c7e7f6c7ff 100755 --- a/bin/foamExec +++ b/bin/foamExec @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------- # License @@ -96,18 +96,18 @@ do ;; -m | -mode) [ "$#" -ge 2 ] || error "'$1' option requires an argument" - etcOpts="$etcOpts $1 $2" # pass-thru to foamEtcFile + etcOpts="$etcOpts $1 $2" # pass through to foamEtcFile shift ;; -p | -prefix) [ "$#" -ge 2 ] || error "'$1' option requires an argument" - etcOpts="$etcOpts $1 $2" # pass-thru to foamEtcFile + etcOpts="$etcOpts $1 $2" # pass through to foamEtcFile prefixDir="$2" shift ;; -v | -version) [ "$#" -ge 2 ] || error "'$1' option requires an argument" - etcOpts="$etcOpts $1 $2" # pass-thru to foamEtcFile + etcOpts="$etcOpts $1 $2" # pass through to foamEtcFile version="$2" shift ;; diff --git a/etc/caseDicts/postProcessing/solvers/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud b/etc/caseDicts/postProcessing/solvers/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud index 9b45c0789d..77435960cc 100644 --- a/etc/caseDicts/postProcessing/solvers/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud +++ b/etc/caseDicts/postProcessing/solvers/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud @@ -8,7 +8,7 @@ Description Tracks a cloud of parcels driven by the flow of the continuous phase. - The cloud is specifed by a kinematicCloudProperties file in the constant + The cloud is specified by a kinematicCloudProperties file in the constant directory. A template file is provided in: $FOAM_ETC/caseDicts/solvers/lagrangian diff --git a/etc/config.csh/settings b/etc/config.csh/settings index aa8243d9a4..d550d969bf 100644 --- a/etc/config.csh/settings +++ b/etc/config.csh/settings @@ -2,7 +2,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -216,7 +216,7 @@ endif switch ("$WM_COMPILER_TYPE") case OpenFOAM: case ThirdParty: - # Default versions of GMP, MPFR and MPC, overide as necessary + # Default versions of GMP, MPFR and MPC, override as necessary set gmp_version=gmp-5.1.2 set mpfr_version=mpfr-3.1.2 set mpc_version=mpc-1.0.1 diff --git a/etc/thermoData/thermoData b/etc/thermoData/thermoData index d6da0fbe84..f1e9d25595 100644 --- a/etc/thermoData/thermoData +++ b/etc/thermoData/thermoData @@ -17,7 +17,7 @@ Specie names have been transposed into a form supported by the OpenFOAM parser: 1. Names starting with characters "[1-9]|*|(" are prepended with "-s". 2. The character "'" has been replaced with "p". - 3. The characted "/" has been replaced with "by". + 3. The character "/" has been replaced with "by". 4. All tabs removed. 5. All Parts of the species names are concatenated with spaces replaced by "_". 6. "REF.ELEM.*" has been removed. diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H index 43bc8a5cda..33d50f0b4b 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -64,7 +64,7 @@ Note The lazy evaluation used means that reading an out-of-range element returns zero, but does not affect the list size. Even in a non-const - context, only the assigment itself causes the element to be created. + context, only the assignment itself causes the element to be created. For example, \code list.resize(4); diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H b/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H index c945ca0ba3..e859d043de 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -369,7 +369,7 @@ inline void Foam::PackedList::iteratorBase::operator= const unsigned int val ) { - // Lazy evaluation - increase size on assigment + // Lazy evaluation - increase size on assignment if (index_ >= list_->size_) { list_->resize(index_ + 1); @@ -1003,7 +1003,7 @@ inline bool Foam::PackedList::set } else if (i >= size_) { - // Lazy evaluation - increase size on assigment + // Lazy evaluation - increase size on assignment resize(i + 1); } diff --git a/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H b/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H index ff38671927..c1cc12e993 100644 --- a/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H +++ b/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H @@ -231,7 +231,8 @@ public: virtual bool end(); //- Called by Time::setDeltaT(). Allows the function object to override - // the time-step value. Returns whether or not the value was overriden. + // the time-step value. + // Returns whether or not the value was overridden. virtual bool setTimeStep(); //- Called by Time::adjustTimeStep(). Allows the function object to diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C index 25244a76ce..a148216536 100644 --- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C +++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -470,7 +470,7 @@ evaluate() else { FatalErrorInFunction - << "Unsuported communications type " + << "Unsupported communications type " << Pstream::commsTypeNames[Pstream::defaultCommsType] << exit(FatalError); } diff --git a/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.H index aac92d01ec..c1a57aad85 100644 --- a/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/basic/value/valuePointPatchField.H @@ -206,8 +206,8 @@ public: }; -// This function is added to overide the hack in pointPatchField.H -// which enables simple backward compatibility with verions using +// This function is added to override the hack in pointPatchField.H +// which enables simple backward compatibility with versions using // referenceLevel in GeometicField template tmp> operator+ diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H index af0e4c24c6..dc4bebe502 100644 --- a/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/constraint/cyclic/cyclicPointPatchField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -137,7 +137,7 @@ public: //- Cyclic coupled interface functions - //- Does the patch field perform the transfromation + //- Does the patch field perform the transformation virtual bool doTransform() const { return !(cyclicPatch_.parallel() || pTraits::rank == 0); diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H index 656f699147..9c0a639a49 100644 --- a/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -150,7 +150,7 @@ public: } } - //- Does the patch field perform the transfromation + //- Does the patch field perform the transformation virtual bool doTransform() const { return diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H index 29488a2c8b..551be7819b 100644 --- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H @@ -490,7 +490,7 @@ public: // This function is added as a hack to enable simple backward compatibility -// with verions using referenceLevel in GeometicField +// with versions using referenceLevel in GeometicField template const pointPatchField& operator+ ( diff --git a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H index 49a19e6735..aca82fd924 100644 --- a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H +++ b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -88,7 +88,7 @@ public: //- Max size of thread buffer size. This is the overall size of // all files to be written. Starts blocking if not enough size. - // Read as float to enable easy specificiation of large sizes. + // Read as float to enable easy specification of large sizes. static float maxThreadFileBufferSize; diff --git a/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H b/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H index ccd55b2fdd..12a2b75082 100644 --- a/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H +++ b/src/OpenFOAM/global/fileOperations/fileOperation/fileOperation.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -246,7 +246,7 @@ public: //- Remove a file, returning true if successful otherwise false virtual bool rm(const fileName&) const = 0; - //- Remove a dirctory and its contents + //- Remove a directory and its contents virtual bool rmDir(const fileName&) const = 0; // //- Open a shared library. Return handle to library. Print error diff --git a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H index f89f7e35fb..bf5a3d7356 100644 --- a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H +++ b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -406,7 +406,7 @@ public: //- Max size of parallel communications. Switches from non-blocking // to scheduled when reading/writing files. Read as float to enable - // easy specificiation of large sizes. + // easy specification of large sizes. static float maxMasterFileBufferSize; @@ -531,7 +531,7 @@ public: //- Remove a file, returning true if successful otherwise false virtual bool rm(const fileName&) const; - //- Remove a dirctory and its contents + //- Remove a directory and its contents virtual bool rmDir(const fileName&) const; // //- Open a shared library. Return handle to library. Print error diff --git a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H index 9ff5e55b32..d38fd29b1d 100644 --- a/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H +++ b/src/OpenFOAM/global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -190,7 +190,7 @@ public: //- Remove a file, returning true if successful otherwise false virtual bool rm(const fileName&) const; - //- Remove a dirctory and its contents + //- Remove a directory and its contents virtual bool rmDir(const fileName&) const; // //- Open a shared library. Return handle to library. Print error diff --git a/src/OpenFOAM/include/OSspecific.H b/src/OpenFOAM/include/OSspecific.H index 319a8541e1..25485f52ef 100644 --- a/src/OpenFOAM/include/OSspecific.H +++ b/src/OpenFOAM/include/OSspecific.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -165,7 +165,7 @@ bool mvBak(const fileName&, const std::string& ext = "bak"); //- Remove a file, returning true if successful otherwise false bool rm(const fileName&); -//- Remove a dirctory and its contents +//- Remove a directory and its contents bool rmDir(const fileName&); //- Sleep for the specified number of seconds diff --git a/src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.C b/src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.C index ae2c0cb5e0..0e2d27fb1f 100644 --- a/src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.C +++ b/src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -61,38 +61,38 @@ namespace Foam { // doesn't recognize specialization otherwise template<> - scalar csvTableReader::readValue(const List& splitted) + scalar csvTableReader::readValue(const List& split) { - if (componentColumns_[0] >= splitted.size()) + if (componentColumns_[0] >= split.size()) { FatalErrorInFunction << "No column " << componentColumns_[0] << " in " - << splitted << endl + << split << endl << exit(FatalError); } - return readScalar(IStringStream(splitted[componentColumns_[0]])()); + return readScalar(IStringStream(split[componentColumns_[0]])()); } template - Type csvTableReader::readValue(const List& splitted) + Type csvTableReader::readValue(const List& split) { Type result; for(label i = 0;i < pTraits::nComponents; i++) { - if (componentColumns_[i] >= splitted.size()) + if (componentColumns_[i] >= split.size()) { FatalErrorInFunction << "No column " << componentColumns_[i] << " in " - << splitted << endl + << split << endl << exit(FatalError); } result[i] = readScalar ( - IStringStream(splitted[componentColumns_[i]])() + IStringStream(split[componentColumns_[i]])() ); } @@ -126,7 +126,7 @@ void Foam::csvTableReader::operator() string line; in.getLine(line); - DynamicList splitted; + DynamicList split; std::size_t pos = 0; while (pos != std::string::npos) @@ -135,23 +135,23 @@ void Foam::csvTableReader::operator() if (nPos == std::string::npos) { - splitted.append(line.substr(pos)); + split.append(line.substr(pos)); pos=nPos; } else { - splitted.append(line.substr(pos, nPos-pos)); + split.append(line.substr(pos, nPos-pos)); pos=nPos+1; } } - if (splitted.size() <= 1) + if (split.size() <= 1) { break; } - scalar time = readScalar(IStringStream(splitted[timeColumn_])()); - Type value = readValue(splitted); + scalar time = readScalar(IStringStream(split[timeColumn_])()); + Type value = readValue(split); values.append(Tuple2(time, value)); } diff --git a/src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.H b/src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.H index d1bc29c332..335faffd47 100644 --- a/src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.H +++ b/src/OpenFOAM/interpolations/interpolationTable/tableReaders/csv/csvTableReader.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -63,7 +63,7 @@ class csvTableReader //- Labels of the components const labelList componentColumns_; - //- Read the next value from the splitted string + //- Read the next value from the split string Type readValue(const List&); //- Separator character diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C index 465c097bf0..161bf896a2 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrixUpdateMatrixInterfaces.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -86,7 +86,7 @@ void Foam::LduMatrix::initMatrixInterfaces else { FatalErrorInFunction - << "Unsuported communications type " + << "Unsupported communications type " << Pstream::commsTypeNames[Pstream::defaultCommsType] << exit(FatalError); } @@ -190,7 +190,7 @@ void Foam::LduMatrix::updateMatrixInterfaces else { FatalErrorInFunction - << "Unsuported communications type " + << "Unsupported communications type " << Pstream::commsTypeNames[Pstream::defaultCommsType] << exit(FatalError); } diff --git a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C index af65e1bc68..429e810c90 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C +++ b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixUpdateMatrixInterfaces.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -86,7 +86,7 @@ void Foam::lduMatrix::initMatrixInterfaces else { FatalErrorInFunction - << "Unsuported communications type " + << "Unsupported communications type " << Pstream::commsTypeNames[Pstream::defaultCommsType] << exit(FatalError); } @@ -259,7 +259,7 @@ void Foam::lduMatrix::updateMatrixInterfaces else { FatalErrorInFunction - << "Unsuported communications type " + << "Unsupported communications type " << Pstream::commsTypeNames[Pstream::defaultCommsType] << exit(FatalError); } diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C index 8f14752f1f..d5d2c62525 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverSolve.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -183,7 +183,7 @@ void Foam::GAMGSolver::Vcycle if (coarseSources.set(leveli + 1)) { // If the optional pre-smoothing sweeps are selected - // smooth the coarse-grid field for the restriced source + // smooth the coarse-grid field for the restricted source if (nPreSweeps_) { coarseCorrFields[leveli] = 0.0; diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H index f9068707ca..9f6cbba19d 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -115,7 +115,7 @@ public: //- Cyclic interface functions - //- Does the interface field perform the transfromation + //- Does the interface field perform the transformation virtual bool doTransform() const { return doTransform_; diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H index 4eb0a1850a..8d25c1f1df 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H @@ -172,7 +172,7 @@ public: return procInterface_.neighbProcNo(); } - //- Does the interface field perform the transfromation + //- Does the interface field perform the transformation virtual bool doTransform() const { return doTransform_; diff --git a/src/OpenFOAM/meshes/bandCompression/bandCompression.C b/src/OpenFOAM/meshes/bandCompression/bandCompression.C index 44ed6a1ba9..1f47becb7c 100644 --- a/src/OpenFOAM/meshes/bandCompression/bandCompression.C +++ b/src/OpenFOAM/meshes/bandCompression/bandCompression.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -51,7 +51,7 @@ Foam::labelList Foam::bandCompression(const labelListList& cellCellAddressing) label cellInOrder = 0; - // Work arrays. Kept outside of loop to minimise allocations. + // Work arrays. Kept outside of loop to minimize allocations. // - neighbour cells DynamicList