Corrected spelling and typo's in comments

Resolves bug report https://bugs.openfoam.org/view.php?id=2845
This commit is contained in:
Henry Weller
2018-03-05 20:14:28 +00:00
parent e08128781e
commit 1073607cb0
152 changed files with 344 additions and 343 deletions

View File

@ -26,7 +26,7 @@ Global
Description
Reset the timestep to maintain a constant maximum courant Number.
Reduction of time-step is imediate but increase is damped to avoid
Reduction of time-step is immediate but increase is damped to avoid
unstable oscillations.
\*---------------------------------------------------------------------------*/

View File

@ -26,7 +26,7 @@ Global
Description
Reset the timestep to maintain a constant maximum courant Number.
Reduction of time-step is imediate but increase is damped to avoid
Reduction of time-step is immediate but increase is damped to avoid
unstable oscillations.
\*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -91,7 +91,7 @@ public:
// Member Functions
//- Calculate and return the wall heat-flux partioning
//- Calculate and return the wall heat-flux partitioning
virtual tmp<scalarField> fLiquid(const scalarField& alphaLiquid) const;
virtual void write(Ostream& os) const;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -92,7 +92,7 @@ public:
// Member Functions
//- Calculate and return the wall heat-flux partioning
//- Calculate and return the wall heat-flux partitioning
virtual tmp<scalarField> fLiquid(const scalarField& alphaLiquid) const;
virtual void write(Ostream& os) const;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -73,7 +73,7 @@ public:
// Member Functions
//- Calculate and return the wall heat-flux partioning
//- Calculate and return the wall heat-flux partitioning
virtual tmp<scalarField> fLiquid(const scalarField& alphaLiquid) const;
};

View File

@ -181,7 +181,7 @@ protected:
//- Number concentrations
List<scalar> N_;
//- Write moments up to spezified order with respect to abszissaType
//- Write moments up to specified order with respect to abszissaType
label momentOrder_;
//- Normalization switch

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -88,10 +88,10 @@ class NonRandomTwoLiquid
//- Non-randomness constant parameter for species 2
dimensionedScalar alpha21_;
//- Non-randomness linear paramater for species 1
//- Non-randomness linear parameter for species 1
dimensionedScalar beta12_;
//- Non-randomness linear paramater for species 2
//- Non-randomness linear parameter for species 2
dimensionedScalar beta21_;
//- Interaction parameter model for species 1

View File

@ -56,7 +56,7 @@ class phaseChange
{
// Private data
//- Names of unorderd phasePairs between which phaseChange occurs, i.e.
//- Names of unordered phasePairs between which phaseChange occurs, i.e.
// "(gasIAndLiquid gasIIAndLiquid)"
List<word> pairNames_;

View File

@ -33,7 +33,7 @@ Description
Ramkrishna (1996). The source terms are written in a way that particle
number and mass are preserved. Coalescence (aggregation), breakup, drift
(growth and surface loss) as well as nucleation are supported.
For the discrete breakup term two recipies are available, depending on the
For the discrete breakup term two recipes are available, depending on the
model choice. For models which state a total breakup rate and a separate
daughter size distribution function, the formulation of Kumar and Ramkrishna
(1996) is applied which is applicable for binary and multiple breakup

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -183,7 +183,7 @@ Foam::twoPhaseSystem::twoPhaseSystem
pair_,
pair1In2_,
pair2In1_,
false // Do not zero drag coefficent at fixed-flux BCs
false // Do not zero drag coefficient at fixed-flux BCs
)
);

View File

