Corrected typos

This commit is contained in:
Henry Weller
2023-01-24 22:01:34 +00:00
parent 00ca8905a0
commit 104be8eae9
30 changed files with 63 additions and 63 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2022-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -39,7 +39,7 @@ License
void Foam::solvers::isothermalFluid::correctBuoyantPressure() void Foam::solvers::isothermalFluid::correctBuoyantPressure()
{ {
// Local references to the buoyancy paramaters // Local references to the buoyancy parameters
const volScalarField& gh = buoyancy->gh; const volScalarField& gh = buoyancy->gh;
const surfaceScalarField& ghf = buoyancy->ghf; const surfaceScalarField& ghf = buoyancy->ghf;
const uniformDimensionedScalarField pRef = buoyancy->pRef; const uniformDimensionedScalarField pRef = buoyancy->pRef;

View File

@ -133,7 +133,7 @@ struct alphatWallBoilingWallFunctionFvPatchScalarField::properties
{} {}
// Member Fuctions // Member Functions
//- Patch //- Patch
inline const fvPatch& patch() const inline const fvPatch& patch() const

View File

@ -1,4 +1,4 @@
// Parametres geometriques // Parameters geometriques
r1 = 200*Cos(Pi/4)/1000; r1 = 200*Cos(Pi/4)/1000;
r2 = 200*Cos(Pi/4)/1000; r2 = 200*Cos(Pi/4)/1000;
@ -7,7 +7,7 @@ h2 = 360/1000;
h3 = 900/1000; h3 = 900/1000;
h4 = 1900/1000; h4 = 1900/1000;
// Parametres de maillage // Parameters de maillage
// selon le rayon // selon le rayon
rCells = 10/2; rRatio = 0.85; rCells = 10/2; rRatio = 0.85;
// selon S1 // selon S1

View File

@ -38,7 +38,7 @@ int USERD_set_filenames
rootDir = the_path; rootDir = the_path;
// the path is pre-pended to filename_1 // the path is prepended to filename_1
// 1 is the 'Geometry' : 2 the 'Result' which is null here // 1 is the 'Geometry' : 2 the 'Result' which is null here
// since two_field is FALSE // since two_field is FALSE
for (label i=0; i<lCase-lRoot;i++) for (label i=0; i<lCase-lRoot;i++)

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -283,7 +283,7 @@ void Foam::meshToMesh0::cellAddresses
else else
{ {
// If curCell is a boundary cell then the point maybe either outside // If curCell is a boundary cell then the point maybe either outside
// the domain or in an other region of the doamin, either way use // the domain or in an other region of the domain, either way use
// the octree search to find it. // the octree search to find it.
if (boundaryCell[curCell]) if (boundaryCell[curCell])
{ {

View File

@ -128,7 +128,7 @@ set p0;
option any; // cell with any point in pointSet option any; // cell with any point in pointSet
// option edge; // cell with an edge with both points in pointSet // option edge; // cell with an edge with both points in pointSet
// cellSet baed on shape of cells // cellSet based on shape of cells
source shapeToCell; source shapeToCell;
type hex; // hex/wedge/prism/pyr/tet/tetWedge/splitHex type hex; // hex/wedge/prism/pyr/tet/tetWedge/splitHex

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -28,7 +28,7 @@ Description
Class to handle messaging in a simple, consistent stream-based Class to handle messaging in a simple, consistent stream-based
manner. manner.
The messageStream class is globaly instantiated with a title string a The messageStream class is globally instantiated with a title string a
given severity, which controls the program termination, and a number of given severity, which controls the program termination, and a number of
errors before termination. Errors, messages and other data are piped to errors before termination. Errors, messages and other data are piped to
the messageStream class in the standard manner. the messageStream class in the standard manner.

View File

@ -2411,7 +2411,7 @@ Foam::autoPtr<Foam::globalIndex> Foam::globalMeshData::mergePoints
// Send back // Send back
pointSlavesMap.reverseDistribute(cpp.nPoints(), masterToGlobal); pointSlavesMap.reverseDistribute(cpp.nPoints(), masterToGlobal);
// On slave copy master index into overal map. // On slave copy master index into overall map.
forAll(pointSlaves, pointi) forAll(pointSlaves, pointi)
{ {
label meshPointi = cpp.meshPoints()[pointi]; label meshPointi = cpp.meshPoints()[pointi];

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -410,7 +410,7 @@ public:
fileName meshDir() const; fileName meshDir() const;
//- Return the current instance directory for points //- Return the current instance directory for points
// Used in the construction of gemometric mesh data dependent // Used in the construction of geometric mesh data dependent
// on points // on points
const fileName& pointsInstance() const; const fileName& pointsInstance() const;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -78,7 +78,7 @@ public:
const vectorField& cellCtrs const vectorField& cellCtrs
); );
//- Generate cell openness and cell ascpect ratio field //- Generate cell openness and cell aspect ratio field
static void cellClosedness static void cellClosedness
( (
const primitiveMesh& mesh, const primitiveMesh& mesh,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -38,7 +38,7 @@ Description
<magSfN> <valueN> <qDotN> <htcN> <magSfN> <valueN> <qDotN> <htcN>
\endverbatim \endverbatim
and received as the constitutent pieces of the `mixed' condition, i.e. and received as the constituent pieces of the `mixed' condition, i.e.
\verbatim \verbatim
# Patch: <patch name> # Patch: <patch name>

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -104,7 +104,7 @@ bool Foam::solidBodyMotionFunctions::SDA::read(const dictionary& SBMFCoeffs)
solidBodyMotionFunction::read(SBMFCoeffs); solidBodyMotionFunction::read(SBMFCoeffs);
SBMFCoeffs_.lookup("CofG") >> CofG_; SBMFCoeffs_.lookup("CofG") >> CofG_;
SBMFCoeffs_.lookup("lamda") >> lamda_; SBMFCoeffs_.lookup("lambda") >> lambda_;
SBMFCoeffs_.lookup("rollAmax") >> rollAmax_; SBMFCoeffs_.lookup("rollAmax") >> rollAmax_;
SBMFCoeffs_.lookup("rollAmin") >> rollAmin_; SBMFCoeffs_.lookup("rollAmin") >> rollAmin_;
SBMFCoeffs_.lookup("heaveA") >> heaveA_; SBMFCoeffs_.lookup("heaveA") >> heaveA_;
@ -116,14 +116,14 @@ bool Foam::solidBodyMotionFunctions::SDA::read(const dictionary& SBMFCoeffs)
SBMFCoeffs_.lookup("dTp") >> dTp_; SBMFCoeffs_.lookup("dTp") >> dTp_;
// Rescale parameters according to the given scale parameter // Rescale parameters according to the given scale parameter
if (lamda_ > 1 + small) if (lambda_ > 1 + small)
{ {
heaveA_ /= lamda_; heaveA_ /= lambda_;
swayA_ /= lamda_; swayA_ /= lambda_;
Tp_ /= sqrt(lamda_); Tp_ /= sqrt(lambda_);
Tpn_ /= sqrt(lamda_); Tpn_ /= sqrt(lambda_);
dTi_ /= sqrt(lamda_); dTi_ /= sqrt(lambda_);
dTp_ /= sqrt(lamda_); dTp_ /= sqrt(lambda_);
} }
return true; return true;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -64,7 +64,7 @@ class SDA
vector CofG_; vector CofG_;
//- Model scale ratio //- Model scale ratio
scalar lamda_; scalar lambda_;
//- Max roll amplitude [rad] //- Max roll amplitude [rad]
scalar rollAmax_; scalar rollAmax_;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -688,7 +688,7 @@ void Foam::removePoints::getUnrefimentSet
// So now if any of the points-to-restore is used by any coupled face // So now if any of the points-to-restore is used by any coupled face
// anywhere the corresponding index in faceVertexRestore will be set. // anywhere the corresponding index in faceVertexRestore will be set.
// Now combine the localPointSet and the (sychronised) // Now combine the localPointSet and the (synchronised)
// boundary-points-to-restore. // boundary-points-to-restore.
forAll(savedFaces_, saveI) forAll(savedFaces_, saveI)

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -72,10 +72,10 @@ class DarcyForchheimer
{ {
// Private Data // Private Data
//- Darcy coeffient XYZ components (user-supplied) [1/m^2] //- Darcy coefficient XYZ components (user-supplied) [1/m^2]
dimensionedVector dXYZ_; dimensionedVector dXYZ_;
//- Forchheimer coeffient XYZ components (user-supplied) [1/m] //- Forchheimer coefficient XYZ components (user-supplied) [1/m]
dimensionedVector fXYZ_; dimensionedVector fXYZ_;
//- Darcy coefficient - converted from dXYZ [1/m^2] //- Darcy coefficient - converted from dXYZ [1/m^2]

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -226,9 +226,9 @@ public:
//- Return patch weighting factors //- Return patch weighting factors
const scalarField& weights() const; const scalarField& weights() const;
//- Return the face - cell distance coeffient //- Return the face - cell distance coefficient
// except for coupled patches for which the cell-centre // except for coupled patches for which the cell-centre
// to coupled-cell-centre distance coeffient is returned // to coupled-cell-centre distance coefficient is returned
const scalarField& deltaCoeffs() const; const scalarField& deltaCoeffs() const;

View File

@ -26,7 +26,7 @@ Class
Description Description
Calculates the estimated flow heat transfer coefficient at wall patches Calculates the estimated flow heat transfer coefficient at wall patches
as the volScalarField field 'kappaEff' using one of equations bellow. as the volScalarField field 'kappaEff' using one of equations below.
kappaEff model, given by: kappaEff model, given by:

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -109,7 +109,7 @@ private:
const bPatch& patchLevel const bPatch& patchLevel
); );
//- Combine leves //- Combine levels
void combineLevels(const label curLevel); void combineLevels(const label curLevel);
//- Shrink the number of levels to that specified //- Shrink the number of levels to that specified

View File

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

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -86,7 +86,7 @@ class PairSpringSliderDashpot
// parcelEquivD = cbrt(volumeFactor*nParticles)*p.d() // parcelEquivD = cbrt(volumeFactor*nParticles)*p.d()
// + When volumeFactor = 1, the particles are compressed // + When volumeFactor = 1, the particles are compressed
// together so that the equivalent volume of the parcel is // together so that the equivalent volume of the parcel is
// the sum of the constitutent particles // the sum of the constituent particles
// + When volumeFactor = 3*sqrt(2)/pi, the particles are // + When volumeFactor = 3*sqrt(2)/pi, the particles are
// close packed, but uncompressed. // close packed, but uncompressed.
// + When volumeFactor > 3*sqrt(2)/pi, the particles loosely // + When volumeFactor > 3*sqrt(2)/pi, the particles loosely

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -91,7 +91,7 @@ class WallLocalSpringSliderDashpot
// parcelEquivD = cbrt(volumeFactor*nParticles)*p.d() // parcelEquivD = cbrt(volumeFactor*nParticles)*p.d()
// + When volumeFactor = 1, the particles are compressed // + When volumeFactor = 1, the particles are compressed
// together so that the equivalent volume of the parcel is // together so that the equivalent volume of the parcel is
// the sum of the constitutent particles // the sum of the constituent particles
// + When volumeFactor = 3*sqrt(2)/pi, the particles are // + When volumeFactor = 3*sqrt(2)/pi, the particles are
// close packed, but uncompressed. // close packed, but uncompressed.
// + When volumeFactor > 3*sqrt(2)/pi, the particles loosely // + When volumeFactor > 3*sqrt(2)/pi, the particles loosely

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -83,7 +83,7 @@ class WallSpringSliderDashpot
// parcelEquivD = cbrt(volumeFactor*nParticles)*p.d() // parcelEquivD = cbrt(volumeFactor*nParticles)*p.d()
// + When volumeFactor = 1, the particles are compressed // + When volumeFactor = 1, the particles are compressed
// together so that the equivalent volume of the parcel is // together so that the equivalent volume of the parcel is
// the sum of the constitutent particles // the sum of the constituent particles
// + When volumeFactor = 3*sqrt(2)/pi, the particles are // + When volumeFactor = 3*sqrt(2)/pi, the particles are
// close packed, but uncompressed. // close packed, but uncompressed.
// + When volumeFactor > 3*sqrt(2)/pi, the particles loosely // + When volumeFactor > 3*sqrt(2)/pi, the particles loosely

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -630,7 +630,7 @@ void Foam::meshRefinement::markFeatureCellLevel
// { // {
// Pout<< "Feature went through cell:" << celli // Pout<< "Feature went through cell:" << celli
// << " coord:" << mesh_.cellCentres()[celli] // << " coord:" << mesh_.cellCentres()[celli]
// << " leve:" << maxFeatureLevel[celli] // << " level:" << maxFeatureLevel[celli]
// << endl; // << endl;
// } // }
// } // }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -36,7 +36,7 @@ Usage
\c scale parameter and then rotated and translated by the mandatory \c scale parameter and then rotated and translated by the mandatory
\c transform. In the example below, two geometries are included named \c transform. In the example below, two geometries are included named
\c buildingB and \c buildingC which are both formed by a translation \c buildingB and \c buildingC which are both formed by a translation
of \c buildingA according to the \c origin paramater. No rotation is of \c buildingA according to the \c origin parameter. No rotation is
applied (by setting e1 and e2 to the global x and y axis directions, applied (by setting e1 and e2 to the global x and y axis directions,
respectively). respectively).

View File

@ -91,16 +91,16 @@ bool interpolate
{ {
scalar srb2m4ac = sqrt(b2m4ac); scalar srb2m4ac = sqrt(b2m4ac);
scalar lamda = (-b - srb2m4ac)/(2.0*a); scalar lambda = (-b - srb2m4ac)/(2.0*a);
if (lamda > 1.0+curveSmall || lamda < -curveSmall) if (lambda > 1.0+curveSmall || lambda < -curveSmall)
{ {
lamda = (-b + srb2m4ac)/(2.0*a); lambda = (-b + srb2m4ac)/(2.0*a);
} }
if (lamda < 1.0+curveSmall && lamda > -curveSmall) if (lambda < 1.0+curveSmall && lambda > -curveSmall)
{ {
n = p2 + lamda*(p1 - p2); n = p2 + lambda*(p1 - p2);
return false; return false;
} }
@ -168,8 +168,8 @@ bool Xinterpolate
} }
vector D = p2 - p1; vector D = p2 - p1;
scalar lamda = (n.x() - p1.x())/D.x(); scalar lambda = (n.x() - p1.x())/D.x();
n.y() = p1.y() + lamda*D.y(); n.y() = p1.y() + lambda*D.y();
return false; return false;
} }

View File

@ -27,7 +27,7 @@ mover
solidBodyMotionFunction SDA; solidBodyMotionFunction SDA;
CofG (0 0 0); CofG (0 0 0);
lamda 50; lambda 50;
rollAmax 0.22654; rollAmax 0.22654;
rollAmin 0.10472; rollAmin 0.10472;
heaveA 3.79; heaveA 3.79;

View File

@ -27,7 +27,7 @@ mover
solidBodyMotionFunction SDA; solidBodyMotionFunction SDA;
CofG (0 0 0); CofG (0 0 0);
lamda 50; lambda 50;
rollAmax 0.22654; rollAmax 0.22654;
rollAmin 0.10472; rollAmin 0.10472;
heaveA 3.79; heaveA 3.79;

View File

@ -27,7 +27,7 @@ mover
solidBodyMotionFunction SDA; solidBodyMotionFunction SDA;
CofG (0 0 0); CofG (0 0 0);
lamda 50; lambda 50;
rollAmax 0.2; rollAmax 0.2;
rollAmin 0.1; rollAmin 0.1;
heaveA 4; heaveA 4;

View File

@ -27,7 +27,7 @@ mover
solidBodyMotionFunction SDA; solidBodyMotionFunction SDA;
CofG (0 0 0); CofG (0 0 0);
lamda 50; lambda 50;
rollAmax 0.22654; rollAmax 0.22654;
rollAmin 0.10472; rollAmin 0.10472;
heaveA 3.79; heaveA 3.79;

View File

@ -27,7 +27,7 @@ mover
solidBodyMotionFunction SDA; solidBodyMotionFunction SDA;
CofG (0 0 0); CofG (0 0 0);
lamda 50; lambda 50;
rollAmax 0.2; rollAmax 0.2;
rollAmin 0.1; rollAmin 0.1;
heaveA 4; heaveA 4;