diff --git a/applications/solvers/combustion/PDRFoam/PDRFoam.C b/applications/solvers/combustion/PDRFoam/PDRFoam.C index 360c14c46b..fc11ab2d9c 100644 --- a/applications/solvers/combustion/PDRFoam/PDRFoam.C +++ b/applications/solvers/combustion/PDRFoam/PDRFoam.C @@ -35,7 +35,7 @@ Description Combusting RANS code using the b-Xi two-equation model. Xi may be obtained by either the solution of the Xi transport - equation or from an algebraic exression. Both approaches are + equation or from an algebraic expression. Both approaches are based on Gulder's flame speed correlation which has been shown to be appropriate by comparison with the results from the spectral model. @@ -66,7 +66,7 @@ Description CR | Drag tensor (1/m) CT | Turbulence generation parameter (1/m) Nv | Number of obstacles in cell per unit volume (m^-2) - nsv | Tensor whose diagonal indicates the number to substract from + nsv | Tensor whose diagonal indicates the number to subtract from | Nv to get the number of obstacles crossing the flow in each | direction. \endplaintable diff --git a/applications/solvers/combustion/PDRFoam/PDRFoamAutoRefine.C b/applications/solvers/combustion/PDRFoam/PDRFoamAutoRefine.C index 0e2fe5a33e..8c8e859ec0 100644 --- a/applications/solvers/combustion/PDRFoam/PDRFoamAutoRefine.C +++ b/applications/solvers/combustion/PDRFoam/PDRFoamAutoRefine.C @@ -32,7 +32,7 @@ Description Combusting RANS code using the b-Xi two-equation model. Xi may be obtained by either the solution of the Xi transport - equation or from an algebraic exression. Both approaches are + equation or from an algebraic expression. Both approaches are based on Gulder's flame speed correlation which has been shown to be appropriate by comparison with the results from the spectral model. diff --git a/applications/solvers/combustion/PDRFoam/setDeltaT.H b/applications/solvers/combustion/PDRFoam/setDeltaT.H index cc6a6a4680..365126ce90 100644 --- a/applications/solvers/combustion/PDRFoam/setDeltaT.H +++ b/applications/solvers/combustion/PDRFoam/setDeltaT.H @@ -28,7 +28,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/combustion/XiFoam/XiDyMFoam/XiDyMFoam.C b/applications/solvers/combustion/XiFoam/XiDyMFoam/XiDyMFoam.C index cbdda9e6ea..1ef085c2d9 100644 --- a/applications/solvers/combustion/XiFoam/XiDyMFoam/XiDyMFoam.C +++ b/applications/solvers/combustion/XiFoam/XiDyMFoam/XiDyMFoam.C @@ -36,7 +36,7 @@ Description Combusting RANS code using the b-Xi two-equation model. Xi may be obtained by either the solution of the Xi transport - equation or from an algebraic exression. Both approaches are + equation or from an algebraic expression. Both approaches are based on Gulder's flame speed correlation which has been shown to be appropriate by comparison with the results from the spectral model. diff --git a/applications/solvers/combustion/XiFoam/XiEngineFoam/XiEngineFoam.C b/applications/solvers/combustion/XiFoam/XiEngineFoam/XiEngineFoam.C index 6e1010af3f..6eacf64e08 100644 --- a/applications/solvers/combustion/XiFoam/XiEngineFoam/XiEngineFoam.C +++ b/applications/solvers/combustion/XiFoam/XiEngineFoam/XiEngineFoam.C @@ -31,7 +31,7 @@ Description Combusting RANS code using the b-Xi two-equation model. Xi may be obtained by either the solution of the Xi transport - equation or from an algebraic exression. Both approaches are + equation or from an algebraic expression. Both approaches are based on Gulder's flame speed correlation which has been shown to be appropriate by comparison with the results from the spectral model. diff --git a/applications/solvers/combustion/XiFoam/XiFoam.C b/applications/solvers/combustion/XiFoam/XiFoam.C index 10507b30b3..bdc25abe9b 100644 --- a/applications/solvers/combustion/XiFoam/XiFoam.C +++ b/applications/solvers/combustion/XiFoam/XiFoam.C @@ -35,7 +35,7 @@ Description Combusting RANS code using the b-Xi two-equation model. Xi may be obtained by either the solution of the Xi transport - equation or from an algebraic exression. Both approaches are + equation or from an algebraic expression. Both approaches are based on Gulder's flame speed correlation which has been shown to be appropriate by comparison with the results from the spectral model. diff --git a/applications/solvers/multiphase/MPPICInterFoam/MPPICInterFoam.C b/applications/solvers/multiphase/MPPICInterFoam/MPPICInterFoam.C index 405302dca7..38b2b09805 100644 --- a/applications/solvers/multiphase/MPPICInterFoam/MPPICInterFoam.C +++ b/applications/solvers/multiphase/MPPICInterFoam/MPPICInterFoam.C @@ -119,7 +119,7 @@ int main(int argc, char *argv[]) alphac = max(1.0 - kinematicCloud.theta(), alphacMin); alphac.correctBoundaryConditions(); - Info<< "Continous phase-1 volume fraction = " + Info<< "Continuous phase-1 volume fraction = " << alphac.weightedAverage(mesh.Vsc()).value() << " Min(alphac) = " << min(alphac).value() << " Max(alphac) = " << max(alphac).value() diff --git a/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H b/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H index 38ef003555..e1e7427fe0 100644 --- a/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H +++ b/applications/solvers/multiphase/cavitatingFoam/setDeltaT.H @@ -28,7 +28,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/compressibleMultiphaseInterFoam/multiphaseMixtureThermo/alphaContactAngle/alphaContactAngleFvPatchScalarField.H b/applications/solvers/multiphase/compressibleMultiphaseInterFoam/multiphaseMixtureThermo/alphaContactAngle/alphaContactAngleFvPatchScalarField.H index d492a3e98c..2863677d83 100644 --- a/applications/solvers/multiphase/compressibleMultiphaseInterFoam/multiphaseMixtureThermo/alphaContactAngle/alphaContactAngleFvPatchScalarField.H +++ b/applications/solvers/multiphase/compressibleMultiphaseInterFoam/multiphaseMixtureThermo/alphaContactAngle/alphaContactAngleFvPatchScalarField.H @@ -28,7 +28,7 @@ Class Description Contact-angle boundary condition for multi-phase interface-capturing - simulations. Used in conjuction with multiphaseMixture. + simulations. Used in conjunction with multiphaseMixture. SourceFiles alphaContactAngleFvPatchScalarField.C diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/InterfaceCompositionModel/InterfaceCompositionModel.H b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/InterfaceCompositionModel/InterfaceCompositionModel.H index 59765dc6d7..649736a5c1 100644 --- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/InterfaceCompositionModel/InterfaceCompositionModel.H +++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/InterfaceCompositionModel/InterfaceCompositionModel.H @@ -143,7 +143,7 @@ public: const volScalarField& Tf ) const; - //- Reference mass fraction for specied based models + //- Reference mass fraction for species based models virtual tmp Yf ( const word& speciesName, diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/Lee/Lee.H b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/Lee/Lee.H index 245691029b..bdaf30e6cb 100644 --- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/Lee/Lee.H +++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/Lee/Lee.H @@ -27,7 +27,7 @@ Class Foam::meltingEvaporationModels::Lee Description - Mass tranfer Lee model. Simple model driven by field value difference as: + Mass transfer Lee model. Simple model driven by field value difference as: \f[ \dot{m} = C \rho \alpha (T - T_{activate})/T_{activate} diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/interfaceCompositionModel/interfaceCompositionModel.H b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/interfaceCompositionModel/interfaceCompositionModel.H index 2d2ea9de51..a2c82c7e94 100644 --- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/interfaceCompositionModel/interfaceCompositionModel.H +++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/interfaceCompositionModel/interfaceCompositionModel.H @@ -27,7 +27,7 @@ Class Foam::interfaceCompositionModel Description - Generic base class for interface models. Mass transer models are + Generic base class for interface models. Mass transfer models are interface models between two thermos. Abstract class for mass transfer functions diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/kineticGasEvaporation/kineticGasEvaporation.H b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/kineticGasEvaporation/kineticGasEvaporation.H index d8a92b9666..8e4ae161b9 100644 --- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/kineticGasEvaporation/kineticGasEvaporation.H +++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/massTransferModels/kineticGasEvaporation/kineticGasEvaporation.H @@ -40,7 +40,7 @@ Description Flux | mass flux rate [kg/s/m2] M | molecular weight T_{activate} | saturation temperature - C | accomodation coefficient + C | accommodation coefficient R | universal gas constant p_{sat} | saturation pressure p | vapor partial pressure @@ -70,7 +70,7 @@ Description (T - T_{activate}) \f] - This assumes liquid and vapour are in equilibrium, then the accomodation + This assumes liquid and vapour are in equilibrium, then the accommodation coefficient are equivalent for the interface. This relation is known as the Hertz-Knudsen-Schrage. @@ -145,7 +145,7 @@ class kineticGasEvaporation //- Activation temperature const dimensionedScalar Tactivate_; - //- Molar weight of the vapour in the continous phase + //- Molar weight of the vapour in the continuous phase dimensionedScalar Mv_; //- Interface area diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystem.H b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystem.H index 4739d70da7..f04360223c 100644 --- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystem.H +++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystem.H @@ -267,7 +267,7 @@ public: // Energy related thermo functionaliy functions - //- Return access to the inernal energy field [J/Kg] + //- Return access to the internal energy field [J/Kg] // \note this mixture thermo is prepared to work with T virtual volScalarField& he() { @@ -275,7 +275,7 @@ public: return const_cast(volScalarField::null()); } - //- Return access to the inernal energy field [J/Kg] + //- Return access to the internal energy field [J/Kg] // \note this mixture thermo is prepared to work with T virtual const volScalarField& he() const { diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/alphaContactAngle/alphaContactAngleFvPatchScalarField.H b/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/alphaContactAngle/alphaContactAngleFvPatchScalarField.H index 8959fa21fb..929c8ab78a 100644 --- a/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/alphaContactAngle/alphaContactAngleFvPatchScalarField.H +++ b/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/alphaContactAngle/alphaContactAngleFvPatchScalarField.H @@ -28,7 +28,7 @@ Class Description Contact-angle boundary condition for multi-phase interface-capturing - simulations. Used in conjuction with multiphaseSystem. + simulations. Used in conjunction with multiphaseSystem. SourceFiles alphaContactAngleFvPatchScalarField.C diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/multiphaseSystem.H b/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/multiphaseSystem.H index 5a46c33151..039e85a964 100644 --- a/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/multiphaseSystem.H +++ b/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/multiphaseSystem.H @@ -31,7 +31,7 @@ Description Incompressible multi-phase mixture with built in solution for the phase fractions with interface compression for interface-capturing. - Derived from transportModel so that it can be unsed in conjunction with + Derived from transportModel so that it can be unused in conjunction with the incompressible turbulence models. Surface tension and contact-angle is handled for the interface diff --git a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.H b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.H index ae5307d9e8..433ae213e2 100644 --- a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.H +++ b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.H @@ -28,7 +28,7 @@ Class Description Contact-angle boundary condition for multi-phase interface-capturing - simulations. Used in conjuction with multiphaseMixture. + simulations. Used in conjunction with multiphaseMixture. SourceFiles alphaContactAngleFvPatchScalarField.C diff --git a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/multiphaseMixture.H b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/multiphaseMixture.H index 95f1acccf2..b320374e06 100644 --- a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/multiphaseMixture.H +++ b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/multiphaseMixture.H @@ -30,7 +30,7 @@ Description Incompressible multi-phase mixture with built in solution for the phase fractions with interface compression for interface-capturing. - Derived from transportModel so that it can be unsed in conjunction with + Derived from transportModel so that it can be unused in conjunction with the incompressible turbulence models. Surface tension and contact-angle is handled for the interface diff --git a/applications/test/00-dummy/Test-dummyLib.C b/applications/test/00-dummy/Test-dummyLib.C index 0e78ca738e..a8d6d33181 100644 --- a/applications/test/00-dummy/Test-dummyLib.C +++ b/applications/test/00-dummy/Test-dummyLib.C @@ -26,7 +26,7 @@ License Description Minimal compilation test with wmake, without OpenFOAM libraries. - The application and libray can also serve as a minimal test case for + The application and library can also serve as a minimal test case for wmake, or to provide a minimal library/executable target for testing. \*---------------------------------------------------------------------------*/ diff --git a/applications/test/Tuple2/Test-Tuple2.C b/applications/test/Tuple2/Test-Tuple2.C index 4f02359f03..ac463f3b59 100644 --- a/applications/test/Tuple2/Test-Tuple2.C +++ b/applications/test/Tuple2/Test-Tuple2.C @@ -28,7 +28,7 @@ Application Test-Tuple2 Description - Test construction, comparision etc for Tuple2 and Pair. + Test construction, comparison etc for Tuple2 and Pair. \*---------------------------------------------------------------------------*/ diff --git a/applications/test/foamVersion/Test-foamVersion.C b/applications/test/foamVersion/Test-foamVersion.C index e86f4a7d06..740b15632c 100644 --- a/applications/test/foamVersion/Test-foamVersion.C +++ b/applications/test/foamVersion/Test-foamVersion.C @@ -79,7 +79,7 @@ int main() << "FOAMbuild " << typeid(Foam::FOAMbuild).name() << nl; Info - << "\nVerify memory addesses are identical:" << nl + << "\nVerify memory addresses are identical:" << nl << "macro " << name(Foam::FOAMversion) << nl << "namespace " << name(&(foamVersion::version[0])) << nl; diff --git a/applications/test/objectRegistry/Test-objectRegistry.C b/applications/test/objectRegistry/Test-objectRegistry.C index add00b938e..ecea969e82 100644 --- a/applications/test/objectRegistry/Test-objectRegistry.C +++ b/applications/test/objectRegistry/Test-objectRegistry.C @@ -163,7 +163,7 @@ int main(int argc, char *argv[]) ); } - Info<<"## initally populated ##" << nl; + Info<<"## initially populated ##" << nl; printRegistry(Info, db); Info<< nl; diff --git a/applications/test/pTraits/Test-pTraits.C b/applications/test/pTraits/Test-pTraits.C index fc5cacdf88..d1a4f59bb7 100644 --- a/applications/test/pTraits/Test-pTraits.C +++ b/applications/test/pTraits/Test-pTraits.C @@ -83,10 +83,10 @@ int main() printTraits(pTraits(3.14159)); label abc; - Info<< "unintialized primitive:"<< abc << endl; + Info<< "uninitialized primitive:"<< abc << endl; label def = label(); - Info<< "intialized primitive:"<< def << endl; + Info<< "initialized primitive:"<< def << endl; Info<< nl << "some interesting label limits:" << nl; std::cout<< "sizeof = " << sizeof(label) << nl; diff --git a/applications/test/vtkSeriesWriter/Test-vtkSeriesWriter.C b/applications/test/vtkSeriesWriter/Test-vtkSeriesWriter.C index 56504c711e..7724cebea0 100644 --- a/applications/test/vtkSeriesWriter/Test-vtkSeriesWriter.C +++ b/applications/test/vtkSeriesWriter/Test-vtkSeriesWriter.C @@ -84,7 +84,7 @@ int main(int argc, char *argv[]) { writer.load(input, true); - Info<< "reload, checking the existance of files" << nl; + Info<< "reload, checking the existence of files" << nl; writer.print(Info); Info<< nl << nl; } diff --git a/applications/test/vtmWriter/Test-vtmWriter.C b/applications/test/vtmWriter/Test-vtmWriter.C index 5df94cc205..34141c3755 100644 --- a/applications/test/vtmWriter/Test-vtmWriter.C +++ b/applications/test/vtmWriter/Test-vtmWriter.C @@ -133,7 +133,7 @@ int main(int argc, char *argv[]) writer2.endBlock("boundary"); - // These should be automatically skiped + // These should be automatically skipped writer2.endBlock(); writer2.endBlock(); writer2.endBlock(); diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L index d83c1b4d24..858e1335de 100644 --- a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L +++ b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L @@ -940,8 +940,8 @@ int main(int argc, char *argv[]) fluentGroupToFoamPatch.insert("fan"); - // Create intial empty polyMesh - // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + // Create initial empty polyMesh + // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyMesh mesh ( diff --git a/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt b/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt index 43c0963746..41dd9fbe62 100644 --- a/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt +++ b/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt @@ -13,7 +13,7 @@ Notes for fluentMeshToFoam with zone preservation Writes all regions to cellZones preserving Fluent names Writes all region internal face to faceZones preserving Fluent names lines: 1545 - 1667 - Zones are usefull for porous media and MRF calculations + Zones are useful for porous media and MRF calculations 2. Zone Access - Zones are simple lists of label lists that can be accessed from polyMesh diff --git a/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C b/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C index 5c29002934..0443453675 100644 --- a/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C +++ b/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C @@ -566,7 +566,7 @@ void readDOFS DynamicList& dofVertices ) { - Info<< "Starting reading contraints at line " << is.lineNumber() << '.' + Info<< "Starting reading constraints at line " << is.lineNumber() << '.' << endl; string line; @@ -935,7 +935,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]); diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.H index c0dbded989..3a489a38ca 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.H @@ -108,8 +108,8 @@ class backgroundMeshDecomposition //- Random number generator Random& rndGen_; - //- Mesh stored on for this processor, specifiying the domain that it - // is responsible for. + //- Mesh stored on for this processor, specifying the domain that it + //- is responsible for. fvMesh mesh_; //- Refinement object diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C index 34632d6dc1..d9122e9faa 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C @@ -557,7 +557,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; const dictionary& backgroundMeshDict = diff --git a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C index 8b795eb6ba..ba6ad0177b 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C +++ b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C @@ -959,7 +959,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/preProcessing/PDRsetFields/PDRutilsInternal.H b/applications/utilities/preProcessing/PDRsetFields/PDRutilsInternal.H index f6e11a9789..cc083181cc 100644 --- a/applications/utilities/preProcessing/PDRsetFields/PDRutilsInternal.H +++ b/applications/utilities/preProcessing/PDRsetFields/PDRutilsInternal.H @@ -176,7 +176,7 @@ double inters_cy // xc, yc Coordinates of axis of d.b. // theta, wa, wb Angle and widths // -// The returned parameters will be multipled by the length of the obstacle's intersection with +// The returned parameters will be multiplied by the length of the obstacle's intersection with // the third dimension of the 3-D cell to give this obstacle's contribution to the count, drag // and area blockages. // The return value is the area of intersection, which will multiply to volume blockage. diff --git a/applications/utilities/preProcessing/PDRsetFields/PDRutilsOverlap.C b/applications/utilities/preProcessing/PDRsetFields/PDRutilsOverlap.C index 85f5fa9efa..95d0adffca 100644 --- a/applications/utilities/preProcessing/PDRsetFields/PDRutilsOverlap.C +++ b/applications/utilities/preProcessing/PDRsetFields/PDRutilsOverlap.C @@ -95,7 +95,7 @@ void Foam::PDRutils::one_d_overlap // First and last steps overlapped given by *cmin, *cmax // Ditto for shifted grid given by *cfmin, *cfmax. - // Initially zero everwhere + // Initially zero everywhere olap = Zero; if (olap.size() < grid.nPoints()) @@ -591,7 +591,7 @@ scalar block_cylinder_overlap // The intersection between a circle and a rectangle can be an odd shape. // We have its area. a_lblk and b_lblk are dimensions of enclosing rectangle // and a_centre and b_centre its centre. We scale this rectangle down to - // the corect areacorrect area, as a rectangular approximation to the intersection. + // the correct areacorrect area, as a rectangular approximation to the intersection. const scalar ratio = std::sqrt( area / a_lblk / b_lblk ); a_lblk *= blk1.span.x() * ratio; diff --git a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C index 8e6d169357..2f61b9a52c 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C +++ b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C @@ -66,7 +66,7 @@ Description \endverbatim - When the operation is peformed - for union, all of the edges generates where + When the operation is performed - for union, all of the edges generates where one surfaces cuts another are all "internal" for union, and "external" for intersection, (B - A) and (A - B). This has been assumed, formal (dis)proof is invited. diff --git a/applications/utilities/surface/surfaceClean/collapseEdge.C b/applications/utilities/surface/surfaceClean/collapseEdge.C index 55972da94d..403b7eb64d 100644 --- a/applications/utilities/surface/surfaceClean/collapseEdge.C +++ b/applications/utilities/surface/surfaceClean/collapseEdge.C @@ -123,7 +123,7 @@ label collapseEdge(triSurface& surf, const scalar minLen) pointMap[v1] = v; newPoints[v] = 0.5*(localPoints[v1] + localPoints[v]); - //Pout<< "Collapsing triange " << facei + //Pout<< "Collapsing triangle " << facei // << " to edge mid " << newPoints[v] << endl; nCollapsed++; diff --git a/applications/utilities/surface/surfaceSplitByTopology/surfaceSplitByTopology.C b/applications/utilities/surface/surfaceSplitByTopology/surfaceSplitByTopology.C index 5478313434..7afa04af6c 100644 --- a/applications/utilities/surface/surfaceSplitByTopology/surfaceSplitByTopology.C +++ b/applications/utilities/surface/surfaceSplitByTopology/surfaceSplitByTopology.C @@ -216,7 +216,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/src/ODE/ODESolvers/ODESolver/ODESolver.H b/src/ODE/ODESolvers/ODESolver/ODESolver.H index 9b91daa567..066dc86483 100644 --- a/src/ODE/ODESolvers/ODESolver/ODESolver.H +++ b/src/ODE/ODESolvers/ODESolver/ODESolver.H @@ -191,7 +191,7 @@ public: inline void resizeMatrix(scalarSquareMatrix& m) const; - //- Solve the ODE system as far as possible upto dxTry + //- Solve the ODE system as far as possible up to dxTry // adjusting the step as necessary to provide a solution within // the specified tolerance. // Update the state and return an estimate for the next step in dxTry @@ -202,7 +202,7 @@ public: scalar& dxTry ) const; - //- Solve the ODE system as far as possible upto dxTry + //- Solve the ODE system as far as possible up to dxTry // adjusting the step as necessary to provide a solution within // the specified tolerance. // Update the state and return an estimate for the next step in dxTry diff --git a/src/ODE/ODESolvers/RKF45/RKF45.H b/src/ODE/ODESolvers/RKF45/RKF45.H index 86f2d84bab..16465a63f6 100644 --- a/src/ODE/ODESolvers/RKF45/RKF45.H +++ b/src/ODE/ODESolvers/RKF45/RKF45.H @@ -46,8 +46,8 @@ Description Springer-Verlag, Berlin. \endverbatim - This method embedds the 4-th order integration step into the 5-th order step - and allows to perform an adapdive step-size control using these two order + This method embeds the 4-th order integration step into the 5-th order step + and allows to perform an adaptive step-size control using these two order without the need of re-evaluation. SourceFiles diff --git a/src/OSspecific/MSwindows/MSwindows.C b/src/OSspecific/MSwindows/MSwindows.C index c461f4a936..6afa4e03f2 100644 --- a/src/OSspecific/MSwindows/MSwindows.C +++ b/src/OSspecific/MSwindows/MSwindows.C @@ -914,7 +914,7 @@ bool Foam::cp(const fileName& src, const fileName& dest, const bool followLink) bool Foam::ln(const fileName& src, const fileName& dst) { - // links are poorly supported, or need adminstrator privileges. + // links are poorly supported, or need administrator privileges. // Skip for now. if (MSwindows::debug) @@ -1119,7 +1119,7 @@ bool Foam::ping const label timeOut ) { - // Appears that socket calls require adminstrator privileges. + // Appears that socket calls require administrator privileges. // Skip for now. if (MSwindows::debug) diff --git a/src/OSspecific/MSwindows/signals/sigInt.H b/src/OSspecific/MSwindows/signals/sigInt.H index 29f43a5117..c5f99b91bb 100644 --- a/src/OSspecific/MSwindows/signals/sigInt.H +++ b/src/OSspecific/MSwindows/signals/sigInt.H @@ -28,9 +28,9 @@ Class Foam::sigInt Description - Signal handler for INT interupt. + Signal handler for INT interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. Can be used either directly through the static member functions or diff --git a/src/OSspecific/MSwindows/signals/sigQuit.H b/src/OSspecific/MSwindows/signals/sigQuit.H index 630ddb1176..a57005b203 100644 --- a/src/OSspecific/MSwindows/signals/sigQuit.H +++ b/src/OSspecific/MSwindows/signals/sigQuit.H @@ -28,9 +28,9 @@ Class Foam::sigQuit Description - Signal handler for QUIT interupt. + Signal handler for QUIT interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. Can be used either directly through the static member functions or through the scope of the object (constructor sets trapping; destructor diff --git a/src/OSspecific/MSwindows/signals/sigSegv.H b/src/OSspecific/MSwindows/signals/sigSegv.H index 4c8c881be1..4439337e3d 100644 --- a/src/OSspecific/MSwindows/signals/sigSegv.H +++ b/src/OSspecific/MSwindows/signals/sigSegv.H @@ -28,9 +28,9 @@ Class Foam::sigSegv Description - Signal handler for SEGV interupt. + Signal handler for SEGV interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. Can be used either directly through the static member functions or through the scope of the object (constructor sets trapping; destructor diff --git a/src/OSspecific/POSIX/signals/sigInt.H b/src/OSspecific/POSIX/signals/sigInt.H index 29f43a5117..c5f99b91bb 100644 --- a/src/OSspecific/POSIX/signals/sigInt.H +++ b/src/OSspecific/POSIX/signals/sigInt.H @@ -28,9 +28,9 @@ Class Foam::sigInt Description - Signal handler for INT interupt. + Signal handler for INT interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. Can be used either directly through the static member functions or diff --git a/src/OSspecific/POSIX/signals/sigQuit.H b/src/OSspecific/POSIX/signals/sigQuit.H index 630ddb1176..a57005b203 100644 --- a/src/OSspecific/POSIX/signals/sigQuit.H +++ b/src/OSspecific/POSIX/signals/sigQuit.H @@ -28,9 +28,9 @@ Class Foam::sigQuit Description - Signal handler for QUIT interupt. + Signal handler for QUIT interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. Can be used either directly through the static member functions or through the scope of the object (constructor sets trapping; destructor diff --git a/src/OSspecific/POSIX/signals/sigSegv.H b/src/OSspecific/POSIX/signals/sigSegv.H index 4c8c881be1..4439337e3d 100644 --- a/src/OSspecific/POSIX/signals/sigSegv.H +++ b/src/OSspecific/POSIX/signals/sigSegv.H @@ -28,9 +28,9 @@ Class Foam::sigSegv Description - Signal handler for SEGV interupt. + Signal handler for SEGV interrupt. - The standard interupt handler is overridden to ensure that the + The standard interrupt handler is overridden to ensure that the runningJob file is removed. Can be used either directly through the static member functions or through the scope of the object (constructor sets trapping; destructor diff --git a/src/OpenFOAM/containers/Bits/BitOps/BitOps.H b/src/OpenFOAM/containers/Bits/BitOps/BitOps.H index a5b7bace2b..e2c74b4a17 100644 --- a/src/OpenFOAM/containers/Bits/BitOps/BitOps.H +++ b/src/OpenFOAM/containers/Bits/BitOps/BitOps.H @@ -154,7 +154,7 @@ inline UIntType repeat_value(unsigned val) // Max value for a single element const unsigned mask = ((1u << BitWidth) - 1); - // The first occurance + // The first occurrence UIntType fillval = ((val >= mask) ? mask : val); // Repeated @@ -226,7 +226,7 @@ namespace BitSetOps // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//- Create a bitSet with length n with the specifed \a on locations. +//- Create a bitSet with length n with the specified \a on locations. // The resulting bitSet is guaranteed to have exactly the specified length, // any values or positions larger than n-1 are silently ignored. // @@ -243,7 +243,7 @@ bitSet create ); -//- Create a bitSet with length n with the specifed \a on locations. +//- Create a bitSet with length n with the specified \a on locations. // The resulting bitSet is guaranteed to have exactly the specified length, // any values or positions larger than n-1 are silently ignored. // @@ -260,7 +260,7 @@ bitSet create ); -//- Create a bitSet with length n with the specifed \a on locations +//- Create a bitSet with length n with the specified \a on locations //- when the list values are equal to the select value. // // The resulting bitSet is guaranteed to have exactly the specified length, diff --git a/src/OpenFOAM/containers/Bits/bitSet/bitSet.C b/src/OpenFOAM/containers/Bits/bitSet/bitSet.C index 2d75d4b653..b8300bcca8 100644 --- a/src/OpenFOAM/containers/Bits/bitSet/bitSet.C +++ b/src/OpenFOAM/containers/Bits/bitSet/bitSet.C @@ -378,7 +378,7 @@ void Foam::bitSet::set(const labelRange& range) // Range finishes at or beyond the right side. // - zero fill any gaps that we might create. - // - flood-fill the reset, which now correponds to the full range. + // - flood-fill the reset, which now corresponds to the full range. // // NB: use labelRange after() for the exclusive end-value, which // corresponds to our new set size. diff --git a/src/OpenFOAM/containers/Dictionaries/DictionaryBase/DictionaryBase.H b/src/OpenFOAM/containers/Dictionaries/DictionaryBase/DictionaryBase.H index 02e9e08725..927c9ae5c0 100644 --- a/src/OpenFOAM/containers/Dictionaries/DictionaryBase/DictionaryBase.H +++ b/src/OpenFOAM/containers/Dictionaries/DictionaryBase/DictionaryBase.H @@ -161,7 +161,7 @@ public: // Member Operators - //- Copy assigment + //- Copy assignment void operator=(const DictionaryBase&); //- Find and return entry diff --git a/src/OpenFOAM/containers/HashTables/HashOps/HashOps.H b/src/OpenFOAM/containers/HashTables/HashOps/HashOps.H index 241bcea79e..288195399f 100644 --- a/src/OpenFOAM/containers/HashTables/HashOps/HashOps.H +++ b/src/OpenFOAM/containers/HashTables/HashOps/HashOps.H @@ -105,7 +105,7 @@ labelHashSet used(const UList& select); // // \return a bitset // -// \see BitSetOps::create for other possiblities +// \see BitSetOps::create for other possibilities bitSet bitset(const labelHashSet& locations); diff --git a/src/OpenFOAM/containers/HashTables/HashTable/HashTableDetail.H b/src/OpenFOAM/containers/HashTables/HashTable/HashTableDetail.H index c61d56bdb9..5272915538 100644 --- a/src/OpenFOAM/containers/HashTables/HashTable/HashTableDetail.H +++ b/src/OpenFOAM/containers/HashTables/HashTable/HashTableDetail.H @@ -230,7 +230,7 @@ struct HashTableSingle void operator=(const HashTableSingle&) = delete; - //- Construct from next pointer, key, (ununsed) contents + //- Construct from next pointer, key, (unused) contents template HashTableSingle ( diff --git a/src/OpenFOAM/containers/IndirectLists/IndirectListBase/IndirectListBase.H b/src/OpenFOAM/containers/IndirectLists/IndirectListBase/IndirectListBase.H index 1cf42b1f67..ac10191c7b 100644 --- a/src/OpenFOAM/containers/IndirectLists/IndirectListBase/IndirectListBase.H +++ b/src/OpenFOAM/containers/IndirectLists/IndirectListBase/IndirectListBase.H @@ -183,7 +183,7 @@ public: // Search //- Find index of the first occurrence of the value. - // Any occurences before the start pos are ignored. + // Any occurrences before the start pos are ignored. // Linear search. // \return -1 if not found. label find(const T& val, label pos = 0) const; @@ -195,7 +195,7 @@ public: label rfind(const T& val, label pos = -1) const; //- True if the value if found in the list. - // Any occurences before the start pos are ignored. + // Any occurrences before the start pos are ignored. // Linear search. inline bool found(const T& val, label pos=0) const; diff --git a/src/OpenFOAM/containers/Lists/FixedList/FixedList.H b/src/OpenFOAM/containers/Lists/FixedList/FixedList.H index 0edc4f5fea..4cf97031fb 100644 --- a/src/OpenFOAM/containers/Lists/FixedList/FixedList.H +++ b/src/OpenFOAM/containers/Lists/FixedList/FixedList.H @@ -248,8 +248,8 @@ public: // Search - //- Find index of the first occurence of the value. - // Any occurences before the start pos are ignored. + //- Find index of the first occurrence of the value. + // Any occurrences before the start pos are ignored. // Linear search. // \return -1 if not found. label find(const T& val, label pos = 0) const; @@ -261,7 +261,7 @@ public: label rfind(const T& val, label pos = -1) const; //- True if the value if found in the list. - // Any occurences before the start pos are ignored. + // Any occurrences before the start pos are ignored. // Linear search. inline bool found(const T& val, label pos = 0) const; diff --git a/src/OpenFOAM/containers/Lists/ListOps/ListOps.H b/src/OpenFOAM/containers/Lists/ListOps/ListOps.H index 7fed02a1c1..2314801ad6 100644 --- a/src/OpenFOAM/containers/Lists/ListOps/ListOps.H +++ b/src/OpenFOAM/containers/Lists/ListOps/ListOps.H @@ -397,7 +397,7 @@ List invertManyToMany } -//- Deprecated(2017-10) search for first occurence of the given element. +//- Deprecated(2017-10) search for first occurrence of the given element. // \return The index found or return -1 if not found. // \deprecated(2017-10) - use the UList find/found methods template @@ -413,7 +413,7 @@ label findIndex } -//- Linear search to find all occurences of given element. +//- Linear search to find all occurrences of given element. template labelList findIndices ( @@ -643,7 +643,7 @@ label find //- True if there is a value in the list that satisfies the predicate. -// When start is specified, any occurences before start are ignored. +// When start is specified, any occurrences before start are ignored. // Linear search. // \return true if found. template diff --git a/src/OpenFOAM/containers/Lists/policy/ListPolicy.H b/src/OpenFOAM/containers/Lists/policy/ListPolicy.H index 9d2697b786..7cf2711415 100644 --- a/src/OpenFOAM/containers/Lists/policy/ListPolicy.H +++ b/src/OpenFOAM/containers/Lists/policy/ListPolicy.H @@ -54,7 +54,7 @@ namespace ListPolicy // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//- Number of items before requiring line-breaks in the list ouput. +//- Number of items before requiring line-breaks in the list output. // // Default definition: 10 template diff --git a/src/OpenFOAM/db/IOstreams/hashes/base64Layer.H b/src/OpenFOAM/db/IOstreams/hashes/base64Layer.H index 602b635531..b4ee9fdc30 100644 --- a/src/OpenFOAM/db/IOstreams/hashes/base64Layer.H +++ b/src/OpenFOAM/db/IOstreams/hashes/base64Layer.H @@ -29,7 +29,7 @@ Class Description An output filter layer to write base-64 encoded content. - Base64 encoding accoding to RFC 4648 specification + Base64 encoding according to RFC 4648 specification (https://tools.ietf.org/html/rfc4648#page-5). It is the obligation of the caller to avoid using normal output while the base-64 encoding layer is actively used. diff --git a/src/OpenFOAM/db/IOstreams/token/token.H b/src/OpenFOAM/db/IOstreams/token/token.H index ea767fe88d..8e401fd6d4 100644 --- a/src/OpenFOAM/db/IOstreams/token/token.H +++ b/src/OpenFOAM/db/IOstreams/token/token.H @@ -501,7 +501,7 @@ public: inline const compound& compoundToken() const; //- Return reference to compound token and decrease its internal - //- refCound accordingly. + //- refCount accordingly. // The Istream is used for reference error messages only. compound& transferCompoundToken(const Istream& is); diff --git a/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H b/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H index 48343e5276..e0bae03e59 100644 --- a/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H +++ b/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H @@ -34,7 +34,7 @@ Description object to maintain information about the state. For simple coded objects, the default state management is sufficient. - When there are more complicated code segements + When there are more complicated code segments (eg, functionObjects::codedFunctionObject), the state management must also register these elements as well, starting with an initial setCodeContext() call and followed by append() to register each element. diff --git a/src/OpenFOAM/global/argList/argList.H b/src/OpenFOAM/global/argList/argList.H index 4c8ff575bc..39c63b209f 100644 --- a/src/OpenFOAM/global/argList/argList.H +++ b/src/OpenFOAM/global/argList/argList.H @@ -530,7 +530,7 @@ public: // Queries the Foam::infoDetailLevel flag. static bool bannerEnabled(); - //- Remove '-noFunctionObjects' option and ignore any occurances. + //- Remove '-noFunctionObjects' option and ignore any occurrences. // Optionally add a '-withFunctionObjects' option instead static void noFunctionObjects(bool addWithOption = false); diff --git a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H index 1f3b16615e..7876080e84 100644 --- a/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H +++ b/src/OpenFOAM/global/fileOperations/collatedFileOperation/collatedFileOperation.H @@ -109,7 +109,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/include/OSspecific.H b/src/OpenFOAM/include/OSspecific.H index af0051b8b5..0c4fc94c55 100644 --- a/src/OpenFOAM/include/OSspecific.H +++ b/src/OpenFOAM/include/OSspecific.H @@ -200,7 +200,7 @@ bool mvBak(const fileName& src, const std::string& ext = "bak"); // An empty name is a no-op that always returns false. bool rm(const fileName& file); -//- Remove a dirctory and its contents (optionally silencing warnings) +//- Remove a directory and its contents (optionally silencing warnings) // An empty directory name is a no-op that always returns false, // but also produces a warning. bool rmDir(const fileName& directory, const bool silent=false); diff --git a/src/OpenFOAM/include/m4/lemon/base-setup.m4 b/src/OpenFOAM/include/m4/lemon/base-setup.m4 index 159d5e3418..6324a2419d 100644 --- a/src/OpenFOAM/include/m4/lemon/base-setup.m4 +++ b/src/OpenFOAM/include/m4/lemon/base-setup.m4 @@ -33,7 +33,7 @@ divert(-1)dnl # _logic_, _scalar_, _vector_, # _sphTensor_, _symTensor_, _tensor_ # -# Values for the currently targetted rule +# Values for the currently targeted rule # _target_, _value_type_ # # Note diff --git a/src/OpenFOAM/include/m4/lemon/rules-components.m4 b/src/OpenFOAM/include/m4/lemon/rules-components.m4 index ef7f0af979..f39704f1e0 100644 --- a/src/OpenFOAM/include/m4/lemon/rules-components.m4 +++ b/src/OpenFOAM/include/m4/lemon/rules-components.m4 @@ -40,7 +40,7 @@ undefine([rule_tensor_unzipRow]) # rule_scalar_components(source) # # Description -# Exract scalar field from scalar field - no-op +# Extract scalar field from scalar field - no-op #------------------------------------------------------------------------------ define([rule_scalar_components], []) @@ -50,7 +50,7 @@ define([rule_scalar_components], []) # rule_vector_components(out, in) # # Description -# Exract scalar field from vector field +# Extract scalar field from vector field #------------------------------------------------------------------------------ define([rule_vector_components], @@ -64,7 +64,7 @@ rule_method_component($1, $2, CMPT_Z, Foam::vector::Z)] # rule_sphTensor_components(out, in) # # Description -# Exract scalar field from sphericalTensor field +# Extract scalar field from sphericalTensor field #------------------------------------------------------------------------------ define([rule_sphTensor_components], @@ -76,7 +76,7 @@ define([rule_sphTensor_components], # rule_symTensor_components(out, in) # # Description -# Exract scalar field from symmTensor field +# Extract scalar field from symmTensor field #------------------------------------------------------------------------------ define([rule_symTensor_components], @@ -92,7 +92,7 @@ rule_method_component($1, $2, CMPT_ZZ, Foam::symmTensor::ZZ)] # rule_tensor_components(out, in) # # Description -# Exract scalar field from tensor field +# Extract scalar field from tensor field #------------------------------------------------------------------------------ define([rule_tensor_components], diff --git a/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H b/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H index e28e38c5c5..09e2275b4a 100644 --- a/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H +++ b/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H @@ -27,7 +27,7 @@ Class Foam::uniformInterpolationTable Description - Table with uniform interval in independant variable, with linear + Table with uniform interval in independent variable, with linear interpolation Example usage (scalar): values specified within a dictionary: diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrix.H b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrix.H index 27752e37df..bae2bd10d5 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrix.H +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduMatrix.H @@ -35,7 +35,7 @@ Description Addressing arrays must be supplied for the upper and lower triangles. Note - It might be better if this class were organised as a hierachy starting + It might be better if this class were organised as a hierarchy starting from an empty matrix, then deriving diagonal, symmetric and asymmetric matrices. diff --git a/src/OpenFOAM/matrices/LduMatrix/Solvers/SmoothSolver/SmoothSolver.H b/src/OpenFOAM/matrices/LduMatrix/Solvers/SmoothSolver/SmoothSolver.H index 3974e823ad..278d29e776 100644 --- a/src/OpenFOAM/matrices/LduMatrix/Solvers/SmoothSolver/SmoothSolver.H +++ b/src/OpenFOAM/matrices/LduMatrix/Solvers/SmoothSolver/SmoothSolver.H @@ -27,7 +27,7 @@ Class Foam::SmoothSolver Description - Iterative solver for symmetric and assymetric matrices which uses a + Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e.g. GaussSeidel to converge the solution to the required tolerance. To improve efficiency, the residual is evaluated after every nSweeps smoothing iterations. diff --git a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.H b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.H index 36ced7f8c3..a99c488474 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.H @@ -34,7 +34,7 @@ Description Addressing arrays must be supplied for the upper and lower triangles. - It might be better if this class were organised as a hierachy starting + It might be better if this class were organised as a hierarchy starting from an empty matrix, then deriving diagonal, symmetric and asymmetric matrices. diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverAgglomerateMatrix.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverAgglomerateMatrix.C index 41da6c4bb9..6e0a01f9cd 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverAgglomerateMatrix.C +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGSolverAgglomerateMatrix.C @@ -129,7 +129,7 @@ void Foam::GAMGSolver::agglomerateMatrix const boolList& faceFlipMap = agglomeration_.faceFlipMap(fineLevelIndex); - // Check if matrix is asymetric and if so agglomerate both upper + // Check if matrix is asymmetric and if so agglomerate both upper // and lower coefficients ... if (fineMatrix.hasLower()) { diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/smoothSolver/smoothSolver.H b/src/OpenFOAM/matrices/lduMatrix/solvers/smoothSolver/smoothSolver.H index ca1faf2305..4c9522539f 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/smoothSolver/smoothSolver.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/smoothSolver/smoothSolver.H @@ -31,7 +31,7 @@ Group grpLduMatrixSolvers Description - Iterative solver for symmetric and asymetric matrices which uses a + Iterative solver for symmetric and asymmetric matrices which uses a run-time selected smoother e.g. GaussSeidel to converge the solution to the required tolerance. diff --git a/src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C b/src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C index 688951b213..f6aede0250 100644 --- a/src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C +++ b/src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C @@ -128,7 +128,7 @@ Foam::oppositeFace Foam::cell::opposingFace // This is a prismatic cell. Go through all the vertices of the master // face and find an edge going from the master face vertex to a slave // face vertex. If all is OK, there should be only one such - // edge for every master vertex and will provide te + // edge for every master vertex and will provide the // master-to-slave vertex mapping. Assemble the opposite face // in the same manner as the master. diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C index f9626e0d5d..4062471af1 100644 --- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C +++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C @@ -261,7 +261,7 @@ void Foam::globalMeshData::countSharedEdges { if (globalFnd() == -1) { - // Second time occurence of this edge. + // Second time occurrence of this edge. // Assign proper edge label. globalFnd() = sharedEdgeI++; } diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C b/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C index db054a267f..34d9a2f517 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C @@ -273,7 +273,7 @@ bool Foam::polyMesh::checkEdgeAlignment // Check 1D/2Dness of edges. Gets passed the non-empty directions and // checks all edges in the mesh whether they: // - have no component in a non-empty direction or - // - are only in a singe non-empty direction. + // - are only in a single non-empty direction. // Empty direction info is passed in as a vector of labels (synchronised) // which are 1 if the direction is non-empty, 0 if it is. diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C b/src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C index 178aa18718..0e11f32f9e 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C @@ -141,7 +141,7 @@ void Foam::polyMesh::setTopology ) { // Calculate the faces of all cells - // Initialise maximum possible numer of mesh faces to 0 + // Initialise maximum possible number of mesh faces to 0 label maxFaces = 0; // Set up a list of face shapes for each cell @@ -157,7 +157,7 @@ void Foam::polyMesh::setTopology // Initialise cells to -1 to flag undefined faces static_cast(cells[celli]) = -1; - // Count maximum possible numer of mesh faces + // Count maximum possible number of mesh faces maxFaces += cellsFaceShapes[celli].size(); } diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C index 6b51e1ddbb..29289ad3d6 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/oldCyclic/oldCyclicPolyPatch.C @@ -1208,7 +1208,7 @@ bool Foam::oldCyclicPolyPatch::order rotation ); - // Return false if no change neccesary, true otherwise. + // Return false if no change necessary, true otherwise. forAll(faceMap, facei) { diff --git a/src/OpenFOAM/meshes/primitiveMesh/primitiveMeshFaceCentresAndAreas.C b/src/OpenFOAM/meshes/primitiveMesh/primitiveMeshFaceCentresAndAreas.C index ac906072ac..defcfae773 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/primitiveMeshFaceCentresAndAreas.C +++ b/src/OpenFOAM/meshes/primitiveMesh/primitiveMeshFaceCentresAndAreas.C @@ -24,7 +24,7 @@ License along with OpenFOAM. If not, see . Description - Calulate the face centres and areas. + Calculate the face centres and areas. Calculate the centre by breaking the face into triangles using the face centre and area-weighted averaging their centres. This method copes with @@ -34,7 +34,6 @@ Description #include "primitiveMesh.H" - // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // void Foam::primitiveMesh::calcFaceCentresAndAreas() const diff --git a/src/OpenFOAM/primitives/Vector/Vector.H b/src/OpenFOAM/primitives/Vector/Vector.H index 88b3c16699..b222616520 100644 --- a/src/OpenFOAM/primitives/Vector/Vector.H +++ b/src/OpenFOAM/primitives/Vector/Vector.H @@ -34,7 +34,7 @@ Description A centre() member function which returns the Vector for which it is called is defined so that point which is a typedef to Vector\ behaves as - other shapes in the shape hierachy. + other shapes in the shape hierarchy. SourceFiles VectorI.H diff --git a/src/OpenFOAM/primitives/predicates/scalar/scalarPredicates.H b/src/OpenFOAM/primitives/predicates/scalar/scalarPredicates.H index 16664f4aca..fe0591c4eb 100644 --- a/src/OpenFOAM/primitives/predicates/scalar/scalarPredicates.H +++ b/src/OpenFOAM/primitives/predicates/scalar/scalarPredicates.H @@ -259,19 +259,19 @@ public: // Search //- Index of the first match for the value. - // Any occurences before the start pos are ignored. + // Any occurrences before the start pos are ignored. // Linear search. // \return position in list or -1 if not found. label find(const scalar value, label pos = 0) const; //- Index of the last match for the value. - // Any occurences after the end pos are ignored. + // Any occurrences after the end pos are ignored. // Linear search. // \return position in list or -1 if not found. label rfind(const scalar value, label pos = -1) const; //- True if the value matches any in the list. - // Any occurences before the start pos are ignored. + // Any occurrences before the start pos are ignored. // Linear search. // \return true if found. inline bool found(const scalar value, label pos=0) const; diff --git a/src/OpenFOAM/primitives/ranges/MinMax/MinMax.H b/src/OpenFOAM/primitives/ranges/MinMax/MinMax.H index 563c782c8f..07e895cfea 100644 --- a/src/OpenFOAM/primitives/ranges/MinMax/MinMax.H +++ b/src/OpenFOAM/primitives/ranges/MinMax/MinMax.H @@ -49,7 +49,7 @@ Description Info<< minMax(values) << nl; \endverbatim - General comparsion operations + General comparison operations \verbatim scalar val; if (val < range) ... value is below range min diff --git a/src/OpenFOAM/primitives/strings/fileName/fileName.H b/src/OpenFOAM/primitives/strings/fileName/fileName.H index 6f2cbfec24..a6a137a869 100644 --- a/src/OpenFOAM/primitives/strings/fileName/fileName.H +++ b/src/OpenFOAM/primitives/strings/fileName/fileName.H @@ -272,7 +272,7 @@ public: } //- Return directory path name (part before last /) - // The result normally coresponds to a Foam::fileName + // The result normally corresponds to a Foam::fileName // // Behaviour compared to /usr/bin/dirname: // \verbatim diff --git a/src/OpenFOAM/primitives/strings/stringOps/stringOps.C b/src/OpenFOAM/primitives/strings/stringOps/stringOps.C index a6860584b6..c634d7d2d9 100644 --- a/src/OpenFOAM/primitives/strings/stringOps/stringOps.C +++ b/src/OpenFOAM/primitives/strings/stringOps/stringOps.C @@ -1147,7 +1147,7 @@ void Foam::stringOps::inplaceRemoveComments(std::string& s) if (i == std::string::npos) { - // Trucated - done + // Truncated - done break; } @@ -1161,7 +1161,7 @@ void Foam::stringOps::inplaceRemoveComments(std::string& s) if (i == std::string::npos) { - // Trucated - done + // Truncated - done break; } diff --git a/src/OpenFOAM/primitives/strings/stringOps/stringOpsSort.C b/src/OpenFOAM/primitives/strings/stringOps/stringOpsSort.C index 8cee363d5d..ecd9642746 100644 --- a/src/OpenFOAM/primitives/strings/stringOps/stringOpsSort.C +++ b/src/OpenFOAM/primitives/strings/stringOps/stringOpsSort.C @@ -59,7 +59,7 @@ Changes for OpenFOAM #undef DIGITS_ALWAYS_FIRST // [MANUAL_NUMCOMPARE] : handwritten code instead of strncmp -// The orignal code has a mix of strncmp for equality but handwritten code +// The original code has a mix of strncmp for equality but handwritten code // for greater-than/less-than. // // -> this does to be unneeded, rely on strncmp() return values diff --git a/src/OpenFOAM/primitives/subModelBase/subModelBase.H b/src/OpenFOAM/primitives/subModelBase/subModelBase.H index 7da05b41f2..32d8f376bf 100644 --- a/src/OpenFOAM/primitives/subModelBase/subModelBase.H +++ b/src/OpenFOAM/primitives/subModelBase/subModelBase.H @@ -152,7 +152,7 @@ public: //- Return the model 'active' status - default active = true virtual bool active() const; - //- Cache dependant sub-model fields + //- Cache dependent sub-model fields virtual void cacheFields(const bool store); //- Flag to indicate when to write a property diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H index 414a1a748d..075b9dc26d 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.H @@ -32,7 +32,7 @@ Group Description This BC solves a steady 1D thermal baffle. - The solid properties are specify as dictionary. Optionaly radiative heat + The solid properties are specify as dictionary. Optionally radiative heat flux (qr) can be incorporated into the balance. Some under-relaxation might be needed on qr. Baffle and solid properties need to be specified on the master side of the baffle. diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/wallFunctions/alphatWallFunctions/alphatWallFunction/alphatWallFunctionFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/wallFunctions/alphatWallFunctions/alphatWallFunction/alphatWallFunctionFvPatchScalarField.H index f5c1bf8f58..199ac12201 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/wallFunctions/alphatWallFunctions/alphatWallFunction/alphatWallFunctionFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/wallFunctions/alphatWallFunctions/alphatWallFunction/alphatWallFunctionFvPatchScalarField.H @@ -30,7 +30,7 @@ Group grpCmpWallFunctions Description - This boundary condition provides a turbulent thermal diffusivity conditon + This boundary condition provides a turbulent thermal diffusivity condition when using wall functions - replicates OpenFOAM v1.5 (and earlier) behaviour diff --git a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.H b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.H index 18851d81ec..9fe05be0dc 100644 --- a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.H +++ b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.H @@ -97,7 +97,7 @@ protected: // Protected Data //- Name of velocity field - // Defult is null (not specified) in which case the velocity is + // Default is null (not specified) in which case the velocity is // retrieved from the turbulence model word UName_; diff --git a/src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H b/src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H index 64f09ebc12..ee626bd9e8 100644 --- a/src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H +++ b/src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H @@ -31,7 +31,7 @@ Group Description This boundary condition provides a turbulent kinematic viscosity for - atmospheric velocity profiles. It is desinged to be used in conjunction + atmospheric velocity profiles. It is designed to be used in conjunction with the atmBoundaryLayerInletVelocity boundary condition. The values are calculated using: diff --git a/src/combustionModels/FSD/FSD.H b/src/combustionModels/FSD/FSD.H index 47848c2f88..7a42f2e8a1 100644 --- a/src/combustionModels/FSD/FSD.H +++ b/src/combustionModels/FSD/FSD.H @@ -46,7 +46,7 @@ Description different strain rates and fit using a expential distribution. The spacial distribution of the consumption speed (omega) is obtained also - from a strained flamelet solution and it is assumed to have a guassian + from a strained flamelet solution and it is assumed to have a Gaussian distribution. If the grid resolution is not enough to resolve the flame, the consumption diff --git a/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.H b/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.H index a1d3f01f17..d99cbec833 100644 --- a/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.H +++ b/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.H @@ -30,7 +30,6 @@ Group grpCombustionModels Description - Diffusion based turbulent combustion model for multicomponent species. The model calculates the laminar finite rate source terms based on @@ -46,7 +45,7 @@ Description muEff : is the effective turbulent viscosity prob : is a normalized Gaussian shaped distribution around the stoichiometric - value of each reaction. The distribtion is controled by 'sigma' + value of each reaction. The distribution is controlled by 'sigma' for standard deviation and ftCorr for correction of the stoichiometric value. diff --git a/src/combustionModels/eddyDissipationModelBase/eddyDissipationModelBase.C b/src/combustionModels/eddyDissipationModelBase/eddyDissipationModelBase.C index 33cd37b313..3f4b1f6eac 100644 --- a/src/combustionModels/eddyDissipationModelBase/eddyDissipationModelBase.C +++ b/src/combustionModels/eddyDissipationModelBase/eddyDissipationModelBase.C @@ -105,7 +105,7 @@ void eddyDissipationModelBase::correct() else { FatalErrorInFunction - << "You selected a combustion model which requieres O2 mass" + << "You selected a combustion model that requires O2 mass" << " to be present in the mixture" << exit(FatalError); } diff --git a/src/conversion/ccm/reader/ccmReaderMesh.C b/src/conversion/ccm/reader/ccmReaderMesh.C index 7eeb2b1537..acc7f1f865 100644 --- a/src/conversion/ccm/reader/ccmReaderMesh.C +++ b/src/conversion/ccm/reader/ccmReaderMesh.C @@ -2044,7 +2044,7 @@ void Foam::ccm::reader::mergeInplaceInterfaces() continue; } - // Improve comparision speed by sorting by distance + // Improve comparison speed by sorting by distance SortableList pts0MagSqr ( magSqr diff --git a/src/conversion/vtk/output/foamVtkInternalWriter.H b/src/conversion/vtk/output/foamVtkInternalWriter.H index cdc26be9dd..743dd01293 100644 --- a/src/conversion/vtk/output/foamVtkInternalWriter.H +++ b/src/conversion/vtk/output/foamVtkInternalWriter.H @@ -81,10 +81,10 @@ class internalWriter //- The volume cells (internalMesh) const vtuCells& vtuCells_; - //- The numer of field points for the current Piece + //- The number of field points for the current Piece label numberOfPoints_; - //- The numer of field cells for the current Piece + //- The number of field cells for the current Piece label numberOfCells_; diff --git a/src/conversion/vtk/output/foamVtkPatchWriter.H b/src/conversion/vtk/output/foamVtkPatchWriter.H index 3f14aa2b34..9a2b3ac9ea 100644 --- a/src/conversion/vtk/output/foamVtkPatchWriter.H +++ b/src/conversion/vtk/output/foamVtkPatchWriter.H @@ -79,10 +79,10 @@ class patchWriter //- Use internal field value instead of patch value bool useNearCellValue_; - //- The numer of field points for the current Piece + //- The number of field points for the current Piece label numberOfPoints_; - //- The numer of field cells (faces) for the current Piece + //- The number of field cells (faces) for the current Piece label numberOfCells_; //- Local number of points @@ -97,7 +97,7 @@ class patchWriter // Private Member Functions - //- Determing sizes (nLocalPoints_, nLocalFaces_, nLocalVerts_), + //- Determine sizes (nLocalPoints_, nLocalFaces_, nLocalVerts_), //- and begin piece. void beginPiece(); diff --git a/src/conversion/vtk/output/foamVtkSurfaceFieldWriter.H b/src/conversion/vtk/output/foamVtkSurfaceFieldWriter.H index 5a00e17423..77c1d9ac15 100644 --- a/src/conversion/vtk/output/foamVtkSurfaceFieldWriter.H +++ b/src/conversion/vtk/output/foamVtkSurfaceFieldWriter.H @@ -78,7 +78,7 @@ class surfaceFieldWriter //- Reference to the OpenFOAM mesh (or subset) const fvMesh& mesh_; - //- The numer of field points for the current Piece + //- The number of field points for the current Piece label numberOfPoints_; diff --git a/src/dynamicFaMesh/interfaceTrackingFvMesh/interfaceTrackingFvMesh.C b/src/dynamicFaMesh/interfaceTrackingFvMesh/interfaceTrackingFvMesh.C index eb9383a825..6b1ab727b9 100644 --- a/src/dynamicFaMesh/interfaceTrackingFvMesh/interfaceTrackingFvMesh.C +++ b/src/dynamicFaMesh/interfaceTrackingFvMesh/interfaceTrackingFvMesh.C @@ -679,7 +679,7 @@ void Foam::interfaceTrackingFvMesh::updateDisplacementDirections() facesDisplacementDir() = aMesh().faceAreaNormals().internalField(); - // Correction of control points postion + // Correction of control points position const vectorField& Cf = aMesh().areaCentres().internalField(); controlPoints() = diff --git a/src/dynamicFaMesh/interfaceTrackingFvMesh/interfaceTrackingFvMesh.H b/src/dynamicFaMesh/interfaceTrackingFvMesh/interfaceTrackingFvMesh.H index 33c4c4c951..45bf37cf60 100644 --- a/src/dynamicFaMesh/interfaceTrackingFvMesh/interfaceTrackingFvMesh.H +++ b/src/dynamicFaMesh/interfaceTrackingFvMesh/interfaceTrackingFvMesh.H @@ -84,7 +84,7 @@ class interfaceTrackingFvMesh // if not normal motion direction vector motionDir_; - //- Interface smoothing at the begining of time step + //- Interface smoothing at the beginning of time step Switch smoothing_; //- Pure free-surface diff --git a/src/dynamicFaMesh/interfaceTrackingFvMesh/surfactantProperties.H b/src/dynamicFaMesh/interfaceTrackingFvMesh/surfactantProperties.H index a513cd1130..3806a61d20 100644 --- a/src/dynamicFaMesh/interfaceTrackingFvMesh/surfactantProperties.H +++ b/src/dynamicFaMesh/interfaceTrackingFvMesh/surfactantProperties.H @@ -172,7 +172,7 @@ public: return soluble_; } - //- Surface tension change due to presense of surfactants + //- Surface tension change due to presence of surfactants tmp dSigma ( const areaScalarField& surfactConc diff --git a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C index 38292ef63f..06817d4bd0 100644 --- a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C +++ b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C @@ -1182,7 +1182,7 @@ Foam::dynamicRefineFvMesh::dynamicRefineFvMesh(const IOobject& io) bool Foam::dynamicRefineFvMesh::update() { - // Re-read dictionary. Choosen since usually -small so trivial amount + // Re-read dictionary. Chosen since usually -small so trivial amount // of time compared to actual refinement. Also very useful to be able // to modify on-the-fly. dictionary refineDict @@ -1366,7 +1366,7 @@ bool Foam::dynamicRefineFvMesh::update() if ((nRefinementIterations_ % 10) == 0) { - // Compact refinement history occassionally (how often?). + // Compact refinement history occasionally (how often?). // Unrefinement causes holes in the refinementHistory. const_cast(meshCutter().history()).compact(); } diff --git a/src/dynamicMesh/attachDetach/attachDetach.C b/src/dynamicMesh/attachDetach/attachDetach.C index 151d104e24..b58659eb7b 100644 --- a/src/dynamicMesh/attachDetach/attachDetach.C +++ b/src/dynamicMesh/attachDetach/attachDetach.C @@ -426,8 +426,7 @@ void Foam::attachDetach::setRefinement(polyTopoChange& ref) const else { FatalErrorInFunction - << "Requested attach/detach event and currect state " - << "is not known." + << "Requested attach/detach event. Current state is unknown." << abort(FatalError); } diff --git a/src/dynamicMesh/meshCut/cellCuts/cellCuts.C b/src/dynamicMesh/meshCut/cellCuts/cellCuts.C index 207c1bd4fb..3f1d37ddea 100644 --- a/src/dynamicMesh/meshCut/cellCuts/cellCuts.C +++ b/src/dynamicMesh/meshCut/cellCuts/cellCuts.C @@ -1092,7 +1092,7 @@ bool Foam::cellCuts::walkCell { // Cut along existing edge. So is in fact on two faces. // Get faces on both sides of the edge to make - // sure we dont fold back on to those. + // sure we do not fold back on to those. label f0, f1; meshTools::getEdgeFaces(mesh(), celli, edgeI, f0, f1); diff --git a/src/dynamicMesh/motionSmoother/polyMeshGeometry/polyMeshGeometry.C b/src/dynamicMesh/motionSmoother/polyMeshGeometry/polyMeshGeometry.C index 98c2da0202..cff58381cd 100644 --- a/src/dynamicMesh/motionSmoother/polyMeshGeometry/polyMeshGeometry.C +++ b/src/dynamicMesh/motionSmoother/polyMeshGeometry/polyMeshGeometry.C @@ -1898,13 +1898,13 @@ bool Foam::polyMeshGeometry::checkFaceFlatness if (nWarped> 0) { Info<< "There are " << nWarped - << " faces with area of invidual triangles" + << " faces with area of individual triangles" << " compared to overall area less than " << minFlatness << nl << endl; } else { - Info<< "All faces are flat in that the area of invidual triangles" + Info<< "All faces are flat in that the area of individual triangles" << " compared to overall area is less than " << minFlatness << nl << endl; } @@ -1916,7 +1916,7 @@ bool Foam::polyMeshGeometry::checkFaceFlatness { WarningInFunction << nWarped << " non-flat faces " - << "(area of invidual triangles" + << "(area of individual triangles" << " compared to overall area" << " < " << minFlatness << ") found.\n" << endl; diff --git a/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.C b/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.C index 715000d370..c8dcc7ea9e 100644 --- a/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.C +++ b/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.C @@ -304,7 +304,7 @@ void Foam::displacementLayeredMotionMotionSolver::cellZoneSolve if (patchesDict.size() != 2) { FatalIOErrorInFunction(*this) - << "Two faceZones (patches) must be specifed per cellZone. " + << "Two faceZones (patches) must be specified per cellZone. " << " cellZone:" << cellZoneI << " patches:" << patchesDict.toc() << exit(FatalIOError); diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.C index 2e63f1f461..b4f7ad2ebe 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.C @@ -1067,7 +1067,7 @@ Foam::label Foam::edgeCollapser::syncCollapse masterPointPriority ); - // Mark as collapsable but with nonsense master so it gets + // Mark as collapsible but with nonsense master so it gets // overwritten and starts an update wave allEdgeInfo[edgeI] = pointEdgeCollapse ( diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H index c2bf402182..edcffc2f36 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H @@ -327,7 +327,7 @@ public: // edges that need to be collapsed in order to remove these faces. // Also returns a map of new locations for points that will move // as a result of the collapse. - // Use in conjuctions with edgeCollapser to synchronise the + // Use in conjunction with edgeCollapser to synchronise the // collapses and modify the mesh labelPair markSmallSliverFaces ( diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.C index b408d5077e..c2d9bf584a 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.C @@ -462,7 +462,7 @@ void Foam::removePoints::updateMesh(const mapPolyMesh& map) { FatalErrorInFunction << "Old face " << savedFaceLabels_[localI] - << " seems to have dissapeared." + << " seems to have disappeared." << abort(FatalError); } savedFaceLabels_[localI] = newFacei; @@ -488,7 +488,7 @@ void Foam::removePoints::updateMesh(const mapPolyMesh& map) { FatalErrorInFunction << "Old point " << pointi - << " seems to have dissapeared." + << " seems to have disappeared." << abort(FatalError); } } diff --git a/src/dynamicMesh/slidingInterface/slidingInterfaceProjectPoints.C b/src/dynamicMesh/slidingInterface/slidingInterfaceProjectPoints.C index 0ec1736e5a..f671b2999e 100644 --- a/src/dynamicMesh/slidingInterface/slidingInterfaceProjectPoints.C +++ b/src/dynamicMesh/slidingInterface/slidingInterfaceProjectPoints.C @@ -70,7 +70,7 @@ bool Foam::slidingInterface::projectPoints() const // Algorithm: // 1) Go through all the points of the master and slave patch and calculate // minimum edge length coming from the point. Calculate the point - // merge tolerance as the fraction of mimimum edge length. + // merge tolerance as the fraction of minimum edge length. // 2) Project all the slave points onto the master patch // in the normal direction. // 3) If some points have missed and the match is integral, the diff --git a/src/fileFormats/ensight/name/ensightFileName.H b/src/fileFormats/ensight/name/ensightFileName.H index 6fadf388d8..caa47c7ef8 100644 --- a/src/fileFormats/ensight/name/ensightFileName.H +++ b/src/fileFormats/ensight/name/ensightFileName.H @@ -33,7 +33,7 @@ Description no '*' wildcards, no '%' (structured block continuation). Overall line length within case file is limited to 1024, but this is not - yet addresssed. + yet addressed. Note To assist windows usage, a colon (':') in the name is replaced with diff --git a/src/fileFormats/ensight/name/ensightVarName.H b/src/fileFormats/ensight/name/ensightVarName.H index 0ddd13bb41..4f6c01f3ec 100644 --- a/src/fileFormats/ensight/name/ensightVarName.H +++ b/src/fileFormats/ensight/name/ensightVarName.H @@ -36,8 +36,8 @@ Description If spaces exist, they must be quoted Variable names cannot start with a digit. - The maximum part name length (in GUI: 49 chars) - not addresssed. - The maximum variable length (in GUI: 49 chars) - not addresssed. + The maximum part name length (in GUI: 49 chars) - not addressed. + The maximum variable length (in GUI: 49 chars) - not addressed. \*---------------------------------------------------------------------------*/ diff --git a/src/fileFormats/ensight/part/cells/ensightCells.H b/src/fileFormats/ensight/part/cells/ensightCells.H index d16dcc7a86..ee5c1ea7cf 100644 --- a/src/fileFormats/ensight/part/cells/ensightCells.H +++ b/src/fileFormats/ensight/part/cells/ensightCells.H @@ -104,7 +104,8 @@ private: //- Use temporarily stored sizes to redimension the element lists void resizeAll(); - //- Classify cell types, set element lists for selection (implemention) + //- Classify cell types, set element lists for selection + // (implementation) template void classifyImpl(const polyMesh& mesh, const Addressing& cellIds); diff --git a/src/fileFormats/ensight/part/faces/ensightFacesAddr.C b/src/fileFormats/ensight/part/faces/ensightFacesAddr.C index bbfb4e2151..2f80cde05f 100644 --- a/src/fileFormats/ensight/part/faces/ensightFacesAddr.C +++ b/src/fileFormats/ensight/part/faces/ensightFacesAddr.C @@ -86,7 +86,7 @@ Foam::label Foam::ensightFaces::uniqueMeshPoints nPoints = pp.meshPoints().size(); uniqueMeshPointLabels = pp.meshPoints(); - // Not neaded: pointToGlobal + // Not needed: pointToGlobal } return nPoints; diff --git a/src/fileFormats/stl/STLAsciiParseManual.C b/src/fileFormats/stl/STLAsciiParseManual.C index 73ba535f43..b08f23d8df 100644 --- a/src/fileFormats/stl/STLAsciiParseManual.C +++ b/src/fileFormats/stl/STLAsciiParseManual.C @@ -367,7 +367,7 @@ void Foam::Detail::STLAsciiParseManual::execute(std::istream& is) } while (errMsg_.empty()); - // How much still in the bufffer? + // How much still in the buffer? pending = data + gcount - pe; if (pending) diff --git a/src/fileFormats/stl/STLAsciiParseRagel.cc b/src/fileFormats/stl/STLAsciiParseRagel.cc index b2834614ba..ce68ba25a1 100644 --- a/src/fileFormats/stl/STLAsciiParseRagel.cc +++ b/src/fileFormats/stl/STLAsciiParseRagel.cc @@ -2947,7 +2947,7 @@ case 163: break; } - // How much still in the bufffer? + // How much still in the buffer? pending = data + gcount - pe; if (pending) diff --git a/src/fileFormats/stl/STLAsciiParseRagel.rl b/src/fileFormats/stl/STLAsciiParseRagel.rl index a8c9e7c214..db8db6d502 100644 --- a/src/fileFormats/stl/STLAsciiParseRagel.rl +++ b/src/fileFormats/stl/STLAsciiParseRagel.rl @@ -280,7 +280,7 @@ void Foam::Detail::STLAsciiParseRagel::execute(std::istream& is) break; } - // How much still in the bufffer? + // How much still in the buffer? pending = data + gcount - pe; if (pending) diff --git a/src/fileFormats/vtk/write/foamVtkSurfaceWriter.H b/src/fileFormats/vtk/write/foamVtkSurfaceWriter.H index bf48d5cd42..808626c408 100644 --- a/src/fileFormats/vtk/write/foamVtkSurfaceWriter.H +++ b/src/fileFormats/vtk/write/foamVtkSurfaceWriter.H @@ -78,10 +78,10 @@ class surfaceWriter //- Reference to the faces std::reference_wrapper faces_; - //- The numer of field points for the current Piece + //- The number of field points for the current Piece label numberOfPoints_; - //- The numer of field cells (faces) for the current Piece + //- The number of field cells (faces) for the current Piece label numberOfCells_; //- Local number of points @@ -99,7 +99,7 @@ class surfaceWriter // Private Member Functions - //- Determing sizes (nLocalPoints_, nLocalFaces_, nLocalVerts_), + //- Determine sizes (nLocalPoints_, nLocalFaces_, nLocalVerts_), //- and begin piece void beginPiece(); diff --git a/src/finiteArea/fields/faPatchFields/faPatchField/faPatchField.H b/src/finiteArea/fields/faPatchFields/faPatchField/faPatchField.H index f426ce562b..3818dcb2ff 100644 --- a/src/finiteArea/fields/faPatchFields/faPatchField/faPatchField.H +++ b/src/finiteArea/fields/faPatchFields/faPatchField/faPatchField.H @@ -33,7 +33,7 @@ Description used. The first level of derivation is to basic patchFields which cover zero-gradient, fixed-gradient, fixed-value and mixed conditions. The next level of derivation covers all the specialised typed with specific - evaluation proceedures, particularly with respect to specific fields. + evaluation procedures, particularly with respect to specific fields. Author Zeljko Tukovic, FMENA @@ -56,15 +56,13 @@ SourceFiles namespace Foam { -// Class forward declarations +// Forward Declarations class objectRegistry; class dictionary; class faPatchFieldMapper; class areaMesh; -// Forward declaration of friend functions and operators - template class faPatchField; diff --git a/src/finiteArea/fields/faePatchFields/faePatchField/faePatchField.H b/src/finiteArea/fields/faePatchFields/faePatchField/faePatchField.H index 54430097db..68aba20ed2 100644 --- a/src/finiteArea/fields/faePatchFields/faePatchField/faePatchField.H +++ b/src/finiteArea/fields/faePatchFields/faePatchField/faePatchField.H @@ -33,7 +33,7 @@ Description used. The first level of derivation is to basic patchFields which cover zero-gradient, fixed-gradient, fixed-value and mixed conditions. The next level of derivation covers all the specialised typed with specific - evaluation proceedures, particularly with respect to specific fields. + evaluation procedures, particularly with respect to specific fields. Author Zeljko Tukovic, FMENA @@ -56,16 +56,13 @@ SourceFiles namespace Foam { -// Class forward declarations +// Forward Declarations class objectRegistry; class dictionary; class faPatchFieldMapper; class edgeMesh; - -// Forward declaration of friend functions and operators - template class faePatchField; diff --git a/src/finiteArea/finiteArea/fam/famDdt.H b/src/finiteArea/finiteArea/fam/famDdt.H index c955386fed..e6655c66fc 100644 --- a/src/finiteArea/finiteArea/fam/famDdt.H +++ b/src/finiteArea/finiteArea/fam/famDdt.H @@ -27,7 +27,7 @@ InNamespace Foam::fam Description - Calulate the matrix for the first temporal derivative. + Calculate the matrix for the first temporal derivative. SourceFiles famDdt.C diff --git a/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrad.H b/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrad.H index 93979b29b4..a8a0bcbe96 100644 --- a/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrad.H +++ b/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrad.H @@ -31,7 +31,7 @@ Description scheme. The scalar limiter based on limiting the extrapolated face values - between the maximum and minumum cell and cell neighbour values and is + between the maximum and minimum cell and cell neighbour values and is applied to all components of the gradient. Author diff --git a/src/finiteVolume/cfdTools/general/solutionControl/loopControl/loopControl.H b/src/finiteVolume/cfdTools/general/solutionControl/loopControl/loopControl.H index 6d578cc90a..88446a7061 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/loopControl/loopControl.H +++ b/src/finiteVolume/cfdTools/general/solutionControl/loopControl/loopControl.H @@ -52,7 +52,7 @@ Usage Where the loop entries comprise: \table Property | Description | Required | Default - enabled | active/deactive loop | no | true + enabled | activate/deactivate loop | no | true iteration | times to loop | no | 0 timeStart | begin time for loop activation | no | -VGREAT timeEnd | end time of loop activation | no | VGREAT diff --git a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.H b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.H index aa444c53a2..710f4c176f 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.H +++ b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.H @@ -160,7 +160,7 @@ public: //- Pressure corrector loop control inline bool correct(); - //- Return true to store the intial residuals + //- Return true to store the initial residuals inline bool storeInitialResiduals() const; //- Return true for first PIMPLE (outer) iteration diff --git a/src/finiteVolume/expressions/base/fvExprDriver.H b/src/finiteVolume/expressions/base/fvExprDriver.H index 4104d07964..016e9d055a 100644 --- a/src/finiteVolume/expressions/base/fvExprDriver.H +++ b/src/finiteVolume/expressions/base/fvExprDriver.H @@ -95,7 +95,7 @@ class fvExprDriver //- Pointer to the "default" mesh static const fvMesh *defaultMeshPtr_; - //- Cache cellSets, faceSets insted of reading from disc each time + //- Cache cellSets, faceSets instead of reading from disc each time static bool cacheSets_; @@ -610,7 +610,7 @@ public: //- Create a writer for this object void createWriterAndRead(const word& name); - //- Write data if apropriate + //- Write data if appropriate //- Should enable exact restarts void tryWrite() const; diff --git a/src/finiteVolume/fields/fvPatchFields/derived/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H index 1ffc7e2d61..56663319a4 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H @@ -42,7 +42,7 @@ Description used in an extra wall beyond an existing cyclic patch pair. The baffle is activated when the area weighted pressure difference between - master and slave paches is larger then minThresholdValue. + master and slave patches is larger then minThresholdValue. Once the threshold is crossed, the baffle is activated and continues to open or close at a fixed rate using diff --git a/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.H index a0eaa942d0..d340a153a6 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/outletMappedUniformInlet/outletMappedUniformInletFvPatchField.H @@ -30,7 +30,7 @@ Group grpInletBoundaryConditions Description - This boundary conditon averages the field over the "outlet" patch specified + This boundary condition averages the field over the "outlet" patch specified by name "outletPatch" and applies this as the uniform value of the field over this patch. diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H index 0331ccfca5..d0f6663fd3 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H @@ -31,7 +31,7 @@ Group Description This velocity inlet/outlet boundary condition is applied to pressure - boundaries where the pressure is specified. A zero-gradient condtion is + boundaries where the pressure is specified. A zero-gradient condition is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the flux with the specified inlet direction. diff --git a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H index 2884a68ca6..d7d52def0b 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H @@ -38,7 +38,7 @@ Description - \/\ : field of values at time \ The default mode of operation (mapMethod planarInterpolation) is to project - the points onto a plane (constructed from the first threee points) and + the points onto a plane (constructed from the first three points) and construct a 2D triangulation and finds for the face centres the triangle it is in and the weights to the 3 vertices. diff --git a/src/finiteVolume/fields/fvsPatchFields/fvsPatchField/fvsPatchField.H b/src/finiteVolume/fields/fvsPatchFields/fvsPatchField/fvsPatchField.H index 0c5d29b446..227f23b932 100644 --- a/src/finiteVolume/fields/fvsPatchFields/fvsPatchField/fvsPatchField.H +++ b/src/finiteVolume/fields/fvsPatchFields/fvsPatchField/fvsPatchField.H @@ -35,7 +35,7 @@ Description zero-gradient, fixed-gradient, fixed-value and mixed conditions. The next level of derivation covers all the specialised typed with - specific evaluation proceedures, particularly with respect to specific + specific evaluation procedures, particularly with respect to specific fields. SourceFiles diff --git a/src/finiteVolume/finiteVolume/fvm/fvmDdt.H b/src/finiteVolume/finiteVolume/fvm/fvmDdt.H index 260dd60f23..f0276cd13b 100644 --- a/src/finiteVolume/finiteVolume/fvm/fvmDdt.H +++ b/src/finiteVolume/finiteVolume/fvm/fvmDdt.H @@ -27,7 +27,7 @@ InNamespace Foam::fvm Description - Calulate the matrix for the first temporal derivative. + Calculate the matrix for the first temporal derivative. SourceFiles fvmDdt.C diff --git a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.H index f61b85b20d..21837847f4 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.H @@ -34,7 +34,7 @@ Description scheme. The scalar limiter based on limiting the extrapolated face values - between the maximum and minumum cell and cell neighbour values and is + between the maximum and minimum cell and cell neighbour values and is applied to all components of the gradient. SourceFiles diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/CentredFitSnGrad/CentredFitSnGradData.C b/src/finiteVolume/finiteVolume/snGradSchemes/CentredFitSnGrad/CentredFitSnGradData.C index d006dd123d..c68b6ed8b6 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/CentredFitSnGrad/CentredFitSnGradData.C +++ b/src/finiteVolume/finiteVolume/snGradSchemes/CentredFitSnGrad/CentredFitSnGradData.C @@ -54,7 +54,7 @@ Foam::CentredFitSnGradData::CentredFitSnGradData coeffs_(mesh.nFaces()) { DebugInFunction - << "Contructing CentredFitSnGradData" << nl; + << "Constructing CentredFitSnGradData" << nl; calcFit(); diff --git a/src/finiteVolume/fvMatrices/solvers/isoAdvection/isoCutCell/isoCutCell.C b/src/finiteVolume/fvMatrices/solvers/isoAdvection/isoCutCell/isoCutCell.C index f2b1415032..80e10d80f6 100644 --- a/src/finiteVolume/fvMatrices/solvers/isoAdvection/isoCutCell/isoCutCell.C +++ b/src/finiteVolume/fvMatrices/solvers/isoAdvection/isoCutCell/isoCutCell.C @@ -361,7 +361,7 @@ Foam::label Foam::isoCutCell::calcSubCell cellStatus_ = 0; calcIsoFaceCentreAndArea(); - // In the rare but occuring cases where a cell is only touched at a + // In the rare but occurring cases where a cell is only touched at a // point or a line the isoFaceArea_ will have zero length and here the // cell should be treated as either completely empty or full. if (mag(isoFaceArea_) < 10*SMALL) diff --git a/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMesh.H b/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMesh.H index 5b7b61199c..3bfd009bf7 100644 --- a/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMesh.H +++ b/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMesh.H @@ -53,7 +53,7 @@ namespace simplifiedMeshes class columnFvMeshInfo { - // Private Member Funtions + // Private Member Functions //- Set the patch dictionary entries using the mesh or field files bool setPatchEntries(const Time& runTime); diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CentredFitScheme/CentredFitData.C b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CentredFitScheme/CentredFitData.C index 15da0f3fbb..5c0cecd0d0 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CentredFitScheme/CentredFitData.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CentredFitScheme/CentredFitData.C @@ -55,7 +55,7 @@ Foam::CentredFitData::CentredFitData ), coeffs_(mesh.nFaces()) { - DebugInFunction << "Contructing CentredFitData" << nl; + DebugInFunction << "Constructing CentredFitData" << nl; calcFit(); diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitData.C b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitData.C index b28ac46476..b0d8a42e76 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitData.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitData.C @@ -56,7 +56,7 @@ Foam::UpwindFitData::UpwindFitData owncoeffs_(mesh.nFaces()), neicoeffs_(mesh.nFaces()) { - DebugInFunction << "Contructing UpwindFitData" << nl; + DebugInFunction << "Constructing UpwindFitData" << nl; calcFit(); diff --git a/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H b/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H index 7c576913a1..1bf5005fac 100644 --- a/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H +++ b/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H @@ -27,7 +27,7 @@ Class Foam::pointConstraints Description - Application of (multi-)patch point contraints. + Application of (multi-)patch point constraints. Note: includes all points which are on the boundary of a patch with a constraint. It includes them (even though the constraint diff --git a/src/functionObjects/field/fieldAverage/fieldAverage.H b/src/functionObjects/field/fieldAverage/fieldAverage.H index c459722afa..522f1bf60f 100644 --- a/src/functionObjects/field/fieldAverage/fieldAverage.H +++ b/src/functionObjects/field/fieldAverage/fieldAverage.H @@ -120,7 +120,7 @@ Usage Note - To employ the \c prime2Mean option, the \c mean option must be selecetd. + To employ the \c prime2Mean option, the \c mean option must be selected. See also Foam::functionObjects::fvMeshFunctionObject diff --git a/src/functionObjects/field/fluxSummary/fluxSummary.C b/src/functionObjects/field/fluxSummary/fluxSummary.C index 41be91c136..ccc52003e9 100644 --- a/src/functionObjects/field/fluxSummary/fluxSummary.C +++ b/src/functionObjects/field/fluxSummary/fluxSummary.C @@ -85,7 +85,7 @@ Foam::word Foam::functionObjects::fluxSummary::checkFlowType const word& fieldName ) const { - // Surfaces are multipled by their area, so account for that + // Surfaces are multiplied by their area, so account for that // in the dimension checking const dimensionSet dims = (fieldDims * (isSurfaceMode() ? dimTime*dimArea : dimTime)); diff --git a/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H index f231c51ff9..5c21d1a8f5 100644 --- a/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H +++ b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H @@ -57,7 +57,7 @@ Usage \table Property | Description | Required | Default value type | type name: nearWallFields | yes | - fields | list of fields with correspoding output field names | yes | + fields | list of fields with corresponding output field names | yes | log | Log to standard output | no | yes \endtable diff --git a/src/functionObjects/forces/forces/forces.H b/src/functionObjects/forces/forces/forces.H index cbfb1e7659..eeb9150e40 100644 --- a/src/functionObjects/forces/forces/forces.H +++ b/src/functionObjects/forces/forces/forces.H @@ -216,7 +216,7 @@ protected: //- Reference pressure scalar pRef_; - //- Coordinate system used when evaluting forces/moments + //- Coordinate system used when evaluating forces/moments coordSystem::cartesian coordSys_; //- Flag to include porosity effects diff --git a/src/functionObjects/solvers/energyTransport/energyTransport.H b/src/functionObjects/solvers/energyTransport/energyTransport.H index 4d22df76bc..0e7d49a2f8 100644 --- a/src/functionObjects/solvers/energyTransport/energyTransport.H +++ b/src/functionObjects/solvers/energyTransport/energyTransport.H @@ -38,7 +38,7 @@ Description directory. - The turbulence model should be incompressible - In order to use in a incompressible multi phase a list of thermal - properties are needed. See bellow + properties are needed. See below Usage diff --git a/src/fvOptions/cellSetOption/cellSetOption.H b/src/fvOptions/cellSetOption/cellSetOption.H index e97324573c..8801c0debe 100644 --- a/src/fvOptions/cellSetOption/cellSetOption.H +++ b/src/fvOptions/cellSetOption/cellSetOption.H @@ -28,7 +28,7 @@ Class Foam::fv::cellSetOption Description - Cell-set options abtract base class. Provides a base set of controls, + Cell-set options abstract base class. Provides a base set of controls, e.g.: \verbatim type scalarExplicitSource // Source type diff --git a/src/fvOptions/sources/derived/multiphaseStabilizedTurbulence/multiphaseStabilizedTurbulence.C b/src/fvOptions/sources/derived/multiphaseStabilizedTurbulence/multiphaseStabilizedTurbulence.C index ae76698548..890a7080a3 100644 --- a/src/fvOptions/sources/derived/multiphaseStabilizedTurbulence/multiphaseStabilizedTurbulence.C +++ b/src/fvOptions/sources/derived/multiphaseStabilizedTurbulence/multiphaseStabilizedTurbulence.C @@ -153,7 +153,7 @@ void Foam::fv::multiphaseStabilizedTurbulence::addSup return; } - Log << this->name() << ": applying bouyancy production term to " + Log << this->name() << ": applying buoyancy production term to " << eqn.psi().name() << endl; // Buoyancy production in k eqn diff --git a/src/fvOptions/sources/derived/rotorDiskSource/bladeModel/bladeModel.H b/src/fvOptions/sources/derived/rotorDiskSource/bladeModel/bladeModel.H index f1ad468313..87890c368a 100644 --- a/src/fvOptions/sources/derived/rotorDiskSource/bladeModel/bladeModel.H +++ b/src/fvOptions/sources/derived/rotorDiskSource/bladeModel/bladeModel.H @@ -91,7 +91,7 @@ protected: // Protected Member Functions - //- Return ture if file name is set + //- Return true if file name is set bool readFromFile() const; //- Return the interpolation indices and gradient diff --git a/src/fvOptions/sources/derived/rotorDiskSource/profileModel/profileModel.H b/src/fvOptions/sources/derived/rotorDiskSource/profileModel/profileModel.H index 59a7a49d21..07a09215df 100644 --- a/src/fvOptions/sources/derived/rotorDiskSource/profileModel/profileModel.H +++ b/src/fvOptions/sources/derived/rotorDiskSource/profileModel/profileModel.H @@ -68,7 +68,7 @@ protected: // Protected Member Functions - //- Return ture if file name is set + //- Return true if file name is set bool readFromFile() const; diff --git a/src/fvOptions/sources/derived/rotorDiskSource/profileModel/series/seriesProfile.H b/src/fvOptions/sources/derived/rotorDiskSource/profileModel/series/seriesProfile.H index cc80193823..88ea462dd8 100644 --- a/src/fvOptions/sources/derived/rotorDiskSource/profileModel/series/seriesProfile.H +++ b/src/fvOptions/sources/derived/rotorDiskSource/profileModel/series/seriesProfile.H @@ -35,8 +35,8 @@ Description where: AOA = angle of attack [deg] converted to [rad] internally - Cd = drag coefficent - Cl = lift coefficent + Cd = drag coefficient + Cl = lift coefficient Input in two (arbitrary length) lists: diff --git a/src/lagrangian/basic/injectedParticle/injectedParticle.H b/src/lagrangian/basic/injectedParticle/injectedParticle.H index 255450bbb1..eef8c31c20 100644 --- a/src/lagrangian/basic/injectedParticle/injectedParticle.H +++ b/src/lagrangian/basic/injectedParticle/injectedParticle.H @@ -27,7 +27,7 @@ Class Foam::injectedParticle Description - Primarly stores particle properties so that it can be injected at a later + Primarily stores particle properties so that it can be injected at a later time. Note that this stores its own local position as opposed to the base particle class barycentric coordinates since the particle is not (usually) attached to a mesh, and instead used for post-processing. diff --git a/src/lagrangian/intermediate/clouds/Templates/ReactingHeterogeneousCloud/ReactingHeterogeneousCloud.C b/src/lagrangian/intermediate/clouds/Templates/ReactingHeterogeneousCloud/ReactingHeterogeneousCloud.C index be1a0e2d88..d8800ea264 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ReactingHeterogeneousCloud/ReactingHeterogeneousCloud.C +++ b/src/lagrangian/intermediate/clouds/Templates/ReactingHeterogeneousCloud/ReactingHeterogeneousCloud.C @@ -127,7 +127,7 @@ void Foam::ReactingHeterogeneousCloud::setParcelThermoProperties CloudType::setParcelThermoProperties(parcel, lagrangianDt); label idS = this->composition().idSolid(); - // Set inital particle composition. Overwrite thermoProperties from + // Set initial particle composition. Overwrite thermoProperties from // ReactingCloud parcel.Y() = this->composition().Y0(idS); diff --git a/src/lagrangian/intermediate/conversion/vtk/foamVtkLagrangianWriter.H b/src/lagrangian/intermediate/conversion/vtk/foamVtkLagrangianWriter.H index 3bd98202d8..70650b9be1 100644 --- a/src/lagrangian/intermediate/conversion/vtk/foamVtkLagrangianWriter.H +++ b/src/lagrangian/intermediate/conversion/vtk/foamVtkLagrangianWriter.H @@ -37,7 +37,7 @@ Description Note If fields should be CellData instead of PointData (default), this - must be decided at contruction time. + must be decided at construction time. SourceFiles lagrangianWriter.C @@ -80,7 +80,7 @@ class lagrangianWriter //- The cloud name const word cloudName_; - //- The numer of field points for the current Piece + //- The number of field points for the current Piece label numberOfPoints_; //- Write as CellData (verts) instead of as PointData. diff --git a/src/lagrangian/intermediate/integrationScheme/integrationScheme/integrationScheme.H b/src/lagrangian/intermediate/integrationScheme/integrationScheme/integrationScheme.H index 56e5039dc8..ff790e8913 100644 --- a/src/lagrangian/intermediate/integrationScheme/integrationScheme/integrationScheme.H +++ b/src/lagrangian/intermediate/integrationScheme/integrationScheme/integrationScheme.H @@ -35,7 +35,7 @@ Description \f] The methods are defined in terms of the effective time-step \f$\Delta - t_e\f$ by which the explicit rate is multipled. The effective time-step is + t_e\f$ by which the explicit rate is multiplied. The effective time-step is a function of the actual time step and the implicit coefficient, which must be implemented in each derived scheme. @@ -49,7 +49,7 @@ Description This class also facilitates integration in stages. If the explicit and implicit coefficients, \f$A\f$ and \f$B\f$, are a summation of differing contributions, \f$\sum \alpha_i\f$ and \f$\sum \beta_i\f$, then the - integration can be split up to detemine the effect of each contribution. + integration can be split up to determine the effect of each contribution. \f[ \frac{d \phi_i}{d t} = \alpha_i - \beta_i \phi diff --git a/src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcel.C b/src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcel.C index dc1e1f077e..03a05c6630 100644 --- a/src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcel.C +++ b/src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcel.C @@ -399,9 +399,9 @@ bool Foam::KinematicParcel::hitPatch } else { - // This does not take into account the wall interation model + // This does not take into account the wall interaction model // Just the polyPatch type. Then, a patch type which has 'rebound' - // interation model will count as escaped parcel while it is not + // interaction model will count as escaped parcel while it is not if (!isA(pp) && !polyPatch::constraintType(pp.type())) { cloud.patchInteraction().addToEscapedParcels(nParticle_*mass()); diff --git a/src/lagrangian/intermediate/submodels/Reacting/CompositionModel/SingleMixtureFraction/SingleMixtureFraction.C b/src/lagrangian/intermediate/submodels/Reacting/CompositionModel/SingleMixtureFraction/SingleMixtureFraction.C index 548ee2627d..02042d389d 100644 --- a/src/lagrangian/intermediate/submodels/Reacting/CompositionModel/SingleMixtureFraction/SingleMixtureFraction.C +++ b/src/lagrangian/intermediate/submodels/Reacting/CompositionModel/SingleMixtureFraction/SingleMixtureFraction.C @@ -102,7 +102,7 @@ Foam::SingleMixtureFraction::SingleMixtureFraction if (this->phaseProps().size() != 3) { FatalErrorInFunction - << "Incorrect numebr of phases: " << nl + << "Incorrect number of phases:" << nl << " Please specify 1 gas, 1 liquid and 1 solid" << exit(FatalError); } diff --git a/src/lumpedPointMotion/state/lumpedPointStateWriter.C b/src/lumpedPointMotion/state/lumpedPointStateWriter.C index d9afa952f4..5e49598748 100644 --- a/src/lumpedPointMotion/state/lumpedPointStateWriter.C +++ b/src/lumpedPointMotion/state/lumpedPointStateWriter.C @@ -306,7 +306,7 @@ void Foam::lumpedPointState::writeVTP // Finally // could add a 'ghost' level above to visualize extrapolated values - // draw as two triangles to distingush from real levels ... + // draw as two triangles to distinguish from real levels ... format().endTag(vtk::fileTag::POLY_DATA) .endVTKFile(); diff --git a/src/mesh/blockMesh/blockFaces/projectFace/projectFace.H b/src/mesh/blockMesh/blockFaces/projectFace/projectFace.H index 28e2515a29..dd6adc3210 100644 --- a/src/mesh/blockMesh/blockFaces/projectFace/projectFace.H +++ b/src/mesh/blockMesh/blockFaces/projectFace/projectFace.H @@ -73,7 +73,7 @@ class projectFace //- Convert i,j to single index static label index(const labelPair& n, const labelPair& coord); - //- Calulate lambdas (but unnormalised) + //- Calculate lambdas (but unnormalised) void calcLambdas ( const labelPair& n, diff --git a/src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C b/src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C index 1f72302495..15d23219bf 100644 --- a/src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C +++ b/src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C @@ -108,7 +108,7 @@ Pair faceMap } FatalErrorInFunction - << "Cannot find point correspondance for faces " + << "Cannot find point correspondence for faces " << faceP << " and " << faceN << exit(FatalError); diff --git a/src/mesh/snappyHexMesh/meshRefinement/meshRefinementProblemCells.C b/src/mesh/snappyHexMesh/meshRefinement/meshRefinementProblemCells.C index c1c37e2317..459dc9a81d 100644 --- a/src/mesh/snappyHexMesh/meshRefinement/meshRefinementProblemCells.C +++ b/src/mesh/snappyHexMesh/meshRefinement/meshRefinementProblemCells.C @@ -955,7 +955,7 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells // Because of isCollapsedFace one side can decide not to baffle whereas - // the other side does so sync. Baffling is prefered over not baffling. + // the other side does so sync. Baffling is preferred over not baffling. if (checkCollapse) // Or always? { syncTools::syncFaceList diff --git a/src/mesh/snappyHexMesh/shellSurfaces/shellSurfaces.C b/src/mesh/snappyHexMesh/shellSurfaces/shellSurfaces.C index 74717c7d1f..43d478df7e 100644 --- a/src/mesh/snappyHexMesh/shellSurfaces/shellSurfaces.C +++ b/src/mesh/snappyHexMesh/shellSurfaces/shellSurfaces.C @@ -585,7 +585,7 @@ Foam::shellSurfaces::shellSurfaces allGeometry_(allGeometry), dryRun_(dryRun) { - // Wilcard specification : loop over all surfaces and try to find a match. + // Wildcard specification : loop over all surfaces and try to find a match. // Count number of shells. label shellI = 0; diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C index 5f59b0ab2c..386e4d42e0 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C @@ -670,8 +670,8 @@ void Foam::snappyLayerDriver::handleNonManifolds // 4. Check for extrusion of baffles i.e. all edges of a face having the // same two neighbouring faces (one of which is the current face). // Note: this is detected locally already before - this test is for the - // extremely rare occurence where the baffle faces are on different - // processors. + // extremely rare occurrence where the baffle faces are on + // different processors. { label nBaffleFaces = 0; @@ -927,7 +927,7 @@ void Foam::snappyLayerDriver::handleWarpedFaces } -//// No extrusion on cells with multiple patch faces. There ususally is a reason +//// No extrusion on cells with multiple patch faces. There usually is a reason //// why combinePatchFaces hasn't succeeded. //void Foam::snappyLayerDriver::handleMultiplePatchFaces //( @@ -2223,7 +2223,7 @@ Foam::label Foam::snappyLayerDriver::truncateDisplacement // ~~~~~~~~~ // Make sure that a string of edges becomes a single face so - // not a butterfly. Occassionally an 'edge' will have a single dangling + // not a butterfly. Occasionally an 'edge' will have a single dangling // vertex due to face combining. These get extruded as a single face // (with a dangling vertex) so make sure this extrusion forms a single // shape. diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriverFeature.C b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriverFeature.C index 33d22fcce9..db07a6bbe0 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriverFeature.C +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriverFeature.C @@ -4246,7 +4246,7 @@ Foam::vectorField Foam::snappySnapDriver::calcNearestSurfaceFeature pp.meshPoints(), patchDisp, minMagSqrEqOp(), // combine op - vector(GREAT, GREAT, GREAT) // null value (note: cant use VGREAT) + vector(GREAT, GREAT, GREAT) // null value (note: cannot use VGREAT) ); return patchDisp; diff --git a/src/meshTools/AABBTree/AABBTree.H b/src/meshTools/AABBTree/AABBTree.H index 363f4a0a7b..ffbf72d820 100644 --- a/src/meshTools/AABBTree/AABBTree.H +++ b/src/meshTools/AABBTree/AABBTree.H @@ -89,7 +89,7 @@ protected: //- Bounding boxes making up the tree List boundBoxes_; - //- Leaf adressing + //- Leaf addressing List addressing_; diff --git a/src/meshTools/algorithms/PatchEdgeFaceWave/PatchEdgeFaceWave.C b/src/meshTools/algorithms/PatchEdgeFaceWave/PatchEdgeFaceWave.C index 9da69e3b43..51e089c46d 100644 --- a/src/meshTools/algorithms/PatchEdgeFaceWave/PatchEdgeFaceWave.C +++ b/src/meshTools/algorithms/PatchEdgeFaceWave/PatchEdgeFaceWave.C @@ -477,7 +477,7 @@ faceToEdge() FatalErrorInFunction << "face " << facei << " not marked as having been changed" << nl - << "This might be caused by multiple occurences of the same" + << "This might be caused by multiple occurrences of the same" << " seed edge." << abort(FatalError); } @@ -542,7 +542,7 @@ edgeToFace() FatalErrorInFunction << "edge " << edgeI << " not marked as having been changed" << nl - << "This might be caused by multiple occurences of the same" + << "This might be caused by multiple occurrences of the same" << " seed edge." << abort(FatalError); } diff --git a/src/meshTools/algorithms/PointEdgeWave/PointEdgeWave.C b/src/meshTools/algorithms/PointEdgeWave/PointEdgeWave.C index 113d33d706..a37b8ad542 100644 --- a/src/meshTools/algorithms/PointEdgeWave/PointEdgeWave.C +++ b/src/meshTools/algorithms/PointEdgeWave/PointEdgeWave.C @@ -777,7 +777,7 @@ Foam::label Foam::PointEdgeWave::edgeToPoint() FatalErrorInFunction << "edge " << edgeI << " not marked as having been changed" << nl - << "This might be caused by multiple occurences of the same" + << "This might be caused by multiple occurrences of the same" << " seed point." << abort(FatalError); } @@ -855,7 +855,7 @@ Foam::label Foam::PointEdgeWave::pointToEdge() FatalErrorInFunction << "Point " << pointi << " not marked as having been changed" << nl - << "This might be caused by multiple occurences of the same" + << "This might be caused by multiple occurrences of the same" << " seed point." << abort(FatalError); } diff --git a/src/meshTools/meshSearch/meshSearch.C b/src/meshTools/meshSearch/meshSearch.C index 64c987905e..7a41644d87 100644 --- a/src/meshTools/meshSearch/meshSearch.C +++ b/src/meshTools/meshSearch/meshSearch.C @@ -268,7 +268,7 @@ Foam::label Foam::meshSearch::findNearestFaceTree(const point& location) const if (!info.hit()) { - // Search with desparate span + // Search with desperate span info = tree.findNearest(location, Foam::sqr(GREAT)); } diff --git a/src/meshTools/output/foamVtkIndPatchWriter.H b/src/meshTools/output/foamVtkIndPatchWriter.H index d8e4e4cf6a..6707a90513 100644 --- a/src/meshTools/output/foamVtkIndPatchWriter.H +++ b/src/meshTools/output/foamVtkIndPatchWriter.H @@ -72,10 +72,10 @@ class indirectPatchWriter //- Reference to the faces as an indirect patch const indirectPrimitivePatch& pp_; - //- The numer of field points for the current Piece + //- The number of field points for the current Piece label numberOfPoints_; - //- The numer of field cells (faces) for the current Piece + //- The number of field cells (faces) for the current Piece label numberOfCells_; //- Local number of points @@ -90,7 +90,7 @@ class indirectPatchWriter // Private Member Functions - //- Determing sizes (nLocalPoints_, nLocalFaces_, nLocalVerts_), + //- Determine sizes (nLocalPoints_, nLocalFaces_, nLocalVerts_), //- and begin piece void beginPiece(); diff --git a/src/meshTools/polyMeshZipUpCells/polyMeshZipUpCells.C b/src/meshTools/polyMeshZipUpCells/polyMeshZipUpCells.C index b37b121f80..3adfe350b2 100644 --- a/src/meshTools/polyMeshZipUpCells/polyMeshZipUpCells.C +++ b/src/meshTools/polyMeshZipUpCells/polyMeshZipUpCells.C @@ -551,7 +551,7 @@ bool Foam::polyMeshZipUpCells(polyMesh& mesh) if (faceChanges) { nChangedFacesInMesh++; - // In order to avoid loosing point from multiple + // In order to avoid losing point from multiple // insertions into the same face, the new face // will be change incrementally. // 1) Check if all the internal points of the edge diff --git a/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.C b/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.C index 15fe12e04c..e84e0196c3 100644 --- a/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.C +++ b/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.C @@ -308,7 +308,7 @@ Foam::intersectedSurface::calcPointEdgeAddressing << points[e.end()] << nl; } - Pout<< " Constructed point-edge adressing:" << nl; + Pout<< " Constructed point-edge addressing:" << nl; forAllConstIters(facePointEdges, iter) { Pout<< " vertex " << iter.key() << " is connected to edges " diff --git a/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.H b/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.H index 580f1527c5..5eb55f2cb1 100644 --- a/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.H +++ b/src/meshTools/triSurface/booleanOps/intersectedSurface/intersectedSurface.H @@ -108,7 +108,7 @@ private: // Static Member Functions - //- Debug:Dump edges to stream. Mantains vertex numbering + //- Debug:Dump edges to stream. Maintains vertex numbering static void writeOBJ ( const pointField& points, @@ -116,7 +116,7 @@ private: Ostream& os ); - //- Debug:Dump selected edges to stream. Mantains vertex numbering + //- Debug:Dump selected edges to stream. Maintains vertex numbering static void writeOBJ ( const pointField& points, diff --git a/src/meshTools/triSurface/triSurfaceTools/triSurfaceTools.C b/src/meshTools/triSurface/triSurfaceTools/triSurfaceTools.C index 8de8b942c3..67b7ce45fb 100644 --- a/src/meshTools/triSurface/triSurfaceTools/triSurfaceTools.C +++ b/src/meshTools/triSurface/triSurfaceTools/triSurfaceTools.C @@ -1563,7 +1563,7 @@ Foam::triSurface Foam::triSurfaceTools::collapseEdges // { // if (surf[neighbours[0]].region() != surf[neighbours[1]].region()) // { - // // Neighbours on different regions. For now dont allow + // // Neighbours on different regions. For now, do not allow // // any collapse. // //Pout<< "protecting face " << neighbours[0] // // << ' ' << neighbours[1] << endl; diff --git a/src/optimisation/adjointOptimisation/adjoint/boundaryAdjointContributions/boundaryAdjointContributionIncompressible/boundaryAdjointContributionIncompressible.H b/src/optimisation/adjointOptimisation/adjoint/boundaryAdjointContributions/boundaryAdjointContributionIncompressible/boundaryAdjointContributionIncompressible.H index d6f7ff20c4..356fcac8ac 100644 --- a/src/optimisation/adjointOptimisation/adjoint/boundaryAdjointContributions/boundaryAdjointContributionIncompressible/boundaryAdjointContributionIncompressible.H +++ b/src/optimisation/adjointOptimisation/adjoint/boundaryAdjointContributions/boundaryAdjointContributionIncompressible/boundaryAdjointContributionIncompressible.H @@ -88,10 +88,10 @@ protected: const incompressibleVars& primalVars_; - //- Note: getting a reference to the adjoint vars in the contructor of + //- Note: getting a reference to the adjoint vars in the constructor of //- boundaryAdjointContributionIncompressible is dangerous since the //- autoPtr that holds them has not been completed yet. Instead, get - //- a reference to the solver and grad the adjoint vars from there, + //- a reference to the solver and grab the adjoint vars from there, //- when necessary const incompressibleAdjointSolver& adjointSolver_; diff --git a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethoddisplacementLaplacian/displacementMethoddisplacementLaplacian.C b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethoddisplacementLaplacian/displacementMethoddisplacementLaplacian.C index 472e79dcc1..4dacfff039 100644 --- a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethoddisplacementLaplacian/displacementMethoddisplacementLaplacian.C +++ b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethoddisplacementLaplacian/displacementMethoddisplacementLaplacian.C @@ -115,7 +115,7 @@ void displacementMethoddisplacementLaplacian::setMotionField const pointVectorField& pointMovement ) { - Info<< "Reseting mesh motion fields to zero " << endl; + Info<< "Resetting mesh motion fields to zero " << endl; if (resetFields_) { diff --git a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodelasticityMotionSolver/displacementMethodelasticityMotionSolver.C b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodelasticityMotionSolver/displacementMethodelasticityMotionSolver.C index b1b780a5a3..8c9f4fe6d8 100644 --- a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodelasticityMotionSolver/displacementMethodelasticityMotionSolver.C +++ b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodelasticityMotionSolver/displacementMethodelasticityMotionSolver.C @@ -115,7 +115,7 @@ void displacementMethodelasticityMotionSolver::setMotionField // Update the boundary conditions of the pointField in order to make // sure that the boundary will move according to the initial BCs - // without the interferance of the volPointInterpolation in the elasticityMotionSolver + // without the interference of the volPointInterpolation in the elasticityMotionSolver for (label patchI : patchIDs_) { // Set boundary field. Needed for the motionSolver class diff --git a/src/optimisation/adjointOptimisation/adjoint/dynamicMesh/motionSolver/elasticityMotionSolver/elasticityMotionSolver.H b/src/optimisation/adjointOptimisation/adjoint/dynamicMesh/motionSolver/elasticityMotionSolver/elasticityMotionSolver.H index bd82107e46..f6c2f0dc05 100644 --- a/src/optimisation/adjointOptimisation/adjoint/dynamicMesh/motionSolver/elasticityMotionSolver/elasticityMotionSolver.H +++ b/src/optimisation/adjointOptimisation/adjoint/dynamicMesh/motionSolver/elasticityMotionSolver/elasticityMotionSolver.H @@ -90,7 +90,7 @@ protected: //- Exponent to stiffen highly morphed cells scalar exponent_; - //- Intermidiate steps to solve the PDEs + //- Intermediate steps to solve the PDEs label nSteps_; //- Number of laplacian iterations per solution step @@ -102,7 +102,7 @@ protected: // Protected Member Functions - //- Set boundary condtions of cellMotionU based on pointMotionU. + //- Set boundary conditions of cellMotionU based on pointMotionU. // Avoiding the use of the cellMotionFvPatchField bc // due to the use of the registry in order to grab pointMotionU, which // may give problems if multiple objects of this class are constructed diff --git a/src/optimisation/adjointOptimisation/adjoint/dynamicMesh/motionSolver/laplacianMotionSolver/laplacianMotionSolver.H b/src/optimisation/adjointOptimisation/adjoint/dynamicMesh/motionSolver/laplacianMotionSolver/laplacianMotionSolver.H index 8c80f6a13e..f2cf0471d1 100644 --- a/src/optimisation/adjointOptimisation/adjoint/dynamicMesh/motionSolver/laplacianMotionSolver/laplacianMotionSolver.H +++ b/src/optimisation/adjointOptimisation/adjoint/dynamicMesh/motionSolver/laplacianMotionSolver/laplacianMotionSolver.H @@ -89,7 +89,7 @@ protected: // Protected Member Functions - //- Set boundary condtions of cellMotionU based on pointMotionU. + //- Set boundary conditions of cellMotionU based on pointMotionU. // Avoiding the use of the cellMotionFvPatchField bc // due to the use of the registry in order to grab pointMotionU, which // may give problems if multiple objects of this class are constructed diff --git a/src/optimisation/adjointOptimisation/adjoint/interpolation/pointVolInterpolation/pointVolInterpolation.C b/src/optimisation/adjointOptimisation/adjoint/interpolation/pointVolInterpolation/pointVolInterpolation.C index 9627df17da..8ec4bffe3c 100644 --- a/src/optimisation/adjointOptimisation/adjoint/interpolation/pointVolInterpolation/pointVolInterpolation.C +++ b/src/optimisation/adjointOptimisation/adjoint/interpolation/pointVolInterpolation/pointVolInterpolation.C @@ -127,14 +127,14 @@ void Foam::pointVolInterpolation::makeWeights() const } -// Do what is neccessary if the mesh has changed topology +// Do what is necessary if the mesh has changed topology void Foam::pointVolInterpolation::clearAddressing() const { deleteDemandDrivenData(patchInterpolatorsPtr_); } -// Do what is neccessary if the mesh has moved +// Do what is necessary if the mesh has moved void Foam::pointVolInterpolation::clearGeom() const { deleteDemandDrivenData(volWeightsPtr_); @@ -205,7 +205,7 @@ Foam::pointVolInterpolation::volWeights() const } -// Do what is neccessary if the mesh has moved +// Do what is necessary if the mesh has moved void Foam::pointVolInterpolation::updateTopology() { clearAddressing(); @@ -213,7 +213,7 @@ void Foam::pointVolInterpolation::updateTopology() } -// Do what is neccessary if the mesh has moved +// Do what is necessary if the mesh has moved bool Foam::pointVolInterpolation::movePoints() { clearGeom(); diff --git a/src/optimisation/adjointOptimisation/adjoint/interpolation/pointVolInterpolation/pointVolInterpolation.H b/src/optimisation/adjointOptimisation/adjoint/interpolation/pointVolInterpolation/pointVolInterpolation.H index 55a56e6063..642b3062e1 100644 --- a/src/optimisation/adjointOptimisation/adjoint/interpolation/pointVolInterpolation/pointVolInterpolation.H +++ b/src/optimisation/adjointOptimisation/adjoint/interpolation/pointVolInterpolation/pointVolInterpolation.H @@ -124,7 +124,7 @@ public: // Access //- Return reference to weights arrays. - // This also constructs the weighting factors if neccessary. + // This also constructs the weighting factors if necessary. const FieldField& volWeights() const; diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/SIBase/SIBaseIncompressible.H b/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/SIBase/SIBaseIncompressible.H index c4a91aabdc..25de490626 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/SIBase/SIBaseIncompressible.H +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/SIBase/SIBaseIncompressible.H @@ -76,7 +76,7 @@ protected: bool includeObjective_; - // Protected Member Fuctions + // Protected Member Functions //- Read options from dict void read(); diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/sensitivitySurface/sensitivitySurfaceIncompressible.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/sensitivitySurface/sensitivitySurfaceIncompressible.C index 9e384a5028..b49a8c0186 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/sensitivitySurface/sensitivitySurfaceIncompressible.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/sensitivitySurface/sensitivitySurfaceIncompressible.C @@ -91,7 +91,7 @@ void sensitivitySurface::addGeometricSens() functions[funcI].weight() *functions[funcI].dndbMultiplier(patchI); } - // Correspondance of local point addressing to global point + // Correspondence of local point addressing to global point // addressing const labelList& meshPoints = patch.patch().meshPoints(); // List with mesh faces. Global addressing @@ -414,7 +414,7 @@ void sensitivitySurface::accumulateIntegrand(const scalar dt) autoPtr& adjointTurbulence = adjointVars_.adjointTurbulence(); - Info<< " Calculating auxilary quantities " << endl; + Info<< " Calculating auxiliary quantities " << endl; // Fields needed to calculate adjoint sensitivities const autoPtr& turbVars = primalVars_.RASModelVariables(); @@ -549,7 +549,7 @@ void sensitivitySurface::accumulateIntegrand(const scalar dt) { // Terms corresponding to contributions from converting delta to // thetas are added through the corresponding adjoint boundary - // conditions instead of grabing contributions from the objective + // conditions instead of grabbing contributions from the objective // function. Useful to have a unified formulation for low- and // high-re meshes const fvPatchVectorField& Uab = Ua.boundaryField()[patchI]; diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/sensitivityVolBSplines/sensitivityVolBSplinesIncompressible.H b/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/sensitivityVolBSplines/sensitivityVolBSplinesIncompressible.H index c55abad36a..c42dd72eb0 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/sensitivityVolBSplines/sensitivityVolBSplinesIncompressible.H +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/sensitivityVolBSplines/sensitivityVolBSplinesIncompressible.H @@ -75,7 +75,7 @@ protected: //- Term depending on delta (n)/delta b vectorField dndbSens_; - //- Term dependng on dxdb for objective funtions directly depending + //- Term depending on dxdb for objective functions directly depending //- on x vectorField dxdbDirectSens_; diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/lineSearch/lineSearch.H b/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/lineSearch/lineSearch.H index 3b0c23e233..0904559bd8 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/lineSearch/lineSearch.H +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/lineSearch/lineSearch.H @@ -98,7 +98,7 @@ protected: //- Whether to extrapolate the correction multiplier for //- this optimisation cycle based on the previous ones. - // Usefull for non-quasi Newton methods + // Useful for non-quasi Newton methods bool extrapolateInitialStep_; //- Mechanism to update method if line search conditions are not set diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/stepUpdate/quadratic/quadratic.H b/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/stepUpdate/quadratic/quadratic.H index 0e2e07c767..fd857ab669 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/stepUpdate/quadratic/quadratic.H +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/stepUpdate/quadratic/quadratic.H @@ -30,7 +30,7 @@ Class Foam::quadratic Description - Fits a quadratic polynomial of the merit function as a fuction of step + Fits a quadratic polynomial of the merit function as a function of step and finds the "optimal" value SourceFiles diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovement/optMeshMovement.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovement/optMeshMovement.C index e217065b30..fbbb02b01b 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovement/optMeshMovement.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovement/optMeshMovement.C @@ -187,7 +187,7 @@ void Foam::optMeshMovement::storeDesignVariables() void Foam::optMeshMovement::resetDesignVariables() { - Info<< "optMeshMovement:: reseting mesh points" << endl; + Info<< "optMeshMovement:: resetting mesh points" << endl; mesh_.movePoints(pointsInit_); } diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplines/optMeshMovementVolumetricBSplines.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplines/optMeshMovementVolumetricBSplines.C index 5da8a63bf5..0a494c137e 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplines/optMeshMovementVolumetricBSplines.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplines/optMeshMovementVolumetricBSplines.C @@ -128,7 +128,7 @@ void Foam::optMeshMovementVolumetricBSplines::resetDesignVariables() optMeshMovement::resetDesignVariables(); DebugInfo - << "optMeshMovementVolumetricBSplines:: reseting control points" + << "optMeshMovementVolumetricBSplines:: resetting control points" << endl; PtrList& boxes = volBSplinesBase_.boxesRef(); diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplines/optMeshMovementVolumetricBSplines.H b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplines/optMeshMovementVolumetricBSplines.H index d2e0bead43..5c39b97d7f 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplines/optMeshMovementVolumetricBSplines.H +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplines/optMeshMovementVolumetricBSplines.H @@ -67,7 +67,7 @@ protected: List cpsInit_; - // Protected Fuctions + // Protected Member Functions vectorField controlPointMovement(const scalarField& correction); diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/updateMethod/SQP/SQP.H b/src/optimisation/adjointOptimisation/adjoint/optimisation/updateMethod/SQP/SQP.H index 6e2e87ab9f..191770765c 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/updateMethod/SQP/SQP.H +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/updateMethod/SQP/SQP.H @@ -173,7 +173,7 @@ public: //- line search virtual void updateOldCorrection(const scalarField& oldCorrection); - //- Write usefull quantities to files + //- Write useful quantities to files virtual void write(); }; diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/updateMethod/updateMethod/updateMethod.H b/src/optimisation/adjointOptimisation/adjoint/optimisation/updateMethod/updateMethod/updateMethod.H index 563490f36c..0cec839afd 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/updateMethod/updateMethod/updateMethod.H +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/updateMethod/updateMethod/updateMethod.H @@ -236,7 +236,7 @@ public: //- line search virtual void updateOldCorrection(const scalarField& oldCorrection); - //- Write usefull quantities to files + //- Write useful quantities to files virtual void write(); }; diff --git a/src/optimisation/adjointOptimisation/adjoint/parameterization/Bezier/Bezier.C b/src/optimisation/adjointOptimisation/adjoint/parameterization/Bezier/Bezier.C index 0a3423a664..19eb3db58e 100644 --- a/src/optimisation/adjointOptimisation/adjoint/parameterization/Bezier/Bezier.C +++ b/src/optimisation/adjointOptimisation/adjoint/parameterization/Bezier/Bezier.C @@ -174,7 +174,7 @@ tmp Bezier::dndbBasedSensitivities auto tdndbSens = tmp::New(patch.size(), Zero); auto& dndbSens = tdndbSens.ref(); - // Auxilary quantities + // Auxiliary quantities deltaBoundary deltaBoundary(mesh_); const label patchStart = ppatch.start(); const tensorField& dxdbInt = dxidXj_[cpI].primitiveField(); @@ -231,7 +231,7 @@ tmp Bezier::dndbBasedSensitivities auto tdndbSens = tmp::New(patch.size(), Zero); auto& dndbSens = tdndbSens.ref(); - // Auxilary quantities + // Auxiliary quantities deltaBoundary deltaBoundary(mesh_); const label patchStart = ppatch.start(); const tensorField& dxdbInt = dxidXj_[cpI].primitiveField(); @@ -291,7 +291,7 @@ tmp Bezier::dxdbFace auto& dxdbFace = tdxdbFace.ref(); if (useChainRule) { - // Auxilary quantities + // Auxiliary quantities deltaBoundary deltaBoundary(mesh_); const label patchStart = patch.start(); const tensorField& dxdbInt = dxidXj_[cpI].primitiveField(); @@ -345,7 +345,7 @@ tmp Bezier::dxdbFace if (useChainRule) { - // Auxilary quantities + // Auxiliary quantities deltaBoundary deltaBoundary(mesh_); const label patchStart = patch.start(); const tensorField& dxdbInt = dxidXj_[cpI].primitiveField(); diff --git a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DCurve/NURBS3DCurve.C b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DCurve/NURBS3DCurve.C index d608f6ccd9..5a20181821 100644 --- a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DCurve/NURBS3DCurve.C +++ b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DCurve/NURBS3DCurve.C @@ -225,7 +225,7 @@ NURBS3DCurve::NURBS3DCurve givenInitNrm_(Zero), - nrmOrientation_(ALLIGNED) + nrmOrientation_(ALIGNED) { buildCurve(); @@ -250,7 +250,7 @@ NURBS3DCurve::NURBS3DCurve givenInitNrm_(Zero), - nrmOrientation_(ALLIGNED) + nrmOrientation_(ALIGNED) { setUniformU(); @@ -300,7 +300,7 @@ void NURBS3DCurve::setNrm3DOrientation if ((givenNrm & curveNrm) >= scalar(0)) { - nrmOrientation_ = ALLIGNED; + nrmOrientation_ = ALIGNED; } else { @@ -330,7 +330,7 @@ void NURBS3DCurve::setNrm2DOrientation if ((givenNrm & curveNrm) >= scalar(0)) { - nrmOrientation_ = ALLIGNED; + nrmOrientation_ = ALIGNED; } else { @@ -345,13 +345,13 @@ void NURBS3DCurve::setNrm2DOrientation void NURBS3DCurve::flipNrmOrientation() { - if (nrmOrientation_ == ALLIGNED) + if (nrmOrientation_ == ALIGNED) { nrmOrientation_ = OPPOSED; } else { - nrmOrientation_ = ALLIGNED; + nrmOrientation_ = ALIGNED; } } @@ -613,7 +613,7 @@ const vector NURBS3DCurve::nrm3D(const vector& refTan, const scalar u) const { vector curveNrm(Zero); - if (nrmOrientation_ == ALLIGNED) + if (nrmOrientation_ == ALIGNED) { curveNrm = curveDerivativeU(u) ^ refTan; } diff --git a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DCurve/NURBS3DCurve.H b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DCurve/NURBS3DCurve.H index b1e59d3274..e6a8c60f99 100644 --- a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DCurve/NURBS3DCurve.H +++ b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DCurve/NURBS3DCurve.H @@ -57,11 +57,11 @@ class NURBS3DCurve : public vectorField { - // Private data + // Private Data enum nrmOrientation { - ALLIGNED = 1, + ALIGNED = 1, OPPOSED = -1 }; diff --git a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DSurface/NURBS3DSurface.C b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DSurface/NURBS3DSurface.C index f1fe2a0165..30120c035e 100644 --- a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DSurface/NURBS3DSurface.C +++ b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DSurface/NURBS3DSurface.C @@ -331,7 +331,7 @@ NURBS3DSurface::NURBS3DSurface CPsUCPIs_(0), CPsVCPIs_(0), - nrmOrientation_(ALLIGNED), + nrmOrientation_(ALIGNED), boundaryCPIDs_(nullptr) { @@ -369,7 +369,7 @@ NURBS3DSurface::NURBS3DSurface CPsUCPIs_(0), CPsVCPIs_(0), - nrmOrientation_(ALLIGNED), + nrmOrientation_(ALIGNED), boundaryCPIDs_(nullptr) { @@ -408,7 +408,7 @@ NURBS3DSurface::NURBS3DSurface CPsUCPIs_(0), CPsVCPIs_(0), - nrmOrientation_(ALLIGNED), + nrmOrientation_(ALIGNED), boundaryCPIDs_(nullptr) { @@ -458,7 +458,7 @@ NURBS3DSurface::NURBS3DSurface CPsUCPIs_(0), CPsVCPIs_(0), - nrmOrientation_(ALLIGNED), + nrmOrientation_(ALIGNED), boundaryCPIDs_(nullptr) { @@ -507,7 +507,7 @@ NURBS3DSurface::NURBS3DSurface CPsUCPIs_(0), CPsVCPIs_(0), - nrmOrientation_(ALLIGNED), + nrmOrientation_(ALIGNED), boundaryCPIDs_(nullptr) { @@ -559,7 +559,7 @@ NURBS3DSurface::NURBS3DSurface CPsUCPIs_(0), CPsVCPIs_(0), - nrmOrientation_(ALLIGNED), + nrmOrientation_(ALIGNED), boundaryCPIDs_(nullptr) { @@ -597,7 +597,7 @@ void NURBS3DSurface::setNrmOrientation if (relation >= 0) { - nrmOrientation_ = ALLIGNED; + nrmOrientation_ = ALIGNED; } else { @@ -612,13 +612,13 @@ void NURBS3DSurface::setNrmOrientation void NURBS3DSurface::flipNrmOrientation() { - if (nrmOrientation_ == ALLIGNED) + if (nrmOrientation_ == ALIGNED) { nrmOrientation_ = OPPOSED; } else { - nrmOrientation_ = ALLIGNED; + nrmOrientation_ = ALIGNED; } } @@ -1266,7 +1266,7 @@ const vector NURBS3DSurface::nrm(scalar u, scalar v) { vector surfaceNrm(Zero); - if (nrmOrientation_ == ALLIGNED) + if (nrmOrientation_ == ALIGNED) { surfaceNrm = surfaceDerivativeU(u, v) ^ surfaceDerivativeV(u, v); } diff --git a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DSurface/NURBS3DSurface.H b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DSurface/NURBS3DSurface.H index 9a9b2d1df2..525b015d50 100644 --- a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DSurface/NURBS3DSurface.H +++ b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DSurface/NURBS3DSurface.H @@ -56,7 +56,7 @@ class NURBS3DSurface : public vectorField { - // Private data + // Private Data enum paramType { @@ -67,7 +67,7 @@ class NURBS3DSurface enum nrmOrientation { - ALLIGNED=1, + ALIGNED=1, OPPOSED=-1 }; diff --git a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/NURBS3DVolume/NURBS3DVolume.C b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/NURBS3DVolume/NURBS3DVolume.C index b903f34a8a..4a4b1858a5 100644 --- a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/NURBS3DVolume/NURBS3DVolume.C +++ b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/NURBS3DVolume/NURBS3DVolume.C @@ -169,7 +169,7 @@ void Foam::NURBS3DVolume::computeParametricCoordinates pointMesh::New(mesh_) ); - // Initialize intermidiate fields with sizes from findPointInBox + // Initialize intermediate fields with sizes from findPointInBox labelList actualMap(map.size()); // Read and store @@ -189,7 +189,7 @@ void Foam::NURBS3DVolume::computeParametricCoordinates } } - // Resize intermidiate + // Resize intermediate actualMap.setSize(curIndex); reduce(curIndex, sumOp