@ -3345,7 +3345,7 @@ gold_var_loader(int var_time_step)
if(nsize > 0) {
values = (float *) calloc((nsize+1),sizeof(float));
if(values == (float *) NULL) {
fprintf(stderr,"Error: alocating variable values\n");
fprintf(stderr,"Error: allocating variable values\n");
return(Z_ERR);
}
@ -3490,7 +3490,7 @@ gold_var_loader(int var_time_step)
values = (float *) calloc((nsize+1),sizeof(float));
if(values == (float *) NULL) {
fprintf(stderr,"Error: alocating variable values\n");
fprintf(stderr,"Error: allocating variable values\n");
return(Z_ERR);
}
@ -4179,7 +4179,7 @@ var_loader(int var_time_step)
if(nsize > 0) {
values = (float *) calloc((num_comps * nsize),sizeof(float));
if(values == (float *) NULL) {
fprintf(stderr,"Error: alocating variable values\n");
fprintf(stderr,"Error: allocating variable values\n");
return(Z_ERR);
}
@ -4240,7 +4240,7 @@ var_loader(int var_time_step)
tvalues = (float *) calloc(nsize,sizeof(float));
if(tvalues == (float *) NULL) {
fprintf(stderr,"Error: alocating tvalues array\n");
fprintf(stderr,"Error: allocating tvalues array\n");
return(Z_ERR);
}
@ -4364,7 +4364,7 @@ var_loader(int var_time_step)
values = (float *) calloc((num_comps * nsize),sizeof(float));
if(values == (float *) NULL) {
fprintf(stderr,"Error: alocating variable values\n");
fprintf(stderr,"Error: allocating variable values\n");
return(Z_ERR);
}
@ -4424,7 +4424,7 @@ var_loader(int var_time_step)
tvalues = (float *) calloc(nsize,sizeof(float));
if(tvalues == (float *) NULL) {
fprintf(stderr,"Error: alocating tvalues array\n");
fprintf(stderr,"Error: allocating tvalues array\n");
return(Z_ERR);
}

View File

@ -3806,7 +3806,7 @@ gold_var_loader(int var_time_step)
if(nsize > 0) {
values = (float *) calloc((nsize+1),sizeof(float));
if(values == (float *) NULL) {
fprintf(stderr,"Error: alocating variable values\n");
fprintf(stderr,"Error: allocating variable values\n");
return(Z_ERR);
}
@ -3976,7 +3976,7 @@ gold_var_loader(int var_time_step)
values = (float *) calloc((nsize+1),sizeof(float));
if(values == (float *) NULL) {
fprintf(stderr,"Error: alocating variable values\n");
fprintf(stderr,"Error: allocating variable values\n");
return(Z_ERR);
}
@ -4665,7 +4665,7 @@ var_loader(int var_time_step)
if(nsize > 0) {
values = (float *) calloc((num_comps * nsize),sizeof(float));
if(values == (float *) NULL) {
fprintf(stderr,"Error: alocating variable values\n");
fprintf(stderr,"Error: allocating variable values\n");
return(Z_ERR);
}
@ -4726,7 +4726,7 @@ var_loader(int var_time_step)
tvalues = (float *) calloc(nsize,sizeof(float));
if(tvalues == (float *) NULL) {
fprintf(stderr,"Error: alocating tvalues array\n");
fprintf(stderr,"Error: allocating tvalues array\n");
return(Z_ERR);
}
@ -4850,7 +4850,7 @@ var_loader(int var_time_step)
values = (float *) calloc((num_comps * nsize),sizeof(float));
if(values == (float *) NULL) {
fprintf(stderr,"Error: alocating variable values\n");
fprintf(stderr,"Error: allocating variable values\n");
return(Z_ERR);
}
@ -4910,7 +4910,7 @@ var_loader(int var_time_step)
tvalues = (float *) calloc(nsize,sizeof(float));
if(tvalues == (float *) NULL) {
fprintf(stderr,"Error: alocating tvalues array\n");
fprintf(stderr,"Error: allocating tvalues array\n");
return(Z_ERR);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -759,7 +759,7 @@ int main(int argc, char *argv[])
<< endl;
// Create some default patch names/types. These will be overwritten
// by any problem desciption (if it is there)
// by any problem description (if it is there)
foamPatchTypes.setSize(foamPatchStarts.size());
foamPatchNames.setSize(foamPatchStarts.size());

View File

@ -577,7 +577,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;
@ -942,7 +942,7 @@ int main(int argc, char *argv[])
Info<< "Using " << dofVertIndices.size()
<< " DOF sets to detect boundary faces."<< endl;
// Renumber vertex numbers on contraints
// Renumber vertex numbers on constraints
forAll(dofVertIndices, patchi)
{
inplaceRenumber(unvToFoam, dofVertIndices[patchi]);
@ -1227,7 +1227,7 @@ int main(int argc, char *argv[])
forAll(indizes, i)
{
const label old = oldIndizes[i];
label noveau = -1;
label nouveau = -1;
label c1 = -1, c2 = -1;
if (faceToCell[0].found(old))
{
@ -1253,7 +1253,7 @@ int main(int argc, char *argv[])
const face& f = boundaryFaces[old];
if (mag(centers[j]- f.centre(points)) < small)
{
noveau = j;
nouveau = j;
break;
}
}
@ -1269,13 +1269,13 @@ int main(int argc, char *argv[])
|| (c2 == own[j] && c1 == nei[j])
)
{
noveau = j;
nouveau = j;
break;
}
}
}
assert(noveau > -1);
indizes[i] = noveau;
assert(nouveau > -1);
indizes[i] = nouveau;
}
fZones[cnt] = new faceZone
(

View File

@ -277,12 +277,12 @@ void Foam::conformalVoronoiMesh::createEdgePointGroupByCirculating
masterPtVec
);
// Specialise for size = 1 && baffle
// Specialize for size = 1 && baffle
if (mag((normalDir & nextNormalDir) - 1) < small)
{
if (inside)
{
// Info<< "Specialise for size 1 and baffle" << endl;
// Info<< "Specialize for size 1 and baffle" << endl;
vector s = ppDist*(edDir ^ normal);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -332,11 +332,11 @@ bool Foam::featurePointConformer::createSpecialisedFeaturePoint
{
convexEdgePlaneDNormal = convexNormal;
plane planeD(featPt, convexEdgePlaneDNormal);
plane planned(featPt, convexEdgePlaneDNormal);
externalPtE =
internalPtB
+ 2.0*planeD.distance(internalPtB)
+ 2.0*planned.distance(internalPtB)
*convexEdgePlaneDNormal;
pts.append
@ -768,11 +768,11 @@ bool Foam::featurePointConformer::createSpecialisedFeaturePoint
{
concaveEdgePlaneDNormal = concaveNormal;
plane planeD(featPt, concaveEdgePlaneDNormal);
plane planned(featPt, concaveEdgePlaneDNormal);
externalPtE =
internalPtB
- 2.0*planeD.distance(internalPtB)
- 2.0*planned.distance(internalPtB)
*concaveEdgePlaneDNormal;
pts.append

View File

@ -571,7 +571,7 @@ int main(int argc, char *argv[])
}
Info<< "Refining backgroud mesh according to cell size specification" << nl
Info<< "Refining background mesh according to cell size specification" << nl
<< endl;
backgroundMeshDecomposition backgroundMesh

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -62,7 +62,7 @@ int main(int argc, char *argv[])
boundBox bb(points);
Info<< "bounding box: min = " << bb.min()
<< " max = " << bb.max() << " metres."
<< " max = " << bb.max() << " meters."
<< endl;

View File

@ -610,7 +610,7 @@ int main(int argc, char *argv[])
{
argList::addNote
(
"Renumber mesh to minimise bandwidth"
"Renumber mesh to minimize bandwidth"
);
#include "addRegionOption.H"
@ -946,7 +946,7 @@ int main(int argc, char *argv[])
}
else
{
// Detemines sorted back to original cell ordering
// Determines sorted back to original cell ordering
cellOrder = renumberPtr().renumber
(
mesh,

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -93,7 +93,7 @@ void Foam::helpTypes::helpBoundary::execute
if (abortVar)
{
FatalErrorInFunction
<< "Please unset FOAM_ABORT to use this utlity"
<< "Please unset FOAM_ABORT to use this utility"
<< exit(FatalError);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -410,7 +410,7 @@ void Foam::vtkPVblockMesh::Update
updateFoamMesh();
reader_->UpdateProgress(0.5);
// Convert mesh elemente
// Convert mesh element
int blockNo = 0;
convertMeshCorners(output, blockNo);

View File

@ -902,7 +902,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
For unstructured parts, you can read them from your file if

View File

@ -902,7 +902,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
For unstructured parts, you can read them from your file if

View File

@ -7,7 +7,7 @@ Note that you do not have to update your (1.0 API) user defined reader if it
is already working fine for you.
You should consider it if:
- efficieny gains are needed or
- efficiency gains are needed or
- you need access to complex variables or
- you need access to tensor variables or
- you need multiple timeset capability or
@ -120,7 +120,7 @@ coordinate array. The connectivity of the elements do not reference the nodes
according to node ids. Node ids (and element ids for that matter) are purely
labels for screen display and for query operations within EnSight. This
eliminates the need for node id hashing as a model is read.
The 2.0 API has been created for those needing more efficiency - both in terms
of memory use and speed. The increased efficiency is possible because data is
requested in a manner which more closely represents the way that EnSight
@ -132,7 +132,7 @@ temporary memory (and allocation time) that is needed in the old
API. Depending on what you must do to get your data into the form required,
the memory savings and the speed improvement when loading models can be quite
significant!!
Additionally, the ability to handle tensor and complex variables has been
added to the new API, and support for multiple timesets is provided.
------------------------------------------------
@ -176,7 +176,7 @@ A) Changes related to imaginary flag for complex data
=====================================================
If you don't deal with complex variables, simply add
this flag to your argument list and ignore its value.
-----------------------------------------------------
-----------------------------------------------------
API 1.0 API 2.0
------- -------
@ -222,7 +222,7 @@ B) Changes related to complex data info, and constant type
The argument var_timeset needs to be added, and set
appropriately.
---------------------------------------------------------
---------------------------------------------------------
API 1.0 API 2.0
------- -------
@ -297,7 +297,7 @@ USERD_set_time_step USERD_set_time_set_and_step
E) Changes related to global_extern.h
======================================================
Be sure to include the updated global_extern.h file that comes
Be sure to include the updated global_extern.h file that comes
with the EnSight 7.2 release (not the one from previous releases).
@ -323,9 +323,9 @@ API 1.0 API 2.0
These routines: replaced by the single routine:
--------------------------- -------------------------------
USERD_get_block_scalar_values USERD_get_var_by_component
USERD_get_block_vector_values_by_component
USERD_get_scalar_values
USERD_get_vector_values
USERD_get_block_vector_values_by_component
USERD_get_scalar_values
USERD_get_vector_values
These global coordinate routines: replaced by part coord routines:
--------------------------------- --------------------------------
@ -345,7 +345,7 @@ USERD_get_element_ids_for_part USERD_get_part_element_ids_by_type
(Can be a dummy) -> USERD_get_model_extents
(Required) -> USERD_get_reader_version
multiple timeset releated:
multiple timeset related:
(Required) -> USERD_get_number_timesets
(Required) -> USERD_get_timeset_description
(Required) -> USERD_get_geom_timeset_number

View File

@ -74,7 +74,7 @@ called is given.
USERD_get_number_of_materials
USERD_get_matf_var_info
For each elment type of each part containing material ids, calls:
For each element type of each part containing material ids, calls:
USERD_size_matf_data
USERD_load_matf_data
@ -1344,7 +1344,7 @@ USERD_get_gold_part_build_info
1 2 3 (I planes)
And note that if you were partioning this block for
And note that if you were partitioning this block for
EnSight's Server of Servers, you would only have one part,
instead of two. Each SOS server would return its appropriate
ranges in the last 6 slots. The first 3 slots would remain constant.

View File

@ -1063,7 +1063,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
For unstructured parts, you can read them from your file if

View File

@ -987,7 +987,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
For unstructured parts, you can read them from your file if

View File

@ -1056,7 +1056,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
* Prior to API 2.01:

View File

@ -470,7 +470,7 @@ called is given.
USERD_get_number_of_materials
USERD_get_matf_var_info
For each elment type of each part containing material ids, calls:
For each element type of each part containing material ids, calls:
USERD_size_matf_data
USERD_load_matf_data
@ -1081,7 +1081,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
* Prior to API 2.01:
@ -1430,7 +1430,7 @@ USERD_get_gold_part_build_info
1 2 3 (I planes)
And note that if you were partioning this block for
And note that if you were partitioning this block for
EnSight's Server of Servers, you would only have one part,
instead of two. Each SOS server would return its appropriate
ranges in the last 6 slots. The first 3 slots would remain constant.

View File

@ -74,7 +74,7 @@ called is given.
USERD_get_number_of_materials
USERD_get_matf_var_info
For each elment type of each part containing material ids, calls:
For each element type of each part containing material ids, calls:
USERD_size_matf_data
USERD_load_matf_data
@ -1344,7 +1344,7 @@ USERD_get_gold_part_build_info
1 2 3 (I planes)
And note that if you were partioning this block for
And note that if you were partitioning this block for
EnSight's Server of Servers, you would only have one part,
instead of two. Each SOS server would return its appropriate
ranges in the last 6 slots. The first 3 slots would remain constant.

View File

@ -580,7 +580,7 @@ called is given.
USERD_get_number_of_materials
USERD_get_matf_var_info
For each elment type of each part containing material ids, calls:
For each element type of each part containing material ids, calls:
USERD_size_matf_data
USERD_load_matf_data
@ -1198,7 +1198,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
* Prior to API 2.01:
@ -1547,7 +1547,7 @@ USERD_get_gold_part_build_info
1 2 3 (I planes)
And note that if you were partioning this block for
And note that if you were partitioning this block for
EnSight's Server of Servers, you would only have one part,
instead of two. Each SOS server would return its appropriate
ranges in the last 6 slots. The first 3 slots would remain constant.

View File

@ -550,7 +550,7 @@ called is given.
USERD_get_number_of_materials
USERD_get_matf_var_info
For each elment type of each part containing material ids, calls:
For each element type of each part containing material ids, calls:
USERD_size_matf_data
USERD_load_matf_data
@ -1168,7 +1168,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
* Prior to API 2.01:
@ -1517,7 +1517,7 @@ USERD_get_gold_part_build_info
1 2 3 (I planes)
And note that if you were partioning this block for
And note that if you were partitioning this block for
EnSight's Server of Servers, you would only have one part,
instead of two. Each SOS server would return its appropriate
ranges in the last 6 slots. The first 3 slots would remain constant.

View File

@ -564,7 +564,7 @@ called is given.
USERD_get_number_of_materials
USERD_get_matf_var_info
For each elment type of each part containing material ids, calls:
For each element type of each part containing material ids, calls:
USERD_size_matf_data
USERD_load_matf_data
@ -1182,7 +1182,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
* Prior to API 2.01:
@ -1531,7 +1531,7 @@ USERD_get_gold_part_build_info
1 2 3 (I planes)
And note that if you were partioning this block for
And note that if you were partitioning this block for
EnSight's Server of Servers, you would only have one part,
instead of two. Each SOS server would return its appropriate
ranges in the last 6 slots. The first 3 slots would remain constant.

View File

@ -568,7 +568,7 @@ called is given.
USERD_get_number_of_materials
USERD_get_matf_var_info
For each elment type of each part containing material ids, calls:
For each element type of each part containing material ids, calls:
USERD_size_matf_data
USERD_load_matf_data
@ -1186,7 +1186,7 @@ USERD_get_element_label_status
Notes:
-----
* element lables are needed in order to do any element querying, or
* element labels are needed in order to do any element querying, or
element labeling on-screen within EnSight.
* Prior to API 2.01:
@ -1535,7 +1535,7 @@ USERD_get_gold_part_build_info
1 2 3 (I planes)
And note that if you were partioning this block for
And note that if you were partitioning this block for
EnSight's Server of Servers, you would only have one part,
instead of two. Each SOS server would return its appropriate
ranges in the last 6 slots. The first 3 slots would remain constant.

View File

@ -25,7 +25,7 @@ Application
engineSwirl
Description
Generates a swirling flow for engine calulations.
Generates a swirling flow for engine calculations.
\*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -205,7 +205,7 @@ int main(int argc, char *argv[])
+ name(z)
+ "." + outExtension;
Info<< " Writing mulitple part "
Info<< " Writing multiple part "
<< z << " to " << remainingPartFileName << endl;
zoneSurf.write(remainingPartFileName);

View File

@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
# \\/ M anipulation |
#-------------------------------------------------------------------------------
# License
@ -96,18 +96,18 @@ do
;;
-m | -mode)
[ "$#" -ge 2 ] || error "'$1' option requires an argument"
etcOpts="$etcOpts $1 $2" # pass-thru to foamEtcFile
etcOpts="$etcOpts $1 $2" # pass through to foamEtcFile
shift
;;
-p | -prefix)
[ "$#" -ge 2 ] || error "'$1' option requires an argument"
etcOpts="$etcOpts $1 $2" # pass-thru to foamEtcFile
etcOpts="$etcOpts $1 $2" # pass through to foamEtcFile
prefixDir="$2"
shift
;;
-v | -version)
[ "$#" -ge 2 ] || error "'$1' option requires an argument"
etcOpts="$etcOpts $1 $2" # pass-thru to foamEtcFile
etcOpts="$etcOpts $1 $2" # pass through to foamEtcFile
version="$2"
shift
;;

View File

@ -8,7 +8,7 @@
Description
Tracks a cloud of parcels driven by the flow of the continuous phase.
The cloud is specifed by a kinematicCloudProperties file in the constant
The cloud is specified by a kinematicCloudProperties file in the constant
directory. A template file is provided in:
$FOAM_ETC/caseDicts/solvers/lagrangian

View File

@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
@ -216,7 +216,7 @@ endif
switch ("$WM_COMPILER_TYPE")
case OpenFOAM:
case ThirdParty:
# Default versions of GMP, MPFR and MPC, overide as necessary
# Default versions of GMP, MPFR and MPC, override as necessary
set gmp_version=gmp-5.1.2
set mpfr_version=mpfr-3.1.2
set mpc_version=mpc-1.0.1

View File

@ -17,7 +17,7 @@ Specie names have been transposed into a form supported by the OpenFOAM parser:
1. Names starting with characters "[1-9]|*|(" are prepended with "-s".
2. The character "'" has been replaced with "p".
3. The characted "/" has been replaced with "by".
3. The character "/" has been replaced with "by".
4. All tabs removed.
5. All Parts of the species names are concatenated with spaces replaced by "_".
6. "REF.ELEM.*" has been removed.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -64,7 +64,7 @@ Note
The lazy evaluation used means that reading an out-of-range element
returns zero, but does not affect the list size. Even in a non-const
context, only the assigment itself causes the element to be created.
context, only the assignment itself causes the element to be created.
For example,
\code
list.resize(4);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -369,7 +369,7 @@ inline void Foam::PackedList<nBits>::iteratorBase::operator=
const unsigned int val
)
{
// Lazy evaluation - increase size on assigment
// Lazy evaluation - increase size on assignment
if (index_ >= list_->size_)
{
list_->resize(index_ + 1);
@ -1003,7 +1003,7 @@ inline bool Foam::PackedList<nBits>::set
}
else if (i >= size_)
{
// Lazy evaluation - increase size on assigment
// Lazy evaluation - increase size on assignment
resize(i + 1);
}

View File

@ -231,7 +231,8 @@ public:
virtual bool end();
//- Called by Time::setDeltaT(). Allows the function object to override
// the time-step value. Returns whether or not the value was overriden.
// the time-step value.
// Returns whether or not the value was overridden.
virtual bool setTimeStep();
//- Called by Time::adjustTimeStep(). Allows the function object to

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -470,7 +470,7 @@ evaluate()
else
{
FatalErrorInFunction
<< "Unsuported communications type "
<< "Unsupported communications type "
<< Pstream::commsTypeNames[Pstream::defaultCommsType]
<< exit(FatalError);
}

View File

@ -206,8 +206,8 @@ public:
};
// This function is added to overide the hack in pointPatchField.H
// which enables simple backward compatibility with verions using
// This function is added to override the hack in pointPatchField.H
// which enables simple backward compatibility with versions using
// referenceLevel in GeometicField
template<class Type>
tmp<Field<Type>> operator+

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -137,7 +137,7 @@ public:
//- Cyclic coupled interface functions
//- Does the patch field perform the transfromation
//- Does the patch field perform the transformation
virtual bool doTransform() const
{
return !(cyclicPatch_.parallel() || pTraits<Type>::rank == 0);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -150,7 +150,7 @@ public:
}
}
//- Does the patch field perform the transfromation
//- Does the patch field perform the transformation
virtual bool doTransform() const
{
return

View File

@ -490,7 +490,7 @@ public:
// This function is added as a hack to enable simple backward compatibility
// with verions using referenceLevel in GeometicField
// with versions using referenceLevel in GeometicField
template<class Type>
const pointPatchField<Type>& operator+
(

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -88,7 +88,7 @@ public:
//- Max size of thread buffer size. This is the overall size of
// all files to be written. Starts blocking if not enough size.
// Read as float to enable easy specificiation of large sizes.
// Read as float to enable easy specification of large sizes.
static float maxThreadFileBufferSize;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -246,7 +246,7 @@ public:
//- Remove a file, returning true if successful otherwise false
virtual bool rm(const fileName&) const = 0;
//- Remove a dirctory and its contents
//- Remove a directory and its contents
virtual bool rmDir(const fileName&) const = 0;
// //- Open a shared library. Return handle to library. Print error

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -406,7 +406,7 @@ public:
//- Max size of parallel communications. Switches from non-blocking
// to scheduled when reading/writing files. Read as float to enable
// easy specificiation of large sizes.
// easy specification of large sizes.
static float maxMasterFileBufferSize;
@ -531,7 +531,7 @@ public:
//- Remove a file, returning true if successful otherwise false
virtual bool rm(const fileName&) const;
//- Remove a dirctory and its contents
//- Remove a directory and its contents
virtual bool rmDir(const fileName&) const;
// //- Open a shared library. Return handle to library. Print error

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -190,7 +190,7 @@ public:
//- Remove a file, returning true if successful otherwise false
virtual bool rm(const fileName&) const;
//- Remove a dirctory and its contents
//- Remove a directory and its contents
virtual bool rmDir(const fileName&) const;
// //- Open a shared library. Return handle to library. Print error

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -165,7 +165,7 @@ bool mvBak(const fileName&, const std::string& ext = "bak");
//- Remove a file, returning true if successful otherwise false
bool rm(const fileName&);
//- Remove a dirctory and its contents
//- Remove a directory and its contents
bool rmDir(const fileName&);
//- Sleep for the specified number of seconds

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -61,38 +61,38 @@ namespace Foam
{
// doesn't recognize specialization otherwise
template<>
scalar csvTableReader<scalar>::readValue(const List<string>& splitted)
scalar csvTableReader<scalar>::readValue(const List<string>& split)
{
if (componentColumns_[0] >= splitted.size())
if (componentColumns_[0] >= split.size())
{
FatalErrorInFunction
<< "No column " << componentColumns_[0] << " in "
<< splitted << endl
<< split << endl
<< exit(FatalError);
}
return readScalar(IStringStream(splitted[componentColumns_[0]])());
return readScalar(IStringStream(split[componentColumns_[0]])());
}
template<class Type>
Type csvTableReader<Type>::readValue(const List<string>& splitted)
Type csvTableReader<Type>::readValue(const List<string>& split)
{
Type result;
for(label i = 0;i < pTraits<Type>::nComponents; i++)
{
if (componentColumns_[i] >= splitted.size())
if (componentColumns_[i] >= split.size())
{
FatalErrorInFunction
<< "No column " << componentColumns_[i] << " in "
<< splitted << endl
<< split << endl
<< exit(FatalError);
}
result[i] = readScalar
(
IStringStream(splitted[componentColumns_[i]])()
IStringStream(split[componentColumns_[i]])()
);
}
@ -126,7 +126,7 @@ void Foam::csvTableReader<Type>::operator()
string line;
in.getLine(line);
DynamicList<string> splitted;
DynamicList<string> split;
std::size_t pos = 0;
while (pos != std::string::npos)
@ -135,23 +135,23 @@ void Foam::csvTableReader<Type>::operator()
if (nPos == std::string::npos)
{
splitted.append(line.substr(pos));
split.append(line.substr(pos));
pos=nPos;
}
else
{
splitted.append(line.substr(pos, nPos-pos));
split.append(line.substr(pos, nPos-pos));
pos=nPos+1;
}
}
if (splitted.size() <= 1)
if (split.size() <= 1)
{
break;
}
scalar time = readScalar(IStringStream(splitted[timeColumn_])());
Type value = readValue(splitted);
scalar time = readScalar(IStringStream(split[timeColumn_])());
Type value = readValue(split);
values.append(Tuple2<scalar,Type>(time, value));
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -63,7 +63,7 @@ class csvTableReader
//- Labels of the components
const labelList componentColumns_;
//- Read the next value from the splitted string
//- Read the next value from the split string
Type readValue(const List<string>&);
//- Separator character

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -86,7 +86,7 @@ void Foam::LduMatrix<Type, DType, LUType>::initMatrixInterfaces
else
{
FatalErrorInFunction
<< "Unsuported communications type "
<< "Unsupported communications type "
<< Pstream::commsTypeNames[Pstream::defaultCommsType]
<< exit(FatalError);
}
@ -190,7 +190,7 @@ void Foam::LduMatrix<Type, DType, LUType>::updateMatrixInterfaces
else
{
FatalErrorInFunction
<< "Unsuported communications type "
<< "Unsupported communications type "
<< Pstream::commsTypeNames[Pstream::defaultCommsType]
<< exit(FatalError);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -86,7 +86,7 @@ void Foam::lduMatrix::initMatrixInterfaces
else
{
FatalErrorInFunction
<< "Unsuported communications type "
<< "Unsupported communications type "
<< Pstream::commsTypeNames[Pstream::defaultCommsType]
<< exit(FatalError);
}
@ -259,7 +259,7 @@ void Foam::lduMatrix::updateMatrixInterfaces
else
{
FatalErrorInFunction
<< "Unsuported communications type "
<< "Unsupported communications type "
<< Pstream::commsTypeNames[Pstream::defaultCommsType]
<< exit(FatalError);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -183,7 +183,7 @@ void Foam::GAMGSolver::Vcycle
if (coarseSources.set(leveli + 1))
{
// If the optional pre-smoothing sweeps are selected
// smooth the coarse-grid field for the restriced source
// smooth the coarse-grid field for the restricted source
if (nPreSweeps_)
{
coarseCorrFields[leveli] = 0.0;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -115,7 +115,7 @@ public:
//- Cyclic interface functions
//- Does the interface field perform the transfromation
//- Does the interface field perform the transformation
virtual bool doTransform() const
{
return doTransform_;

View File

@ -172,7 +172,7 @@ public:
return procInterface_.neighbProcNo();
}
//- Does the interface field perform the transfromation
//- Does the interface field perform the transformation
virtual bool doTransform() const
{
return doTransform_;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -51,7 +51,7 @@ Foam::labelList Foam::bandCompression(const labelListList& cellCellAddressing)
label cellInOrder = 0;
// Work arrays. Kept outside of loop to minimise allocations.
// Work arrays. Kept outside of loop to minimize allocations.
// - neighbour cells
DynamicList<label> nbrs;
// - corresponding weights
@ -176,7 +176,7 @@ Foam::labelList Foam::bandCompression
label cellInOrder = 0;
// Work arrays. Kept outside of loop to minimise allocations.
// Work arrays. Kept outside of loop to minimize allocations.
// - neighbour cells
DynamicList<label> nbrs;
// - corresponding weights

View File

@ -37,7 +37,7 @@ Foam::vector Foam::cellModel::centre
// Estimate centre of cell
vector cEst = Zero;
// Sum the points idicated by the label list
// Sum the points indicated by the label list
forAll(pointLabels, i)
{
cEst += points[pointLabels[i]];
@ -94,7 +94,7 @@ Foam::scalar Foam::cellModel::mag
// Estimate centre of cell
vector cEst = Zero;
// Sum the points idicated by the label list
// Sum the points indicated by the label list
forAll(pointLabels, i)
{
cEst += points[pointLabels[i]];

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -85,7 +85,7 @@ public:
//- Enumeration defining the state of the mesh after a read update.
// Used for post-processing applications, where the mesh
// needs to update based on the files written in time
// directores
// directories
enum readUpdateState
{
UNCHANGED,

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -32,56 +32,56 @@ License
template<>
Foam::label Foam::Function1Types::CSV<Foam::label>::readValue
(
const List<string>& splitted
const List<string>& split
)
{
if (componentColumns_[0] >= splitted.size())
if (componentColumns_[0] >= split.size())
{
FatalErrorInFunction
<< "No column " << componentColumns_[0] << " in "
<< splitted << endl
<< split << endl
<< exit(FatalError);
}
return readLabel(IStringStream(splitted[componentColumns_[0]])());
return readLabel(IStringStream(split[componentColumns_[0]])());
}
template<>
Foam::scalar Foam::Function1Types::CSV<Foam::scalar>::readValue
(
const List<string>& splitted
const List<string>& split
)
{
if (componentColumns_[0] >= splitted.size())
if (componentColumns_[0] >= split.size())
{
FatalErrorInFunction
<< "No column " << componentColumns_[0] << " in "
<< splitted << endl
<< split << endl
<< exit(FatalError);
}
return readScalar(IStringStream(splitted[componentColumns_[0]])());
return readScalar(IStringStream(split[componentColumns_[0]])());
}
template<class Type>
Type Foam::Function1Types::CSV<Type>::readValue(const List<string>& splitted)
Type Foam::Function1Types::CSV<Type>::readValue(const List<string>& split)
{
Type result;
for (label i = 0; i < pTraits<Type>::nComponents; i++)
{
if (componentColumns_[i] >= splitted.size())
if (componentColumns_[i] >= split.size())
{
FatalErrorInFunction
<< "No column " << componentColumns_[i] << " in "
<< splitted << endl
<< split << endl
<< exit(FatalError);
}
result[i] =
readScalar(IStringStream(splitted[componentColumns_[i]])());
readScalar(IStringStream(split[componentColumns_[i]])());
}
return result;
@ -123,7 +123,7 @@ void Foam::Function1Types::CSV<Type>::read()
label n = 0;
std::size_t pos = 0;
DynamicList<string> splitted;
DynamicList<string> split;
if (mergeSeparators_)
{
@ -150,13 +150,13 @@ void Foam::Function1Types::CSV<Type>::read()
if (nPos == std::string::npos)
{
splitted.append(line.substr(pos));
split.append(line.substr(pos));
pos = nPos;
n++;
}
else
{
splitted.append(line.substr(pos, nPos - pos));
split.append(line.substr(pos, nPos - pos));
pos = nPos + 1;
n++;
}
@ -170,13 +170,13 @@ void Foam::Function1Types::CSV<Type>::read()
if (nPos == std::string::npos)
{
splitted.append(line.substr(pos));
split.append(line.substr(pos));
pos = nPos;
n++;
}
else
{
splitted.append(line.substr(pos, nPos - pos));
split.append(line.substr(pos, nPos - pos));
pos = nPos + 1;
n++;
}
@ -184,13 +184,13 @@ void Foam::Function1Types::CSV<Type>::read()
}
if (splitted.size() <= 1)
if (split.size() <= 1)
{
break;
}
scalar x = readScalar(IStringStream(splitted[refColumn_])());
Type value = readValue(splitted);
scalar x = readScalar(IStringStream(split[refColumn_])());
Type value = readValue(split);
values.append(Tuple2<scalar,Type>(x, value));
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -101,7 +101,7 @@ class CSV
//- Read csv data table
void read();
//- Read the next value from the splitted string
//- Read the next value from the split string
Type readValue(const List<string>&);
//- Disallow default bitwise assignment
@ -142,10 +142,10 @@ public:
template<>
label CSV<label>::readValue(const List<string>& splitted);
label CSV<label>::readValue(const List<string>& split);
template<>
Foam::scalar CSV<scalar>::readValue(const List<string>& splitted);
Foam::scalar CSV<scalar>::readValue(const List<string>& split);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -68,7 +68,7 @@ Foam::label Foam::globalIndexAndTransform::matchTransform
// Test the difference between tensor parts to see if it is
// less than the tolerance. sqrt(3.0) factor used to scale
// differnces as this is magnitude of a rotation tensor. If
// differences as this is magnitude of a rotation tensor. If
// neither transform has a rotation, then the test is not
// necessary.

View File

@ -208,7 +208,7 @@ void Foam::triad::operator+=(const triad& t2)
if (set() && t2.set())
{
direction correspondance[3]{0, 0, 0};
direction correspondence[3]{0, 0, 0};
short signd[3];
for (direction i=0; i<3; i++)
@ -225,7 +225,7 @@ void Foam::triad::operator+=(const triad& t2)
bool set = false;
for (direction k=0; k<i; k++)
{
if (correspondance[k] == j)
if (correspondence[k] == j)
{
set = true;
break;
@ -239,14 +239,14 @@ void Foam::triad::operator+=(const triad& t2)
if (maga > mostAligned)
{
correspondance[i] = j;
correspondence[i] = j;
mostAligned = maga;
signd[i] = sign(a);
}
}
}
operator[](i) += signd[i]*t2.operator[](correspondance[i]);
operator[](i) += signd[i]*t2.operator[](correspondence[i]);
}
}
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -30,7 +30,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

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -100,7 +100,7 @@ class turbulentTemperatureRadCoupledMixedFvPatchScalarField
//- Name of field on the neighbour region
const word TnbrName_;
//- Name of the radiative heat flux in the neighbout region
//- Name of the radiative heat flux in the neighbor region
const word qrNbrName_;
//- Name of the radiative heat flux in local region

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -560,7 +560,7 @@ void Foam::epsilonWallFunctionFvPatchScalarField::manipulateMatrix
forAll(weights, facei)
{
// Anly set the values if the weights are > tolerance
// Only set the values if the weights are > tolerance
if (weights[facei] > tolerance_)
{
nConstrainedCells++;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -41,7 +41,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

@ -2323,7 +2323,7 @@ void Foam::cellCuts::setFromCellLoops
if (setFromCellLoop(celli, loop, loopWeights))
{
// Valid loop. Call above will have upated all already.
// Valid loop. Call above will have updated all already.
}
else
{

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -168,7 +168,7 @@ public:
//- Create cut along circumference of celli. Gets current mesh cuts
// vertIsCut, edgeIsCut, edgeWeight).
// Cut along circumference is expressed as cellVertCut,
// cellEdgeToWeight. Returns true if succesfull. Still might not
// cellEdgeToWeight. Returns true if successful. Still might not
// be compatible with existing cuts but this should be handled by
// caller).
virtual bool cut

View File

@ -2002,13 +2002,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;
}
@ -2020,7 +2020,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

@ -290,7 +290,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);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -93,7 +93,7 @@ Foam::polyMeshFilterSettings::polyMeshFilterSettings(const dictionary& dict)
void Foam::polyMeshFilterSettings::writeSettings(Ostream& os) const
{
os << "Merging:" << nl
<< " edges with length less than " << minLen() << " metres" << nl
<< " edges with length less than " << minLen() << " meters" << nl
<< " edges split by a point with edges in line to within "
<< radToDeg(::acos(maxCos())) << " degrees" << nl
<< " Minimum edge length reduction factor = "

View File

@ -1072,7 +1072,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
(

View File

@ -2263,7 +2263,7 @@ Foam::labelList Foam::hexRef8::consistentRefinement
{
// Loop, modifying cellsToRefine, until no more changes to due to 2:1
// conflicts.
// maxSet = false : unselect cells to refine
// maxSet = false : deselect cells to refine
// maxSet = true : select cells to refine
// Go to straight boolList.
@ -5344,7 +5344,7 @@ Foam::labelList Foam::hexRef8::consistentUnrefinement
// Loop, modifying pointsToUnrefine, until no more changes to due to 2:1
// conflicts.
// maxSet = false : unselect points to refine
// maxSet = false : deselect points to refine
// maxSet = true: select points to refine
// Maintain boolList for pointsToUnrefine and cellsToUnrefine

View File

@ -595,7 +595,7 @@ Foam::label Foam::polyTopoChange::getCellOrder
label cellInOrder = 0;
// Work arrays. Kept outside of loop to minimise allocations.
// Work arrays. Kept outside of loop to minimize allocations.
// - neighbour cells
DynamicList<label> nbrs;
// - corresponding weights

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -36,7 +36,7 @@ Description
Note:
If new points are created during master-slave edge cutting, they
should be registred with the pointMap.
should be registered with the pointMap.
SourceFiles

View File

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

View File

@ -264,7 +264,7 @@ public:
return procPatch_.neighbProcNo();
}
//- Does the patch field perform the transfromation
//- Does the patch field perform the transformation
virtual bool doTransform() const
{
return !(procPatch_.parallel() || pTraits<Type>::rank == 0);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -157,7 +157,7 @@ public:
// Access
//- Does the patch field perform the transfromation
//- Does the patch field perform the transformation
virtual bool doTransform() const
{
return !(procPatch_.parallel() || pTraits<Type>::rank == 0);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -29,7 +29,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.

View File

@ -32,7 +32,7 @@ Description
zero-gradient, fixed-gradient, fixed-value and mixed conditions.
The next level of derivation covers all the specialised types with
specific evaluation proceedures, particularly with respect to specific
specific evaluation procedures, particularly with respect to specific
fields.
SourceFiles

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -32,7 +32,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

View File

@ -53,7 +53,7 @@ Foam::CentredFitSnGradData<Polynomial>::CentredFitSnGradData
if (debug)
{
InfoInFunction
<< "Contructing CentredFitSnGradData<Polynomial>" << endl;
<< "Constructing CentredFitSnGradData<Polynomial>" << endl;
}
calcFit();

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -54,7 +54,7 @@ Foam::CentredFitData<Polynomial>::CentredFitData
{
if (debug)
{
InfoInFunction << "Contructing CentredFitData<Polynomial>" << endl;
InfoInFunction << "Constructing CentredFitData<Polynomial>" << endl;
}
calcFit();

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -55,7 +55,7 @@ Foam::UpwindFitData<Polynomial>::UpwindFitData
{
if (debug)
{
InfoInFunction << "Contructing UpwindFitData<Polynomial>" << endl;
InfoInFunction << "Constructing UpwindFitData<Polynomial>" << endl;
}
calcFit();

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -25,7 +25,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

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -102,7 +102,7 @@ class histogram
//- Minimum value
scalar min_;
//- Mumber of bins
//- Number of bins
label nBins_;
//- Output formatter to write

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -63,7 +63,7 @@ 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 |
patches | list of patches to sample | yes |
distance | distance from patch to sample | yes |
\endtable

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -153,7 +153,7 @@ class regionSizeDistribution
//- Minimum droplet diameter
scalar minDiam_;
//- Mumber of bins
//- Number of bins
label nBins_;
//- Names of fields to sample on regions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -52,7 +52,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 |
\endtable

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -181,7 +181,7 @@ protected:
//- Reference pressure
scalar pRef_;
//- Coordinate system used when evaluting forces/moments
//- Coordinate system used when evaluating forces/moments
coordinateSystem coordSys_;
//- Flag to indicate whether we are using a local co-ordinate sys

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -33,8 +33,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:

View File

@ -132,7 +132,7 @@ void Foam::Cloud<ParticleType>::deleteLostParticles()
template<class ParticleType>
void Foam::Cloud<ParticleType>::cloudReset(const Cloud<ParticleType>& c)
{
// Reset particle cound and particles only
// Reset particle count and particles only
// - not changing the cloud object registry or reference to the polyMesh
ParticleType::particleCount_ = 0;
IDLList<ParticleType>::operator=(c);

View File

@ -1108,7 +1108,7 @@ void Foam::particle::correctAfterInteractionListReferral(const label celli)
// in this tet. It will, however, generate the correct vector when the
// position method is called. A referred particle should never be tracked,
// so this approximate topology is good enough. By using the nearby cell we
// minimise the error associated with the incorrect topology.
// minimize the error associated with the incorrect topology.
coordinates_ = barycentric(1, 0, 0, 0);
if (mesh_.moving())
{

View File

@ -610,7 +610,7 @@ public:
// Decompose and reconstruct
//- Return the tet point approproate for decomposition or reconstruction
//- Return the tet point appropriate for decomposition or reconstruction
// to or from the given mesh.
label procTetPt
(

View File

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

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