mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Remove trailing whitespace
This commit is contained in:
@ -99,7 +99,7 @@
|
||||
scalar u0 = hs0 - p0/rho0;
|
||||
scalar R0 = p0/(rho0*T0);
|
||||
Rspecific[0] = R0;
|
||||
|
||||
|
||||
scalar integratedHeat = 0.0;
|
||||
|
||||
Info << constProp << " will be held constant." << nl
|
||||
|
||||
@ -8,7 +8,7 @@ using namespace Foam;
|
||||
|
||||
void test(const vector& a, const vector& b, const scalar tolerance)
|
||||
{
|
||||
Info<< "Vectors " << a << " and " << b
|
||||
Info<< "Vectors " << a << " and " << b
|
||||
<< " are (to tolerance of " << tolerance << "): ";
|
||||
|
||||
if (vectorTools::areParallel(a, b, tolerance))
|
||||
|
||||
@ -252,4 +252,4 @@ public:
|
||||
|
||||
#endif
|
||||
|
||||
// ************************************************************************* //
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -93,7 +93,7 @@ void Foam::CV2D::insertSurfaceNearPointPairs()
|
||||
|
||||
nNearPoints++;
|
||||
|
||||
// Correct the edge iterator for the change in the
|
||||
// Correct the edge iterator for the change in the
|
||||
// number of edges following the point-pair insertion
|
||||
eit = Finite_edges_iterator
|
||||
(
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -330,4 +330,4 @@ void Foam::patchToPoly2DMesh::createMesh()
|
||||
// * * * * * * * * * * * * * * Friend Operators * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -162,4 +162,4 @@ public:
|
||||
|
||||
#endif
|
||||
|
||||
// ************************************************************************* //
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -82,7 +82,7 @@ Foam::label Foam::checkTopology
|
||||
if (cFaces[i] < 0 || cFaces[i] >= mesh.nFaces())
|
||||
{
|
||||
cells.insert(cellI);
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -488,7 +488,7 @@ int main(int argc, char *argv[])
|
||||
"word",
|
||||
"name of dictionary to provide feature extraction information"
|
||||
);
|
||||
|
||||
|
||||
# include "setRootCase.H"
|
||||
# include "createTime.H"
|
||||
|
||||
|
||||
@ -24,40 +24,40 @@ surface1.stl
|
||||
// Load from an existing feature edge file
|
||||
featureEdgeFile "constant/triSurface/featureEdges.nas";
|
||||
}
|
||||
|
||||
|
||||
trimFeatures
|
||||
{
|
||||
// Remove features with fewer than the specified number of edges
|
||||
minElem 0;
|
||||
|
||||
|
||||
// Remove features shorter than the specified cumulative length
|
||||
minLen 0.0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
subsetFeatures
|
||||
{
|
||||
{
|
||||
// Use a plane to select feature edges
|
||||
// (normal)(basePoint)
|
||||
plane (1 0 0)(0 0 0);
|
||||
|
||||
|
||||
// Select feature edges using a box
|
||||
// (minPt)(maxPt)
|
||||
insideBox (0 0 0)(1 1 1);
|
||||
outsideBox (0 0 0)(1 1 1);
|
||||
|
||||
|
||||
// Remove any non-manifold (open or > 2 connected faces) edges
|
||||
manifoldEdges no;
|
||||
}
|
||||
|
||||
|
||||
// Output the curvature of the surface
|
||||
curvature no;
|
||||
|
||||
|
||||
// Output the proximity of feature points and edges to each other
|
||||
featureProximity no;
|
||||
// The maximum search distance to use when looking for other feature
|
||||
// points and edges
|
||||
maxFeatureProximity 1;
|
||||
|
||||
|
||||
// Out put the closeness of surface elements to other surface elements.
|
||||
closeness no;
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ Description
|
||||
}
|
||||
}
|
||||
|
||||
If volumeMode =
|
||||
If volumeMode =
|
||||
- absolute: values are given as <quantity>
|
||||
- specific: values are given as <quantity>/m3
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ Description
|
||||
gradPini gradPini [0 2 -2 0 0] 0; // initial pressure gradient
|
||||
flowDir (1 0 0); // flow direction
|
||||
}
|
||||
|
||||
|
||||
|
||||
SourceFiles
|
||||
pressureGradientExplicitSource.C
|
||||
|
||||
@ -202,7 +202,7 @@ protected:
|
||||
//- Maximum radius
|
||||
scalar rMax_;
|
||||
|
||||
|
||||
|
||||
// Protected Member Functions
|
||||
|
||||
//- Check data
|
||||
@ -247,7 +247,7 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
|
||||
|
||||
//- Construct from components
|
||||
rotorDiskSource
|
||||
(
|
||||
|
||||
@ -181,7 +181,7 @@ void Foam::ParticleErosion<CloudType>::postPatch
|
||||
|
||||
// particle direction of travel
|
||||
const vector& U = p.U();
|
||||
|
||||
|
||||
// quick reject if particle travelling away from the patch
|
||||
if ((-nw & U) < 0)
|
||||
{
|
||||
|
||||
@ -112,7 +112,7 @@ public:
|
||||
|
||||
//- Post-move hook
|
||||
virtual void postMove
|
||||
(
|
||||
(
|
||||
const parcelType& p,
|
||||
const label cellI,
|
||||
const scalar dt
|
||||
|
||||
@ -285,7 +285,7 @@ void Foam::PairCollision<CloudType>::wallInteraction()
|
||||
);
|
||||
|
||||
flatSiteData.append(wSD);
|
||||
|
||||
|
||||
particleHit = true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ functions
|
||||
|
||||
fields
|
||||
(
|
||||
R
|
||||
R
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ Description
|
||||
Calculates pressure coefficient, c_p
|
||||
|
||||
c_p = p/p_dyn,inf
|
||||
|
||||
|
||||
where:
|
||||
|
||||
p_dyn,inf = 0.5*rho*mag(U_inf)^2
|
||||
|
||||
Reference in New Issue
Block a user