STYLE: some general spelling fixes

This commit is contained in:
Mark Olesen 2020-05-04 09:15:21 +02:00
parent 2a24bab057
commit 8cfb483054
234 changed files with 332 additions and 340 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.
\*---------------------------------------------------------------------------*/

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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()

View File

@ -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.
\*---------------------------------------------------------------------------*/

View File

@ -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

View File

@ -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<volScalarField> Yf
(
const word& speciesName,

View File

@ -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}

View File

@ -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

View File

@ -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

View File

@ -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&>(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
{

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.
\*---------------------------------------------------------------------------*/

View File

@ -28,7 +28,7 @@ Application
Test-Tuple2
Description
Test construction, comparision etc for Tuple2 and Pair.
Test construction, comparison etc for Tuple2 and Pair.
\*---------------------------------------------------------------------------*/

View File

@ -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;

View File

@ -163,7 +163,7 @@ int main(int argc, char *argv[])
);
}
Info<<"## initally populated ##" << nl;
Info<<"## initially populated ##" << nl;
printRegistry(Info, db);
Info<< nl;

View File

@ -83,10 +83,10 @@ int main()
printTraits(pTraits<scalar>(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;

View File

@ -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;
}

View File

@ -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();

View File

@ -940,8 +940,8 @@ int main(int argc, char *argv[])
fluentGroupToFoamPatch.insert("fan");
// Create intial empty polyMesh
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Create initial empty polyMesh
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
polyMesh mesh
(

View File

@ -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

View File

@ -566,7 +566,7 @@ void readDOFS
DynamicList<labelList>& 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]);

View File

@ -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

View File

@ -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 =

View File

@ -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,

View File

@ -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.

View File

@ -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;

View File

@ -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.

View File

@ -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++;

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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,

View File

@ -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.

View File

@ -161,7 +161,7 @@ public:
// Member Operators
//- Copy assigment
//- Copy assignment
void operator=(const DictionaryBase&);
//- Find and return entry

View File

@ -105,7 +105,7 @@ labelHashSet used(const UList<bool>& select);
//
// \return a bitset
//
// \see BitSetOps::create for other possiblities
// \see BitSetOps::create for other possibilities
bitSet bitset(const labelHashSet& locations);

View File

@ -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<class... Args>
HashTableSingle
(

View File

@ -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;

View File

@ -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;

View File

@ -397,7 +397,7 @@ List<OutputIntListType> 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<class ListType>
@ -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<class ListType>
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<class ListType, class UnaryPredicate>

View File

@ -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<class T>

View File

@ -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.

View File

@ -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);

View File

@ -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.

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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

View File

@ -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],

View File

@ -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:

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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())
{

View File

@ -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.

View File

@ -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.

View File

@ -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++;
}

View File

@ -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.

View File

@ -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<labelList&>(cells[celli]) = -1;
// Count maximum possible numer of mesh faces
// Count maximum possible number of mesh faces
maxFaces += cellsFaceShapes[celli].size();
}

View File

@ -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)
{

View File

@ -24,7 +24,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
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

View File

@ -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\<scalar\> behaves as
other shapes in the shape hierachy.
other shapes in the shape hierarchy.
SourceFiles
VectorI.H

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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;
}

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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_;

View File

@ -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:

View File

@ -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

View File

@ -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.

View File

@ -105,7 +105,7 @@ void eddyDissipationModelBase<ReactionThermo, ThermoType>::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);
}

View File

@ -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<scalar> pts0MagSqr
(
magSqr

View File

@ -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_;

View File

@ -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();

View File

@ -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_;

View File

@ -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() =

View File

@ -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

View File

@ -172,7 +172,7 @@ public:
return soluble_;
}
//- Surface tension change due to presense of surfactants
//- Surface tension change due to presence of surfactants
tmp<areaScalarField> dSigma
(
const areaScalarField& surfactConc

View File

@ -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<refinementHistory&>(meshCutter().history()).compact();
}

View File

@ -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);
}

View File

@ -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);

View File

@ -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;

View File

@ -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);

Some files were not shown because too many files have changed in this diff Show More