Commit 8c6fa81e authored by Henry Weller's avatar Henry Weller
Browse files

vector::zero -> Zero

parent 69e877a5
......@@ -12,7 +12,7 @@ volVectorField U
mesh
);
U = dimensionedVector("0", U.dimensions(), vector::zero);
U = dimensionedVector("0", U.dimensions(), Zero);
surfaceScalarField phi
(
......
......@@ -80,7 +80,7 @@
IOobject::NO_WRITE
),
mesh,
dimensionedVector("zero", dimVelocity, vector::zero)
dimensionedVector("zero", dimVelocity, Zero)
);
#include "createPhi.H"
......
......@@ -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-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -72,7 +72,7 @@ public:
inline magnet()
:
remanence_("Mr", dimensionSet(0, -1, 0, 0, 0, 1, 0), 0),
orientation_(vector::zero)
orientation_(Zero)
{}
//- Construct from components
......@@ -94,7 +94,7 @@ public:
inline magnet(Istream& is)
:
remanence_("Mr", dimensionSet(0, -1, 0, 0, 0, 1, 0), 0),
orientation_(vector::zero)
orientation_(Zero)
{
is >> *this;
}
......
......@@ -55,7 +55,7 @@
(
"zero",
tkappaByCp().dimensions(),
symmTensor::zero
Zero
),
zeroGradientFvPatchSymmTensorField::typeName
)
......
......@@ -45,5 +45,5 @@ dimensionedVector gradP
(
"gradP",
dimensionSet(0, 1, -2, 0, 0),
vector::zero
Zero
);
......@@ -3,7 +3,7 @@
label faceId(-1);
label patchId(-1);
label nWallFaces(0);
vector wallNormal(vector::zero);
vector wallNormal(Zero);
const fvPatchList& patches = mesh.boundary();
......
......@@ -102,14 +102,14 @@ int main(int argc, char *argv[])
(
"0",
cloudSU.dimensions()/dimVolume,
vector::zero
Zero
),
zeroGradientFvPatchVectorField::typeName
);
cloudVolSUSu.internalField() = -cloudSU.source()/mesh.V();
cloudVolSUSu.correctBoundaryConditions();
cloudSU.source() = vector::zero;
cloudSU.source() = Zero;
// --- Pressure-velocity PIMPLE corrector loop
while (pimple.loop())
......
......@@ -59,7 +59,7 @@ Foam::relativeVelocityModel::relativeVelocityModel
IOobject::AUTO_WRITE
),
alphac_.mesh(),
dimensionedVector("Udm", dimVelocity, vector::zero)
dimensionedVector("Udm", dimVelocity, Zero)
)
{}
......
......@@ -23,7 +23,7 @@ volVectorField U
IOobject::AUTO_WRITE
),
mesh,
dimensionedVector("U", dimVelocity, vector::zero)
dimensionedVector("U", dimVelocity, Zero)
);
surfaceScalarField phi
......
......@@ -634,7 +634,7 @@ Foam::tmp<Foam::volVectorField> Foam::multiphaseSystem::Svm
(
"Svm",
dimensionSet(1, -2, -2, 0, 0),
vector::zero
Zero
)
)
);
......@@ -677,7 +677,7 @@ Foam::tmp<Foam::volVectorField> Foam::multiphaseSystem::Svm
)
)
{
tSvm.ref().boundaryField()[patchi] = vector::zero;
tSvm.ref().boundaryField()[patchi] = Zero;
}
}
......
......@@ -99,7 +99,7 @@ Foam::phaseModel::phaseModel
mesh
),
mesh,
dimensionedVector("0", dimVelocity/dimTime, vector::zero)
dimensionedVector("0", dimVelocity/dimTime, Zero)
),
alphaPhi_
(
......
......@@ -264,7 +264,7 @@
mSfGradp = pEqnIncomp.flux()/rAUf;
U = dimensionedVector("U", dimVelocity, vector::zero);
U = dimensionedVector("U", dimVelocity, Zero);
phasei = 0;
forAllIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
......
......@@ -49,7 +49,7 @@ volVectorField zeta
IOobject::AUTO_WRITE
),
mesh,
dimensionedVector("zero", dimLength, vector::zero)
dimensionedVector("zero", dimLength, Zero)
);
Info<< "Creating field p_gh\n" << endl;
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -101,7 +101,7 @@ Foam::tmp<Foam::volVectorField> Foam::liftModels::noLift::F() const
false
),
mesh,
dimensionedVector("zero", dimF, vector::zero)
dimensionedVector("zero", dimF, Zero)
)
);
}
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -107,7 +107,7 @@ Foam::turbulentDispersionModels::noTurbulentDispersion::F() const
mesh
),
mesh,
dimensionedVector("zero", dimF, vector::zero)
dimensionedVector("zero", dimF, Zero)
)
);
}
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -83,7 +83,7 @@ Foam::wallLubricationModels::noWallLubrication::Fi() const
false
),
mesh,
dimensionedVector("zero", dimF, vector::zero)
dimensionedVector("zero", dimF, Zero)
)
);
}
......@@ -108,7 +108,7 @@ Foam::wallLubricationModels::noWallLubrication::F() const
false
),
mesh,
dimensionedVector("zero", dimF, vector::zero)
dimensionedVector("zero", dimF, Zero)
)
);
}
......
......@@ -317,7 +317,7 @@ Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::F
false
),
this->mesh_,
dimensionedVector("zero", liftModel::dimF, vector::zero)
dimensionedVector("zero", liftModel::dimF, Zero)
)
);
}
......@@ -533,7 +533,7 @@ Foam::volVectorField& Foam::MomentumTransferPhaseSystem<BasePhaseSystem>::setF
false
),
this->mesh_,
dimensionedVector("zero", liftModel::dimF, vector::zero)
dimensionedVector("zero", liftModel::dimF, Zero)
)
);
}
......
......@@ -173,7 +173,7 @@ Foam::MovingPhaseModel<BasePhaseModel>::MovingPhaseModel
fluid.mesh()
),
fluid.mesh(),
dimensionedVector("0", dimAcceleration, vector::zero)
dimensionedVector("0", dimAcceleration, Zero)
),
divU_(NULL),
turbulence_
......
......@@ -144,7 +144,7 @@ Foam::RASModels::phasePressureModel::R() const
(
"R",
dimensionSet(0, 2, -2, 0, 0),
symmTensor::zero
Zero
)
)
);
......@@ -227,7 +227,7 @@ Foam::RASModels::phasePressureModel::devRhoReff() const
(
"R",
rho_.dimensions()*dimensionSet(0, 2, -2, 0, 0),
symmTensor::zero
Zero
)
)
);
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -101,7 +101,7 @@ Foam::tmp<Foam::volVectorField> Foam::liftModels::noLift::F() const
false
),
mesh,
dimensionedVector("zero", dimF, vector::zero)
dimensionedVector("zero", dimF, Zero)
)
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment