Skip to content

Commit

Permalink
Fix various typos
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz committed Aug 1, 2022
1 parent d0577a7 commit b32da9c
Show file tree
Hide file tree
Showing 48 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion applications/solvers/combustion/XiFoam/XiFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Description
to be appropriate by comparison with the results from the
spectral model.
Strain effects are encorporated directly into the Xi equation
Strain effects are incorporated directly into the Xi equation
but not in the algebraic approximation. Further work need to be
done on this issue, particularly regarding the enhanced removal rate
caused by flame compression. Analysis using results of the spectral
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Class
Foam::mixtureViscosityModels::Quemada
Description
Quemada viscosity model for for colloidal dispersions.
Quemada viscosity model for colloidal dispersions.
References:
\verbatim
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public:
// Member Functions

//- Return the latent heat for a given interface, mass transfer rate
// (used only for it's sign), and interface temperature
// (used only for its sign), and interface temperature
virtual tmp<volScalarField> L
(
const phaseInterface& interface,
Expand All @@ -183,7 +183,7 @@ public:
) const;

//- Return the latent heat for a given interface, specie, mass transfer
// rate (used only for it's sign), and interface temperature
// rate (used only for its sign), and interface temperature
virtual tmp<volScalarField> Li
(
const phaseInterface& interface,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public:
// Member Functions

//- Return the latent heat for a given interface, mass transfer rate
// (used only for it's sign), and interface temperature
// (used only for its sign), and interface temperature
virtual tmp<volScalarField> L
(
const phaseInterface& interface,
Expand All @@ -99,7 +99,7 @@ public:
) const = 0;

//- Return the latent heat for a given interface, specie, mass transfer
// rate (used only for it's sign), and interface temperature
// rate (used only for its sign), and interface temperature
virtual tmp<volScalarField> Li
(
const phaseInterface& interface,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ void Foam::CV2D::newPoints()
} while (++ec != ecStart);
// Initialise cd0 such that the mesh will align
// in in the x-y directions
// in the x-y directions
vector2D cd0(1, 0);
if (meshControls().relaxOrientation())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,14 @@ class CV2D

// Private Member Functions

//- Insert point and return it's index
//- Insert point and return its index
inline label insertPoint
(
const point2D& pt,
const label type
);

//- Insert point and return it's index
//- Insert point and return its index
inline label insertPoint
(
const point2D& pt,
Expand Down Expand Up @@ -288,7 +288,7 @@ class CV2D
);

//- Insert point-pair at the best intersection point between the lines
// from the dual-cell real centroid and it's vertices and the surface.
// from the dual-cell real centroid and its vertices and the surface.
bool insertPointPairAtIntersection
(
Triangulation::Finite_vertices_iterator& vit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Foam::label Foam::CV2D::insertBoundaryConformPointPairs

// Check dimensions of dual-cell
/*
// Quick rejection of dual-cell refinement based on it's perimeter
// Quick rejection of dual-cell refinement based on its perimeter
if (perimeter < 2*meshControls().minCellSize()) continue;
// Also check the area of the cell and reject refinement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ float ComputeEdgeCollapseCost(Vertex *u,Vertex *v) {
// The method of determining cost was designed in order
// to exploit small and coplanar regions for
// effective polygon reduction.
// Is is possible to add some checks here to see if "folds"
// It is possible to add some checks here to see if "folds"
// would be generated. i.e. normal of a remaining face gets
// flipped. I never seemed to run into this problem and
// therefore never added code to detect this case.
Expand Down
2 changes: 1 addition & 1 deletion doc/Doxygen/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ <h2 id="sec-1"><span class="section-number-2">1</span> Doxygen</h2>
<h2 id="sec-2"><span class="section-number-2">2</span> Configuration</h2>
<div class="outline-text-2" id="text-2">
<p>
The Doygen configuration file, Doxyfile, in the <code>$WM_PROJECT_DIR/doc/Doxygen</code>
The Doxygen configuration file, Doxyfile, in the <code>$WM_PROJECT_DIR/doc/Doxygen</code>
directory is configured to work with Doxygen versions 1.6.3-1.8.5.
</p>

Expand Down
2 changes: 1 addition & 1 deletion doc/Doxygen/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
permission for the directory that Doxygen writes files to.

* Configuration
The Doygen configuration file, Doxyfile, in the =$WM_PROJECT_DIR/doc/Doxygen=
The Doxygen configuration file, Doxyfile, in the =$WM_PROJECT_DIR/doc/Doxygen=
directory is configured to work with Doxygen versions 1.6.3-1.8.5.

The Header, Footer, and Stylesheet are generated automatically:
Expand Down
2 changes: 1 addition & 1 deletion etc/caseDicts/annotated/foamyHexMeshDict
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ polyMeshFiltering

// Maximum number of times an to allow an equal faceSet to be
// returned from the face quality assessment before stopping iterations
// to break an infinitie loop.
// to break an infinite loop.
maxConsecutiveEqualFaceSets 5;
// Remove little steps (almost perp to surface) by collapsing face.
surfaceStepFaceAngle 80;
Expand Down
2 changes: 1 addition & 1 deletion etc/caseDicts/annotated/topoSetDict
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ set p0;
option any; // cell with any point in pointSet
// option edge; // cell with an edge with both points in pointSet
// cellSet baed on shape of cells
// cellSet based on shape of cells
source shapeToCell;
type hex; // hex/wedge/prism/pyr/tet/tetWedge/splitHex
Expand Down
2 changes: 1 addition & 1 deletion etc/thermoData/therm.dat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Contact: [email protected]
*WARNING***The original 7-coeficient polynomials can accept molecules
containing only four different elements. The new CHEMKIN program was changed to
accept polynomials with 5 different elements. See the CHEMKIN manual.
Where the fifth element exist, the new Chemkin convention was folowed.
Where the fifth element exist, the new Chemkin convention was followed.

THERMO ALL
200.000 1000.000 6000.000
Expand Down
2 changes: 1 addition & 1 deletion etc/thermoData/thermoData
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Contact: [email protected]
*WARNING***The original 7-coeficient polynomials can accept molecules
containing only four different elements. The new CHEMKIN program was changed to
accept polynomials with 5 different elements. See the CHEMKIN manual.
Where the fifth element exist, the new Chemkin convention was folowed.
Where the fifth element exist, the new Chemkin convention was followed.

This file was generated from therm.dat provided in this directory.
Specie names have been transposed into a form supported by the OpenFOAM parser:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

} // End namespace RASModels
} // Edn namespace incompressible
} // End namespace incompressible
} // End namespace Foam

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private:
//- first_ points to first element and last_ points to last element.
link *first_, *last_;

//- Number of elements in in list
//- Number of elements in list
label nElmts_;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private:
// last_->next_ points to first element, i.e. circular storage
link* last_;

//- Number of elements in in list
//- Number of elements in list
label nElmts_;


Expand Down
2 changes: 1 addition & 1 deletion src/OpenFOAM/db/error/messageStream.H
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Description
Class to handle messaging in a simple, consistent stream-based
manner.
The messageStream class is globaly instantiated with a title string a
The messageStream class is globally instantiated with a title string a
given severity, which controls the program termination, and a number of
errors before termination. Errors, messages and other data are piped to
the messageStream class in the standard manner.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ inline void Foam::pointConstraint::combine(const pointConstraint& pc)
{
// Save single normal
vector n = second();
// Apply to supplied point constaint
// Apply to supplied point constraint
operator=(pc);
applyConstraint(n);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2521,7 +2521,7 @@ Foam::autoPtr<Foam::globalIndex> Foam::globalMeshData::mergePoints
// Send back
pointSlavesMap.reverseDistribute(cpp.nPoints(), masterToGlobal);

// On slave copy master index into overal map.
// On slave copy master index into overall map.
forAll(pointSlaves, pointi)
{
label meshPointi = cpp.meshPoints()[pointi];
Expand Down
2 changes: 1 addition & 1 deletion src/OpenFOAM/meshes/polyMesh/polyMesh.H
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public:
fileName meshDir() const;

//- Return the current instance directory for points
// Used in the construction of gemometric mesh data dependent
// Used in the construction of geometric mesh data dependent
// on points
const fileName& pointsInstance() const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,25 +358,25 @@ bool Foam::coupledPolyPatch::order
if (pp.size() != ownerNFaces)
{
SeriousErrorInFunction<< "The patch " << name() << " has "
<< pp.size() << " faces whilst it's neighbour has "
<< pp.size() << " faces whilst its neighbour has "
<< ownerNFaces << endl;
}
if (pp.nPoints() != ownerNPoints)
{
SeriousErrorInFunction<< "The patch " << name() << " has "
<< pp.nPoints() << " points whilst it's neighbour has "
<< pp.nPoints() << " points whilst its neighbour has "
<< ownerNPoints << endl;
}
if (pp.nEdges() != ownerNEdges)
{
SeriousErrorInFunction<< "The patch " << name() << " has "
<< pp.nEdges() << " edges whilst it's neighbour has "
<< pp.nEdges() << " edges whilst its neighbour has "
<< ownerNEdges << endl;
}
if (pp.nInternalEdges() != ownerNInternalEdges)
{
SeriousErrorInFunction<< "The patch " << name() << " has "
<< pp.nInternalEdges() << " internal edges whilst it's "
<< pp.nInternalEdges() << " internal edges whilst its "
<< "neighbour has " << ownerNInternalEdges << endl;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/OpenFOAM/primitives/hashes/Hasher/Hasher.C
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Description
// the public domain. It has no warranty.
//
// You probably want to use hashlittle(). hashlittle() and hashbig()
// hash byte arrays. hashlittle() is is faster than hashbig() on
// hash byte arrays. hashlittle() is faster than hashbig() on
// little-endian machines. Intel and AMD are little-endian machines.
// On second thought, you probably want hashlittle2(), which is identical to
// hashlittle() except it returns two 32-bit hashes for the price of one.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Description
<magSfN> <valueN> <qDotN> <htcN>
\endverbatim
and received as the constitutent pieces of the `mixed' condition, i.e.
and received as the constituent pieces of the `mixed' condition, i.e.
\verbatim
# Patch: <patch name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ void Foam::removePoints::getUnrefimentSet
// So now if any of the points-to-restore is used by any coupled face
// anywhere the corresponding index in faceVertexRestore will be set.

// Now combine the localPointSet and the (sychronised)
// Now combine the localPointSet and the (synchronised)
// boundary-points-to-restore.

forAll(savedFaces_, saveI)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ class DarcyForchheimer
{
// Private Data

//- Darcy coeffient XYZ components (user-supplied) [1/m^2]
//- Darcy coefficient XYZ components (user-supplied) [1/m^2]
dimensionedVector dXYZ_;

//- Forchheimer coeffient XYZ components (user-supplied) [1/m]
//- Forchheimer coefficient XYZ components (user-supplied) [1/m]
dimensionedVector fXYZ_;

//- Darcy coefficient - converted from dXYZ [1/m^2]
Expand Down
4 changes: 2 additions & 2 deletions src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ public:
//- Return patch weighting factors
const scalarField& weights() const;

//- Return the face - cell distance coeffient
//- Return the face - cell distance coefficient
// except for coupled patches for which the cell-centre
// to coupled-cell-centre distance coeffient is returned
// to coupled-cell-centre distance coefficient is returned
const scalarField& deltaCoeffs() const;


Expand Down
2 changes: 1 addition & 1 deletion src/functionObjects/field/comfort/comfort.H
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class comfort
//- Maximum number of correctors for cloth temperature
int maxClothIter_;

//- Switch to use volume weighted velocity field for caluclation
//- Switch to use volume weighted velocity field for calculation
Switch meanVelocity_;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ bool Foam::streamlinesParticle::move
{
if (lifeTime_ == 0)
{
// Failure exit. Particle stagnated or it's life ran out.
// Failure exit. Particle stagnated or its life ran out.
if (debug)
{
Pout<< "streamlinesParticle: Removing stagnant particle:"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Class
Description
Calculates the estimated flow heat transfer coefficient at wall patches
as the volScalarField field 'kappaEff' using one of equeations bellow.
as the volScalarField field 'kappaEff' using one of equations below.
kappaEff model, given by:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private:
const bPatch& patchLevel
);

//- Combine leves
//- Combine levels
void combineLevels(const label curLevel);

//- Shrink the number of levels to that specified
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ class loadBalancer
cpuTime cpuTime_;

//- Enable multi-constraint load-balancing in which separate weights
// are provided to the distrubutor for each of the CPU loads.
// are provided to the distributor for each of the CPU loads.
// When disabled the CPU loads are summed and a single weight per cell
// is provided to the distrubutor.
// is provided to the distributor.
// Defaults to true.
Switch multiConstraint_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Description
Mass-based Rosin-Rammler distributionModel.
Corrected form of the Rosin-Rammler distribution taking into account the
varying number of particles per parcel for for fixed-mass parcels. This
varying number of particles per parcel for fixed-mass parcels. This
distribution should be used when
\verbatim
parcelBasisType mass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class PairSpringSliderDashpot
// parcelEquivD = cbrt(volumeFactor*nParticles)*p.d()
// + When volumeFactor = 1, the particles are compressed
// together so that the equivalent volume of the parcel is
// the sum of the constitutent particles
// the sum of the constituent particles
// + When volumeFactor = 3*sqrt(2)/pi, the particles are
// close packed, but uncompressed.
// + When volumeFactor > 3*sqrt(2)/pi, the particles loosely
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class WallLocalSpringSliderDashpot
// parcelEquivD = cbrt(volumeFactor*nParticles)*p.d()
// + When volumeFactor = 1, the particles are compressed
// together so that the equivalent volume of the parcel is
// the sum of the constitutent particles
// the sum of the constituent particles
// + When volumeFactor = 3*sqrt(2)/pi, the particles are
// close packed, but uncompressed.
// + When volumeFactor > 3*sqrt(2)/pi, the particles loosely
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class WallSpringSliderDashpot
// parcelEquivD = cbrt(volumeFactor*nParticles)*p.d()
// + When volumeFactor = 1, the particles are compressed
// together so that the equivalent volume of the parcel is
// the sum of the constitutent particles
// the sum of the constituent particles
// + When volumeFactor = 3*sqrt(2)/pi, the particles are
// close packed, but uncompressed.
// + When volumeFactor > 3*sqrt(2)/pi, the particles loosely
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ void Foam::meshRefinement::markFeatureCellLevel
// {
// Pout<< "Feature went through cell:" << celli
// << " coord:" << mesh_.cellCentres()[celli]
// << " leve:" << maxFeatureLevel[celli]
// << " level:" << maxFeatureLevel[celli]
// << endl;
// }
// }
Expand Down
Loading

0 comments on commit b32da9c

Please sign in to comment.