Removed the unnecessary ".0" from dimensionedScalar constructors
This commit is contained in:
@ -103,7 +103,7 @@ Foam::tmp<Foam::volScalarField> Foam::XiEqModels::basicSubGrid::XiEq() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", Nv.dimensions(), 0.0)
|
dimensionedScalar("zero", Nv.dimensions(), 0)
|
||||||
);
|
);
|
||||||
N.primitiveFieldRef() = Nv.primitiveField()*Cw;
|
N.primitiveFieldRef() = Nv.primitiveField()*Cw;
|
||||||
|
|
||||||
|
|||||||
@ -143,7 +143,7 @@ Foam::tmp<Foam::volScalarField> Foam::PDRDragModels::basic::Gk() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
U_.mesh(),
|
U_.mesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimLength/pow(dimTime, 3), 0.0)
|
dimensionedScalar("zero", dimMass/dimLength/pow(dimTime, 3), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -105,7 +105,7 @@ Foam::tmp<Foam::volScalarField> Foam::XiEqModels::SCOPEXiEq::XiEq() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
epsilon.mesh(),
|
epsilon.mesh(),
|
||||||
dimensionedScalar("XiEq", dimless, 0.0)
|
dimensionedScalar("XiEq", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
volScalarField& xieq = tXiEq.ref();
|
volScalarField& xieq = tXiEq.ref();
|
||||||
|
|||||||
@ -110,7 +110,7 @@ Foam::XiEqModel::calculateSchelkinEffect(const scalar uPrimeCoef) const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", Nv.dimensions(), 0.0)
|
dimensionedScalar("zero", Nv.dimensions(), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
volScalarField& N = tN.ref();
|
volScalarField& N = tN.ref();
|
||||||
|
|||||||
@ -255,7 +255,7 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::SCOPE::Su0pTphi
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
p.mesh(),
|
p.mesh(),
|
||||||
dimensionedScalar("Su0", dimVelocity, 0.0)
|
dimensionedScalar("Su0", dimVelocity, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::SCOPE::Su0pTphi
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
p.mesh(),
|
p.mesh(),
|
||||||
dimensionedScalar("Su0", dimVelocity, 0.0)
|
dimensionedScalar("Su0", dimVelocity, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -358,7 +358,7 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::SCOPE::Ma
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
phi.mesh(),
|
phi.mesh(),
|
||||||
dimensionedScalar("Ma", dimless, 0.0)
|
dimensionedScalar("Ma", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -96,7 +96,7 @@ if (ign.ignited())
|
|||||||
);
|
);
|
||||||
|
|
||||||
// volScalarField l = 0.337*k*sqrt(k)/epsilon;
|
// volScalarField l = 0.337*k*sqrt(k)/epsilon;
|
||||||
// Reta *= max((l - dimensionedScalar("dl", dimLength, 1.5e-3))/l, 0.0);
|
// Reta *= max((l - dimensionedScalar("dl", dimLength, 1.5e-3))/l, 0);
|
||||||
|
|
||||||
// Calculate Xi flux
|
// Calculate Xi flux
|
||||||
// ~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@ -135,7 +135,7 @@ volScalarField Qdot
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -103,7 +103,7 @@ volScalarField Qdot
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
|
|||||||
@ -125,7 +125,7 @@ volScalarField Qdot
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
|
|||||||
@ -107,7 +107,7 @@ volScalarField Qdot
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
|
|||||||
@ -82,7 +82,7 @@ volVectorField P
|
|||||||
V == max
|
V == max
|
||||||
(
|
(
|
||||||
P.component(Foam::vector::X) - strike,
|
P.component(Foam::vector::X) - strike,
|
||||||
dimensionedScalar("0", V.dimensions(), 0.0)
|
dimensionedScalar("0", V.dimensions(), 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
volScalarField delta
|
volScalarField delta
|
||||||
|
|||||||
@ -41,7 +41,7 @@ else
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("0", dimMass/dimLength/dimTime, 0.0)
|
dimensionedScalar("0", dimMass/dimLength/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,7 +25,7 @@ surfaceScalarField phi
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", mesh.Sf().dimensions()*U.dimensions(), 0.0)
|
dimensionedScalar("zero", mesh.Sf().dimensions()*U.dimensions(), 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ const volScalarField h0
|
|||||||
IOobject::READ_IF_PRESENT
|
IOobject::READ_IF_PRESENT
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("h0", dimLength, 0.0)
|
dimensionedScalar("h0", dimLength, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< "Creating field hU\n" << endl;
|
Info<< "Creating field hU\n" << endl;
|
||||||
|
|||||||
@ -58,7 +58,7 @@ volScalarField rhoEffLagrangian
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimDensity, 0.0)
|
dimensionedScalar("zero", dimDensity, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
// dynamic pressure field - used externally (optional)
|
// dynamic pressure field - used externally (optional)
|
||||||
@ -73,7 +73,7 @@ volScalarField pDyn
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimPressure, 0.0)
|
dimensionedScalar("zero", dimPressure, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ volScalarField Qdot
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
|
|||||||
@ -128,7 +128,7 @@ volScalarField Qdot
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
|
|||||||
@ -110,7 +110,7 @@ volScalarField Qdot
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
|
|||||||
@ -126,7 +126,7 @@ volScalarField Qdot
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
|
|||||||
@ -12,7 +12,7 @@ correctUphiBCs(U, phi);
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("pcorr", p.dimensions(), 0.0),
|
dimensionedScalar("pcorr", p.dimensions(), 0),
|
||||||
pcorrTypes
|
pcorrTypes
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -136,7 +136,7 @@ Foam::fv::VoFSolidificationMeltingSource::VoFSolidificationMeltingSource
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("alpha1", dimless, 0.0),
|
dimensionedScalar("alpha1", dimless, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
curTimeIndex_(-1)
|
curTimeIndex_(-1)
|
||||||
|
|||||||
@ -88,7 +88,7 @@ Foam::multiphaseMixtureThermo::multiphaseMixtureThermo
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("rhoPhi", dimMass/dimTime, 0.0)
|
dimensionedScalar("rhoPhi", dimMass/dimTime, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
alphas_
|
alphas_
|
||||||
@ -102,7 +102,7 @@ Foam::multiphaseMixtureThermo::multiphaseMixtureThermo
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("alphas", dimless, 0.0)
|
dimensionedScalar("alphas", dimless, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
sigmas_(lookup("sigmas")),
|
sigmas_(lookup("sigmas")),
|
||||||
@ -1035,7 +1035,7 @@ Foam::multiphaseMixtureThermo::nearInterface() const
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("nearInterface", dimless, 0.0)
|
dimensionedScalar("nearInterface", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -1158,7 +1158,7 @@ void Foam::multiphaseMixtureThermo::solveAlphas
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("Sp", alpha.dgdt().dimensions(), 0.0)
|
dimensionedScalar("Sp", alpha.dgdt().dimensions(), 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
volScalarField::Internal Su
|
volScalarField::Internal Su
|
||||||
|
|||||||
@ -186,7 +186,7 @@ Foam::threePhaseInterfaceProperties::threePhaseInterfaceProperties
|
|||||||
mixture.alpha1().mesh()
|
mixture.alpha1().mesh()
|
||||||
),
|
),
|
||||||
mixture.alpha1().mesh(),
|
mixture.alpha1().mesh(),
|
||||||
dimensionedScalar("nHatf", dimArea, 0.0)
|
dimensionedScalar("nHatf", dimArea, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
K_
|
K_
|
||||||
@ -198,7 +198,7 @@ Foam::threePhaseInterfaceProperties::threePhaseInterfaceProperties
|
|||||||
mixture.alpha1().mesh()
|
mixture.alpha1().mesh()
|
||||||
),
|
),
|
||||||
mixture.alpha1().mesh(),
|
mixture.alpha1().mesh(),
|
||||||
dimensionedScalar("K", dimless/dimLength, 0.0)
|
dimensionedScalar("K", dimless/dimLength, 0)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
calculateK();
|
calculateK();
|
||||||
|
|||||||
@ -401,7 +401,7 @@ Foam::multiphaseSystem::multiphaseSystem
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("alphas", dimless, 0.0)
|
dimensionedScalar("alphas", dimless, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
sigmas_(lookup("sigmas")),
|
sigmas_(lookup("sigmas")),
|
||||||
@ -842,7 +842,7 @@ Foam::multiphaseSystem::nearInterface() const
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("nearInterface", dimless, 0.0)
|
dimensionedScalar("nearInterface", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -92,7 +92,7 @@ Foam::multiphaseMixture::multiphaseMixture
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("rhoPhi", dimMass/dimTime, 0.0)
|
dimensionedScalar("rhoPhi", dimMass/dimTime, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
alphas_
|
alphas_
|
||||||
@ -106,7 +106,7 @@ Foam::multiphaseMixture::multiphaseMixture
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("alphas", dimless, 0.0)
|
dimensionedScalar("alphas", dimless, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
nu_
|
nu_
|
||||||
@ -544,7 +544,7 @@ Foam::multiphaseMixture::nearInterface() const
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("nearInterface", dimless, 0.0)
|
dimensionedScalar("nearInterface", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -86,7 +86,7 @@ Foam::tmp<Foam::volVectorField> Foam::wallLubricationModels::Frank::Fi() const
|
|||||||
)
|
)
|
||||||
*max
|
*max
|
||||||
(
|
(
|
||||||
dimensionedScalar("zero", dimless/dimLength, 0.0),
|
dimensionedScalar("zero", dimless/dimLength, 0),
|
||||||
(1 - yTilde)/(Cwd_*y*pow(yTilde, p_ - 1))
|
(1 - yTilde)/(Cwd_*y*pow(yTilde, p_ - 1))
|
||||||
)
|
)
|
||||||
*pair_.continuous().rho()
|
*pair_.continuous().rho()
|
||||||
|
|||||||
@ -519,7 +519,7 @@ Foam::multiphaseSystem::multiphaseSystem
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("alphas", dimless, 0.0)
|
dimensionedScalar("alphas", dimless, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
cAlphas_(lookup("interfaceCompression")),
|
cAlphas_(lookup("interfaceCompression")),
|
||||||
@ -611,7 +611,7 @@ Foam::multiphaseSystem::nearInterface() const
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("nearInterface", dimless, 0.0)
|
dimensionedScalar("nearInterface", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -141,7 +141,7 @@ JohnsonJacksonSchaeffer::nu
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
phase.mesh(),
|
phase.mesh(),
|
||||||
dimensionedScalar("nu", dimensionSet(0, 2, -1, 0, 0), 0.0)
|
dimensionedScalar("nu", dimensionSet(0, 2, -1, 0, 0), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -130,7 +130,7 @@ Foam::kineticTheoryModels::frictionalStressModels::Schaeffer::nu
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
phase.mesh(),
|
phase.mesh(),
|
||||||
dimensionedScalar("nu", dimensionSet(0, 2, -1, 0, 0), 0.0)
|
dimensionedScalar("nu", dimensionSet(0, 2, -1, 0, 0), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -142,7 +142,7 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
U.mesh(),
|
U.mesh(),
|
||||||
dimensionedScalar("zero", dimensionSet(0, 2, -1, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(0, 2, -1, 0, 0), 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
gs0_
|
gs0_
|
||||||
@ -156,7 +156,7 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
U.mesh(),
|
U.mesh(),
|
||||||
dimensionedScalar("zero", dimensionSet(0, 0, 0, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(0, 0, 0, 0, 0), 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
kappa_
|
kappa_
|
||||||
@ -170,7 +170,7 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
U.mesh(),
|
U.mesh(),
|
||||||
dimensionedScalar("zero", dimensionSet(1, -1, -1, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(1, -1, -1, 0, 0), 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
nuFric_
|
nuFric_
|
||||||
@ -184,7 +184,7 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
U.mesh(),
|
U.mesh(),
|
||||||
dimensionedScalar("zero", dimensionSet(0, 2, -1, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(0, 2, -1, 0, 0), 0)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (type == typeName)
|
if (type == typeName)
|
||||||
|
|||||||
@ -67,7 +67,7 @@ Foam::RASModels::phasePressureModel::phasePressureModel
|
|||||||
coeffDict_.lookup("g0")
|
coeffDict_.lookup("g0")
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
nut_ == dimensionedScalar("zero", nut_.dimensions(), 0.0);
|
nut_ == dimensionedScalar("zero", nut_.dimensions(), 0);
|
||||||
|
|
||||||
if (type == typeName)
|
if (type == typeName)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -197,7 +197,7 @@ void Foam::twoPhaseSystem::solve()
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("Sp", dimless/dimTime, 0.0)
|
dimensionedScalar("Sp", dimless/dimTime, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
volScalarField::Internal Su
|
volScalarField::Internal Su
|
||||||
|
|||||||
@ -85,7 +85,7 @@ Foam::tmp<Foam::volVectorField> Foam::wallLubricationModels::Frank::Fi() const
|
|||||||
)
|
)
|
||||||
*max
|
*max
|
||||||
(
|
(
|
||||||
dimensionedScalar("zero", dimless/dimLength, 0.0),
|
dimensionedScalar("zero", dimless/dimLength, 0),
|
||||||
(1.0 - yTilde)/(Cwd_*y*pow(yTilde, p_ - 1.0))
|
(1.0 - yTilde)/(Cwd_*y*pow(yTilde, p_ - 1.0))
|
||||||
)
|
)
|
||||||
*pair_.continuous().rho()
|
*pair_.continuous().rho()
|
||||||
|
|||||||
@ -141,7 +141,7 @@ JohnsonJacksonSchaeffer::nu
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
phase.mesh(),
|
phase.mesh(),
|
||||||
dimensionedScalar("nu", dimensionSet(0, 2, -1, 0, 0), 0.0)
|
dimensionedScalar("nu", dimensionSet(0, 2, -1, 0, 0), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -130,7 +130,7 @@ Foam::kineticTheoryModels::frictionalStressModels::Schaeffer::nu
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
phase.mesh(),
|
phase.mesh(),
|
||||||
dimensionedScalar("nu", dimensionSet(0, 2, -1, 0, 0), 0.0)
|
dimensionedScalar("nu", dimensionSet(0, 2, -1, 0, 0), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -142,7 +142,7 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
U.mesh(),
|
U.mesh(),
|
||||||
dimensionedScalar("zero", dimensionSet(0, 2, -1, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(0, 2, -1, 0, 0), 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
gs0_
|
gs0_
|
||||||
@ -156,7 +156,7 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
U.mesh(),
|
U.mesh(),
|
||||||
dimensionedScalar("zero", dimensionSet(0, 0, 0, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(0, 0, 0, 0, 0), 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
kappa_
|
kappa_
|
||||||
@ -170,7 +170,7 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
U.mesh(),
|
U.mesh(),
|
||||||
dimensionedScalar("zero", dimensionSet(1, -1, -1, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(1, -1, -1, 0, 0), 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
nuFric_
|
nuFric_
|
||||||
@ -184,7 +184,7 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
U.mesh(),
|
U.mesh(),
|
||||||
dimensionedScalar("zero", dimensionSet(0, 2, -1, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(0, 2, -1, 0, 0), 0)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (type == typeName)
|
if (type == typeName)
|
||||||
|
|||||||
@ -70,7 +70,7 @@ Foam::RASModels::phasePressureModel::phasePressureModel
|
|||||||
coeffDict_.lookup("g0")
|
coeffDict_.lookup("g0")
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
nut_ == dimensionedScalar("zero", nut_.dimensions(), 0.0);
|
nut_ == dimensionedScalar("zero", nut_.dimensions(), 0);
|
||||||
|
|
||||||
if (type == typeName)
|
if (type == typeName)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -400,7 +400,7 @@ void Foam::twoPhaseSystem::solve()
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("Sp", dgdt_.dimensions(), 0.0)
|
dimensionedScalar("Sp", dgdt_.dimensions(), 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
volScalarField::Internal Su
|
volScalarField::Internal Su
|
||||||
|
|||||||
@ -25,7 +25,7 @@ volScalarField threeKalpha
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("0", dimensionSet(0, 2, -2 , -1, 0), 0.0)
|
dimensionedScalar("0", dimensionSet(0, 2, -2 , -1, 0), 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ volScalarField DT
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("0", dimensionSet(0, 2, -1 , 0, 0), 0.0)
|
dimensionedScalar("0", dimensionSet(0, 2, -1 , 0, 0), 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -85,7 +85,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("aggomeration", dimless, 0.0)
|
dimensionedScalar("aggomeration", dimless, 0)
|
||||||
);
|
);
|
||||||
scalarField& fld = scalarAgglomeration.primitiveFieldRef();
|
scalarField& fld = scalarAgglomeration.primitiveFieldRef();
|
||||||
forAll(fld, celli)
|
forAll(fld, celli)
|
||||||
@ -164,7 +164,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("aggomeration", dimless, 0.0)
|
dimensionedScalar("aggomeration", dimless, 0)
|
||||||
);
|
);
|
||||||
scalarField& fld = scalarAgglomeration.primitiveFieldRef();
|
scalarField& fld = scalarAgglomeration.primitiveFieldRef();
|
||||||
forAll(fld, celli)
|
forAll(fld, celli)
|
||||||
|
|||||||
@ -111,7 +111,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("patchDist", dimLength, 0.0)
|
dimensionedScalar("patchDist", dimLength, 0)
|
||||||
);
|
);
|
||||||
scalarField pf(vsf.boundaryField()[patch.index()].size());
|
scalarField pf(vsf.boundaryField()[patch.index()].size());
|
||||||
forAll(pf, facei)
|
forAll(pf, facei)
|
||||||
@ -150,7 +150,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("otherPatchDist", dimLength, 0.0)
|
dimensionedScalar("otherPatchDist", dimLength, 0)
|
||||||
);
|
);
|
||||||
vsf.boundaryFieldRef()[patch.index()] = pwd;
|
vsf.boundaryFieldRef()[patch.index()] = pwd;
|
||||||
|
|
||||||
|
|||||||
@ -117,7 +117,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
pointMesh::New(mesh),
|
pointMesh::New(mesh),
|
||||||
dimensionedScalar("wallDist", dimLength, 0.0)
|
dimensionedScalar("wallDist", dimLength, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
forAll(allPointInfo, pointi)
|
forAll(allPointInfo, pointi)
|
||||||
|
|||||||
@ -1119,7 +1119,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("cellId", dimless, 0.0)
|
dimensionedScalar("cellId", dimless, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
forAll(foamCellMap, celli)
|
forAll(foamCellMap, celli)
|
||||||
@ -1139,7 +1139,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("cellType", dimless, 0.0)
|
dimensionedScalar("cellType", dimless, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
forAll(foamCellType, celli)
|
forAll(foamCellType, celli)
|
||||||
|
|||||||
@ -69,7 +69,7 @@ volScalarField mask
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimless, 0.0),
|
dimensionedScalar("zero", dimless, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -440,7 +440,7 @@ void SpalartAllmarasDES<BasicTurbulenceModel>::correct()
|
|||||||
fvOptions.constrain(nuTildaEqn.ref());
|
fvOptions.constrain(nuTildaEqn.ref());
|
||||||
solve(nuTildaEqn);
|
solve(nuTildaEqn);
|
||||||
fvOptions.correct(nuTilda_);
|
fvOptions.correct(nuTilda_);
|
||||||
bound(nuTilda_, dimensionedScalar("0", nuTilda_.dimensions(), 0.0));
|
bound(nuTilda_, dimensionedScalar("0", nuTilda_.dimensions(), 0));
|
||||||
nuTilda_.correctBoundaryConditions();
|
nuTilda_.correctBoundaryConditions();
|
||||||
|
|
||||||
correctNut();
|
correctNut();
|
||||||
|
|||||||
@ -366,7 +366,7 @@ void SpalartAllmaras<BasicTurbulenceModel>::correct()
|
|||||||
fvOptions.constrain(nuTildaEqn.ref());
|
fvOptions.constrain(nuTildaEqn.ref());
|
||||||
solve(nuTildaEqn);
|
solve(nuTildaEqn);
|
||||||
fvOptions.correct(nuTilda_);
|
fvOptions.correct(nuTilda_);
|
||||||
bound(nuTilda_, dimensionedScalar("0", nuTilda_.dimensions(), 0.0));
|
bound(nuTilda_, dimensionedScalar("0", nuTilda_.dimensions(), 0));
|
||||||
nuTilda_.correctBoundaryConditions();
|
nuTilda_.correctBoundaryConditions();
|
||||||
|
|
||||||
correctNut(fv1);
|
correctNut(fv1);
|
||||||
|
|||||||
@ -231,7 +231,7 @@ v2f<BasicTurbulenceModel>::v2f
|
|||||||
this->mesh_
|
this->mesh_
|
||||||
),
|
),
|
||||||
v2Min_(dimensionedScalar("v2Min", v2_.dimensions(), small)),
|
v2Min_(dimensionedScalar("v2Min", v2_.dimensions(), small)),
|
||||||
fMin_(dimensionedScalar("fMin", f_.dimensions(), 0.0))
|
fMin_(dimensionedScalar("fMin", f_.dimensions(), 0))
|
||||||
{
|
{
|
||||||
bound(k_, this->kMin_);
|
bound(k_, this->kMin_);
|
||||||
bound(epsilon_, this->epsilonMin_);
|
bound(epsilon_, this->epsilonMin_);
|
||||||
|
|||||||
@ -119,7 +119,7 @@ void Foam::epsilonWallFunctionFvPatchScalarField::createAveragingWeights()
|
|||||||
false // do not register
|
false // do not register
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimless, 0.0)
|
dimensionedScalar("zero", dimless, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
DynamicList<label> epsilonPatches(bf.size());
|
DynamicList<label> epsilonPatches(bf.size());
|
||||||
|
|||||||
@ -123,7 +123,7 @@ void omegaWallFunctionFvPatchScalarField::createAveragingWeights()
|
|||||||
false // do not register
|
false // do not register
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimless, 0.0)
|
dimensionedScalar("zero", dimless, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
DynamicList<label> omegaPatches(bf.size());
|
DynamicList<label> omegaPatches(bf.size());
|
||||||
|
|||||||
@ -72,7 +72,7 @@ FSD<ReactionThermo, ThermoType>::FSD
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimless, 0.0)
|
dimensionedScalar("zero", dimless, 0)
|
||||||
),
|
),
|
||||||
YFuelFuelStream_(dimensionedScalar("YFuelStream", dimless, 1.0)),
|
YFuelFuelStream_(dimensionedScalar("YFuelStream", dimless, 1.0)),
|
||||||
YO2OxiStream_(dimensionedScalar("YOxiStream", dimless, 0.23)),
|
YO2OxiStream_(dimensionedScalar("YOxiStream", dimless, 0.23)),
|
||||||
@ -339,7 +339,7 @@ template<class ReactionThermo, class ThermoType>
|
|||||||
void FSD<ReactionThermo, ThermoType>::correct()
|
void FSD<ReactionThermo, ThermoType>::correct()
|
||||||
{
|
{
|
||||||
this->wFuel_ ==
|
this->wFuel_ ==
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimLength)/dimTime, 0.0);
|
dimensionedScalar("zero", dimMass/pow3(dimLength)/dimTime, 0);
|
||||||
|
|
||||||
calculateSourceNorm();
|
calculateSourceNorm();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -67,7 +67,7 @@ template<class ReactionThermo, class ThermoType>
|
|||||||
void diffusion<ReactionThermo, ThermoType>::correct()
|
void diffusion<ReactionThermo, ThermoType>::correct()
|
||||||
{
|
{
|
||||||
this->wFuel_ ==
|
this->wFuel_ ==
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimLength)/dimTime, 0.0);
|
dimensionedScalar("zero", dimMass/pow3(dimLength)/dimTime, 0);
|
||||||
|
|
||||||
this->singleMixturePtr_->fresCorrect();
|
this->singleMixturePtr_->fresCorrect();
|
||||||
|
|
||||||
|
|||||||
@ -65,7 +65,7 @@ template<class ReactionThermo, class ThermoType>
|
|||||||
void infinitelyFastChemistry<ReactionThermo, ThermoType>::correct()
|
void infinitelyFastChemistry<ReactionThermo, ThermoType>::correct()
|
||||||
{
|
{
|
||||||
this->wFuel_ ==
|
this->wFuel_ ==
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimLength)/dimTime, 0.0);
|
dimensionedScalar("zero", dimMass/pow3(dimLength)/dimTime, 0);
|
||||||
|
|
||||||
this->singleMixturePtr_->fresCorrect();
|
this->singleMixturePtr_->fresCorrect();
|
||||||
|
|
||||||
|
|||||||
@ -89,7 +89,7 @@ Foam::combustionModels::noCombustion<ReactionThermo>::Qdot() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("Qdot", dimEnergy/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -55,7 +55,7 @@ singleStepCombustion<ReactionThermo, ThermoType>::singleStepCombustion
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0)
|
||||||
),
|
),
|
||||||
semiImplicit_(readBool(this->coeffs_.lookup("semiImplicit")))
|
semiImplicit_(readBool(this->coeffs_.lookup("semiImplicit")))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -425,7 +425,7 @@ void Foam::displacementLayeredMotionMotionSolver::cellZoneSolve
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
pointMesh::New(mesh()),
|
pointMesh::New(mesh()),
|
||||||
dimensionedScalar("zero", dimLength, 0.0)
|
dimensionedScalar("zero", dimLength, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
forAll(distance, pointi)
|
forAll(distance, pointi)
|
||||||
|
|||||||
@ -70,7 +70,7 @@ Foam::interpolatingSolidBodyMotionSolver::interpolatingSolidBodyMotionSolver
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
pointMesh::New(mesh),
|
pointMesh::New(mesh),
|
||||||
dimensionedScalar("zero", dimless, 0.0)
|
dimensionedScalar("zero", dimless, 0)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// Calculate scaling factor everywhere
|
// Calculate scaling factor everywhere
|
||||||
|
|||||||
@ -79,7 +79,7 @@ void Foam::CorrectPhi
|
|||||||
mesh
|
mesh
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("pcorr", p.dimensions(), 0.0),
|
dimensionedScalar("pcorr", p.dimensions(), 0),
|
||||||
pcorrTypes
|
pcorrTypes
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -156,7 +156,7 @@ void Foam::CorrectPhi
|
|||||||
mesh
|
mesh
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("pcorr", p.dimensions(), 0.0),
|
dimensionedScalar("pcorr", p.dimensions(), 0),
|
||||||
pcorrTypes
|
pcorrTypes
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -833,7 +833,7 @@ tmp<surfaceScalarField> CoEulerDdtScheme<Type>::meshPhi
|
|||||||
(
|
(
|
||||||
"meshPhi",
|
"meshPhi",
|
||||||
mesh(),
|
mesh(),
|
||||||
dimensionedScalar(dimVolume/dimTime, 0.0)
|
dimensionedScalar(dimVolume/dimTime, 0)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -809,7 +809,7 @@ Foam::fvMatrix<Type>::H() const
|
|||||||
Hphi.replace
|
Hphi.replace
|
||||||
(
|
(
|
||||||
cmpt,
|
cmpt,
|
||||||
dimensionedScalar("0", Hphi.dimensions(), 0.0)
|
dimensionedScalar("0", Hphi.dimensions(), 0)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -435,7 +435,7 @@ const Foam::surfaceScalarField& Foam::fvMesh::phi() const
|
|||||||
// mesh motion fluxes if the time has been incremented
|
// mesh motion fluxes if the time has been incremented
|
||||||
if (!time().subCycling() && phiPtr_->timeIndex() != time().timeIndex())
|
if (!time().subCycling() && phiPtr_->timeIndex() != time().timeIndex())
|
||||||
{
|
{
|
||||||
(*phiPtr_) = dimensionedScalar("0", dimVolume/dimTime, 0.0);
|
(*phiPtr_) = dimensionedScalar("0", dimVolume/dimTime, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return *phiPtr_;
|
return *phiPtr_;
|
||||||
|
|||||||
@ -123,7 +123,7 @@ public:
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("upwindLimiter", dimless, 0.0)
|
dimensionedScalar("upwindLimiter", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -84,7 +84,7 @@ bool Foam::functionObjects::CourantNo::calc()
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("0", dimless, 0.0),
|
dimensionedScalar("0", dimless, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -82,7 +82,7 @@ Foam::tmp<Foam::pointScalarField> Foam::functionObjects::streamFunction::calc
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
pMesh,
|
pMesh,
|
||||||
dimensionedScalar("zero", phi.dimensions(), 0.0)
|
dimensionedScalar("zero", phi.dimensions(), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
pointScalarField& streamFunction = tstreamFunction.ref();
|
pointScalarField& streamFunction = tstreamFunction.ref();
|
||||||
|
|||||||
@ -78,7 +78,7 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::yPlus::calcYPlus
|
|||||||
mesh_
|
mesh_
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("0", dimless, 0.0)
|
dimensionedScalar("0", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -115,7 +115,7 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::scalarTransport::D
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar(Dname, phi.dimensions()/dimLength, 0.0)
|
dimensionedScalar(Dname, phi.dimensions()/dimLength, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -232,7 +232,7 @@ void Foam::fv::interRegionExplicitPorositySource::addSup
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
nbrMesh,
|
nbrMesh,
|
||||||
dimensionedScalar("zero", dimDensity, 0.0)
|
dimensionedScalar("zero", dimDensity, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
volScalarField muNbr
|
volScalarField muNbr
|
||||||
@ -246,7 +246,7 @@ void Foam::fv::interRegionExplicitPorositySource::addSup
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
nbrMesh,
|
nbrMesh,
|
||||||
dimensionedScalar("zero", dimViscosity, 0.0)
|
dimensionedScalar("zero", dimViscosity, 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
const volScalarField& mu =
|
const volScalarField& mu =
|
||||||
|
|||||||
@ -377,7 +377,7 @@ void Foam::DSMCCloud<ParcelType>::collisions()
|
|||||||
template<class ParcelType>
|
template<class ParcelType>
|
||||||
void Foam::DSMCCloud<ParcelType>::resetFields()
|
void Foam::DSMCCloud<ParcelType>::resetFields()
|
||||||
{
|
{
|
||||||
q_ = dimensionedScalar("zero", dimensionSet(1, 0, -3, 0, 0), 0.0);
|
q_ = dimensionedScalar("zero", dimensionSet(1, 0, -3, 0, 0), 0);
|
||||||
|
|
||||||
fD_ = dimensionedVector
|
fD_ = dimensionedVector
|
||||||
(
|
(
|
||||||
@ -388,9 +388,9 @@ void Foam::DSMCCloud<ParcelType>::resetFields()
|
|||||||
|
|
||||||
rhoN_ = dimensionedScalar("zero", dimensionSet(0, -3, 0, 0, 0), vSmall);
|
rhoN_ = dimensionedScalar("zero", dimensionSet(0, -3, 0, 0, 0), vSmall);
|
||||||
rhoM_ = dimensionedScalar("zero", dimensionSet(1, -3, 0, 0, 0), vSmall);
|
rhoM_ = dimensionedScalar("zero", dimensionSet(1, -3, 0, 0, 0), vSmall);
|
||||||
dsmcRhoN_ = dimensionedScalar("zero", dimensionSet(0, -3, 0, 0, 0), 0.0);
|
dsmcRhoN_ = dimensionedScalar("zero", dimensionSet(0, -3, 0, 0, 0), 0);
|
||||||
linearKE_ = dimensionedScalar("zero", dimensionSet(1, -1, -2, 0, 0), 0.0);
|
linearKE_ = dimensionedScalar("zero", dimensionSet(1, -1, -2, 0, 0), 0);
|
||||||
internalE_ = dimensionedScalar("zero", dimensionSet(1, -1, -2, 0, 0), 0.0);
|
internalE_ = dimensionedScalar("zero", dimensionSet(1, -1, -2, 0, 0), 0);
|
||||||
iDof_ = dimensionedScalar("zero", dimensionSet(0, -3, 0, 0, 0), vSmall);
|
iDof_ = dimensionedScalar("zero", dimensionSet(0, -3, 0, 0, 0), vSmall);
|
||||||
|
|
||||||
momentum_ = dimensionedVector
|
momentum_ = dimensionedVector
|
||||||
@ -735,7 +735,7 @@ Foam::DSMCCloud<ParcelType>::DSMCCloud
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimensionSet(0, 3, -1, 0, 0), 0.0),
|
dimensionedScalar("zero", dimensionSet(0, 3, -1, 0, 0), 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
collisionSelectionRemainder_
|
collisionSelectionRemainder_
|
||||||
@ -760,7 +760,7 @@ Foam::DSMCCloud<ParcelType>::DSMCCloud
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimensionSet(1, 0, -3, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(1, 0, -3, 0, 0), 0)
|
||||||
),
|
),
|
||||||
fD_
|
fD_
|
||||||
(
|
(
|
||||||
@ -817,7 +817,7 @@ Foam::DSMCCloud<ParcelType>::DSMCCloud
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimensionSet(0, -3, 0, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(0, -3, 0, 0, 0), 0)
|
||||||
),
|
),
|
||||||
linearKE_
|
linearKE_
|
||||||
(
|
(
|
||||||
@ -830,7 +830,7 @@ Foam::DSMCCloud<ParcelType>::DSMCCloud
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimensionSet(1, -1, -2, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(1, -1, -2, 0, 0), 0)
|
||||||
),
|
),
|
||||||
internalE_
|
internalE_
|
||||||
(
|
(
|
||||||
@ -843,7 +843,7 @@ Foam::DSMCCloud<ParcelType>::DSMCCloud
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimensionSet(1, -1, -2, 0, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(1, -1, -2, 0, 0), 0)
|
||||||
),
|
),
|
||||||
iDof_
|
iDof_
|
||||||
(
|
(
|
||||||
@ -891,7 +891,7 @@ Foam::DSMCCloud<ParcelType>::DSMCCloud
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimensionSet(0, 0, 0, 1, 0), 0.0)
|
dimensionedScalar("zero", dimensionSet(0, 0, 0, 1, 0), 0)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
boundaryU_
|
boundaryU_
|
||||||
|
|||||||
@ -91,7 +91,7 @@ Foam::coalCloudList::hsTrans() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimEnergy, 0.0)
|
dimensionedScalar("zero", dimEnergy, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -157,7 +157,7 @@ Foam::coalCloudList::rhoTrans() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimMass, 0.0)
|
dimensionedScalar("zero", dimMass, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -193,7 +193,7 @@ Foam::coalCloudList::Srho() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimDensity/dimTime, 0.0)
|
dimensionedScalar("zero", dimDensity/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ Foam::coalCloudList::Srho
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimDensity/dimTime, 0.0)
|
dimensionedScalar("zero", dimDensity/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -386,7 +386,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimMass, 0.0)
|
dimensionedScalar("zero", dimMass, 0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -469,7 +469,7 @@ Foam::KinematicCloud<CloudType>::vDotSweep() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimless/dimTime, 0.0),
|
dimensionedScalar("zero", dimless/dimTime, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -508,7 +508,7 @@ Foam::KinematicCloud<CloudType>::theta() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimless, 0.0),
|
dimensionedScalar("zero", dimless, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -547,7 +547,7 @@ Foam::KinematicCloud<CloudType>::alpha() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimless, 0.0)
|
dimensionedScalar("zero", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -584,7 +584,7 @@ Foam::KinematicCloud<CloudType>::rhoEff() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimDensity, 0.0)
|
dimensionedScalar("zero", dimDensity, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -133,7 +133,7 @@ Foam::ReactingCloud<CloudType>::ReactingCloud
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimMass, 0.0)
|
dimensionedScalar("zero", dimMass, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -123,7 +123,7 @@ inline Foam::tmp<Foam::fvScalarMatrix> Foam::ReactingCloud<CloudType>::SYi
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimTime/dimVolume, 0.0)
|
dimensionedScalar("zero", dimMass/dimTime/dimVolume, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -252,7 +252,7 @@ Foam::ReactingCloud<CloudType>::Srho(volScalarField& rho) const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimTime/dimVolume, 0.0)
|
dimensionedScalar("zero", dimMass/dimTime/dimVolume, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -71,7 +71,7 @@ void Foam::ThermoCloud<CloudType>::setModels()
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimArea, 0.0)
|
dimensionedScalar("zero", dimArea, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ void Foam::ThermoCloud<CloudType>::setModels()
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", pow4(dimTemperature), 0.0)
|
dimensionedScalar("zero", pow4(dimTemperature), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -176,7 +176,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimEnergy, 0.0)
|
dimensionedScalar("zero", dimEnergy, 0)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
hsCoeff_
|
hsCoeff_
|
||||||
@ -192,7 +192,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimTemperature, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimTemperature, 0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -276,7 +276,7 @@ inline Foam::tmp<Foam::volScalarField> Foam::ThermoCloud<CloudType>::Ep() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimLength/pow3(dimTime), 0.0)
|
dimensionedScalar("zero", dimMass/dimLength/pow3(dimTime), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -312,7 +312,7 @@ inline Foam::tmp<Foam::volScalarField> Foam::ThermoCloud<CloudType>::ap() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimless/dimLength, 0.0)
|
dimensionedScalar("zero", dimless/dimLength, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -349,7 +349,7 @@ Foam::ThermoCloud<CloudType>::sigmap() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
this->mesh(),
|
this->mesh(),
|
||||||
dimensionedScalar("zero", dimless/dimLength, 0.0)
|
dimensionedScalar("zero", dimless/dimLength, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -150,7 +150,7 @@ void Foam::ParticleErosion<CloudType>::preEvolve()
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimVolume, 0.0)
|
dimensionedScalar("zero", dimVolume, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -101,7 +101,7 @@ void Foam::VoidFraction<CloudType>::preEvolve()
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimless, 0.0)
|
dimensionedScalar("zero", dimless, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -128,7 +128,7 @@ Foam::volScalarField& Foam::LocalInteraction<CloudType>::massEscape()
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimMass, 0.0)
|
dimensionedScalar("zero", dimMass, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -157,7 +157,7 @@ Foam::volScalarField& Foam::LocalInteraction<CloudType>::massStick()
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimMass, 0.0)
|
dimensionedScalar("zero", dimMass, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,7 +53,7 @@ Foam::PackingModels::Implicit<CloudType>::Implicit
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
this->owner().mesh(),
|
this->owner().mesh(),
|
||||||
dimensionedScalar("zero", dimless, 0.0),
|
dimensionedScalar("zero", dimless, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
phiCorrect_(nullptr),
|
phiCorrect_(nullptr),
|
||||||
|
|||||||
@ -84,7 +84,7 @@ Foam::radiation::cloudAbsorptionEmission::aDisp(const label) const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("a", dimless/dimLength, 0.0)
|
dimensionedScalar("a", dimless/dimLength, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ Foam::radiation::cloudAbsorptionEmission::eDisp(const label bandI) const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("e", dimless/dimLength, 0.0)
|
dimensionedScalar("e", dimless/dimLength, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -144,7 +144,7 @@ Foam::radiation::cloudAbsorptionEmission::EDisp(const label bandI) const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("E", dimMass/dimLength/pow3(dimTime), 0.0)
|
dimensionedScalar("E", dimMass/dimLength/pow3(dimTime), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -84,7 +84,7 @@ Foam::radiation::cloudScatter::sigmaEff() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimless/dimLength, 0.0)
|
dimensionedScalar("zero", dimless/dimLength, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -1653,7 +1653,7 @@ Foam::medialAxisMeshMover::medialAxisMeshMover
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
pMesh(),
|
pMesh(),
|
||||||
dimensionedScalar("medialRatio", dimless, 0.0)
|
dimensionedScalar("medialRatio", dimless, 0)
|
||||||
),
|
),
|
||||||
medialDist_
|
medialDist_
|
||||||
(
|
(
|
||||||
@ -1667,7 +1667,7 @@ Foam::medialAxisMeshMover::medialAxisMeshMover
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
pMesh(),
|
pMesh(),
|
||||||
dimensionedScalar("pointMedialDist", dimLength, 0.0)
|
dimensionedScalar("pointMedialDist", dimLength, 0)
|
||||||
),
|
),
|
||||||
medialVec_
|
medialVec_
|
||||||
(
|
(
|
||||||
|
|||||||
@ -468,7 +468,7 @@ Foam::tmp<Foam::scalarField> Foam::snappySnapDriver::edgePatchDist
|
|||||||
// IOobject::AUTO_WRITE
|
// IOobject::AUTO_WRITE
|
||||||
// ),
|
// ),
|
||||||
// pMesh,
|
// pMesh,
|
||||||
// dimensionedScalar("pointDist", dimless, 0.0)
|
// dimensionedScalar("pointDist", dimless, 0)
|
||||||
// );
|
// );
|
||||||
//
|
//
|
||||||
// forAll(allEdgeInfo, edgeI)
|
// forAll(allEdgeInfo, edgeI)
|
||||||
|
|||||||
@ -95,7 +95,7 @@ bool reactingOneDim::read(const dictionary& dict)
|
|||||||
void reactingOneDim::updateqr()
|
void reactingOneDim::updateqr()
|
||||||
{
|
{
|
||||||
// Update local qr from coupled qr field
|
// Update local qr from coupled qr field
|
||||||
qr_ == dimensionedScalar("zero", qr_.dimensions(), 0.0);
|
qr_ == dimensionedScalar("zero", qr_.dimensions(), 0);
|
||||||
|
|
||||||
// Retrieve field from coupled region using mapped boundary conditions
|
// Retrieve field from coupled region using mapped boundary conditions
|
||||||
qr_.correctBoundaryConditions();
|
qr_.correctBoundaryConditions();
|
||||||
@ -146,8 +146,8 @@ void reactingOneDim::updateqr()
|
|||||||
|
|
||||||
void reactingOneDim::updatePhiGas()
|
void reactingOneDim::updatePhiGas()
|
||||||
{
|
{
|
||||||
phiHsGas_ == dimensionedScalar("zero", phiHsGas_.dimensions(), 0.0);
|
phiHsGas_ == dimensionedScalar("zero", phiHsGas_.dimensions(), 0);
|
||||||
phiGas_ == dimensionedScalar("zero", phiGas_.dimensions(), 0.0);
|
phiGas_ == dimensionedScalar("zero", phiGas_.dimensions(), 0);
|
||||||
|
|
||||||
const speciesTable& gasTable = solidChemistry_->gasTable();
|
const speciesTable& gasTable = solidChemistry_->gasTable();
|
||||||
|
|
||||||
@ -415,7 +415,7 @@ reactingOneDim::reactingOneDim
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimTime, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
phiHsGas_
|
phiHsGas_
|
||||||
@ -429,7 +429,7 @@ reactingOneDim::reactingOneDim
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimTime, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimTime, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
chemistryQdot_
|
chemistryQdot_
|
||||||
@ -443,7 +443,7 @@ reactingOneDim::reactingOneDim
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimTime/dimVolume, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimTime/dimVolume, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
qr_
|
qr_
|
||||||
@ -459,10 +459,10 @@ reactingOneDim::reactingOneDim
|
|||||||
regionMesh()
|
regionMesh()
|
||||||
),
|
),
|
||||||
|
|
||||||
lostSolidMass_(dimensionedScalar("zero", dimMass, 0.0)),
|
lostSolidMass_(dimensionedScalar("zero", dimMass, 0)),
|
||||||
addedGasMass_(dimensionedScalar("zero", dimMass, 0.0)),
|
addedGasMass_(dimensionedScalar("zero", dimMass, 0)),
|
||||||
totalGasMassFlux_(0.0),
|
totalGasMassFlux_(0.0),
|
||||||
totalHeatRR_(dimensionedScalar("zero", dimEnergy/dimTime, 0.0)),
|
totalHeatRR_(dimensionedScalar("zero", dimEnergy/dimTime, 0)),
|
||||||
gasHSource_(false),
|
gasHSource_(false),
|
||||||
qrHSource_(false),
|
qrHSource_(false),
|
||||||
useChemistrySolvers_(true)
|
useChemistrySolvers_(true)
|
||||||
@ -515,7 +515,7 @@ reactingOneDim::reactingOneDim
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimTime, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
phiHsGas_
|
phiHsGas_
|
||||||
@ -529,7 +529,7 @@ reactingOneDim::reactingOneDim
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimTime, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimTime, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
chemistryQdot_
|
chemistryQdot_
|
||||||
@ -543,7 +543,7 @@ reactingOneDim::reactingOneDim
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimTime/dimVolume, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimTime/dimVolume, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
qr_
|
qr_
|
||||||
@ -559,10 +559,10 @@ reactingOneDim::reactingOneDim
|
|||||||
regionMesh()
|
regionMesh()
|
||||||
),
|
),
|
||||||
|
|
||||||
lostSolidMass_(dimensionedScalar("zero", dimMass, 0.0)),
|
lostSolidMass_(dimensionedScalar("zero", dimMass, 0)),
|
||||||
addedGasMass_(dimensionedScalar("zero", dimMass, 0.0)),
|
addedGasMass_(dimensionedScalar("zero", dimMass, 0)),
|
||||||
totalGasMassFlux_(0.0),
|
totalGasMassFlux_(0.0),
|
||||||
totalHeatRR_(dimensionedScalar("zero", dimEnergy/dimTime, 0.0)),
|
totalHeatRR_(dimensionedScalar("zero", dimEnergy/dimTime, 0)),
|
||||||
gasHSource_(false),
|
gasHSource_(false),
|
||||||
qrHSource_(false),
|
qrHSource_(false),
|
||||||
useChemistrySolvers_(true)
|
useChemistrySolvers_(true)
|
||||||
|
|||||||
@ -53,7 +53,7 @@ void Foam::regionModels::regionModel1D::constructMeshObjects()
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimArea, 0.0)
|
dimensionedScalar("zero", dimArea, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -75,7 +75,7 @@ void Foam::regionModels::singleLayerRegion::constructMeshObjects()
|
|||||||
NO_WRITE
|
NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimArea, 0.0),
|
dimensionedScalar("zero", dimArea, 0),
|
||||||
zeroGradientFvPatchField<scalar>::typeName
|
zeroGradientFvPatchField<scalar>::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -87,9 +87,9 @@ void kinematicSingleLayer::resetPrimaryRegionSourceTerms()
|
|||||||
InfoInFunction << endl;
|
InfoInFunction << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
rhoSpPrimary_ == dimensionedScalar("zero", rhoSp_.dimensions(), 0.0);
|
rhoSpPrimary_ == dimensionedScalar("zero", rhoSp_.dimensions(), 0);
|
||||||
USpPrimary_ == dimensionedVector("zero", USp_.dimensions(), Zero);
|
USpPrimary_ == dimensionedVector("zero", USp_.dimensions(), Zero);
|
||||||
pSpPrimary_ == dimensionedScalar("zero", pSp_.dimensions(), 0.0);
|
pSpPrimary_ == dimensionedScalar("zero", pSp_.dimensions(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -477,7 +477,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimDensity, 0.0),
|
dimensionedScalar("zero", dimDensity, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
mu_
|
mu_
|
||||||
@ -491,7 +491,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimPressure*dimTime, 0.0),
|
dimensionedScalar("zero", dimPressure*dimTime, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
sigma_
|
sigma_
|
||||||
@ -505,7 +505,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/sqr(dimTime), 0.0),
|
dimensionedScalar("zero", dimMass/sqr(dimTime), 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -532,7 +532,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimless, 0.0),
|
dimensionedScalar("zero", dimless, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
U_
|
U_
|
||||||
@ -584,7 +584,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", delta_.dimensions()*rho_.dimensions(), 0.0),
|
dimensionedScalar("zero", delta_.dimensions()*rho_.dimensions(), 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -599,7 +599,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("0", dimLength*dimMass/dimTime, 0.0)
|
dimensionedScalar("0", dimLength*dimMass/dimTime, 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
primaryMassTrans_
|
primaryMassTrans_
|
||||||
@ -613,7 +613,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass, 0.0),
|
dimensionedScalar("zero", dimMass, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
cloudMassTrans_
|
cloudMassTrans_
|
||||||
@ -627,7 +627,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass, 0.0),
|
dimensionedScalar("zero", dimMass, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
cloudDiameterTrans_
|
cloudDiameterTrans_
|
||||||
@ -673,7 +673,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimPressure, 0.0),
|
dimensionedScalar("zero", dimPressure, 0),
|
||||||
this->mappedPushedFieldPatchTypes<scalar>()
|
this->mappedPushedFieldPatchTypes<scalar>()
|
||||||
),
|
),
|
||||||
rhoSp_
|
rhoSp_
|
||||||
@ -687,7 +687,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimTime/dimArea, 0.0),
|
dimensionedScalar("zero", dimMass/dimTime/dimArea, 0),
|
||||||
this->mappedPushedFieldPatchTypes<scalar>()
|
this->mappedPushedFieldPatchTypes<scalar>()
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -715,7 +715,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", pSp_.dimensions(), 0.0)
|
dimensionedScalar("zero", pSp_.dimensions(), 0)
|
||||||
),
|
),
|
||||||
rhoSpPrimary_
|
rhoSpPrimary_
|
||||||
(
|
(
|
||||||
@ -728,7 +728,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", rhoSp_.dimensions(), 0.0)
|
dimensionedScalar("zero", rhoSp_.dimensions(), 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
UPrimary_
|
UPrimary_
|
||||||
@ -756,7 +756,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimPressure, 0.0),
|
dimensionedScalar("zero", dimPressure, 0),
|
||||||
this->mappedFieldAndInternalPatchTypes<scalar>()
|
this->mappedFieldAndInternalPatchTypes<scalar>()
|
||||||
),
|
),
|
||||||
rhoPrimary_
|
rhoPrimary_
|
||||||
@ -770,7 +770,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimDensity, 0.0),
|
dimensionedScalar("zero", dimDensity, 0),
|
||||||
this->mappedFieldAndInternalPatchTypes<scalar>()
|
this->mappedFieldAndInternalPatchTypes<scalar>()
|
||||||
),
|
),
|
||||||
muPrimary_
|
muPrimary_
|
||||||
@ -784,7 +784,7 @@ kinematicSingleLayer::kinematicSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimPressure*dimTime, 0.0),
|
dimensionedScalar("zero", dimPressure*dimTime, 0),
|
||||||
this->mappedFieldAndInternalPatchTypes<scalar>()
|
this->mappedFieldAndInternalPatchTypes<scalar>()
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -883,9 +883,9 @@ void kinematicSingleLayer::preEvolveRegion()
|
|||||||
|
|
||||||
// Reset transfer fields
|
// Reset transfer fields
|
||||||
availableMass_ = mass();
|
availableMass_ = mass();
|
||||||
cloudMassTrans_ == dimensionedScalar("zero", dimMass, 0.0);
|
cloudMassTrans_ == dimensionedScalar("zero", dimMass, 0);
|
||||||
cloudDiameterTrans_ == dimensionedScalar("zero", dimLength, 0.0);
|
cloudDiameterTrans_ == dimensionedScalar("zero", dimLength, 0);
|
||||||
primaryMassTrans_ == dimensionedScalar("zero", dimMass, 0.0);
|
primaryMassTrans_ == dimensionedScalar("zero", dimMass, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1115,7 +1115,7 @@ tmp<volScalarField::Internal> kinematicSingleLayer::Srho() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -1140,7 +1140,7 @@ tmp<volScalarField::Internal> kinematicSingleLayer::Srho
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -1162,7 +1162,7 @@ tmp<volScalarField::Internal> kinematicSingleLayer::Sh() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -86,7 +86,7 @@ tmp<volScalarField::Internal> noFilm::Srho() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ tmp<volScalarField::Internal> noFilm::Srho(const label i) const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -130,7 +130,7 @@ tmp<volScalarField::Internal> noFilm::Sh() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
mesh_,
|
mesh_,
|
||||||
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -272,7 +272,7 @@ tmp<volScalarField> constantFilmThermo::rho() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimDensity, 0.0),
|
dimensionedScalar("0", dimDensity, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -299,7 +299,7 @@ tmp<volScalarField> constantFilmThermo::mu() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimPressure*dimTime, 0.0),
|
dimensionedScalar("0", dimPressure*dimTime, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -326,7 +326,7 @@ tmp<volScalarField> constantFilmThermo::sigma() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimMass/sqr(dimTime), 0.0),
|
dimensionedScalar("0", dimMass/sqr(dimTime), 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -353,7 +353,7 @@ tmp<volScalarField> constantFilmThermo::Cp() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimEnergy/dimMass/dimTemperature, 0.0),
|
dimensionedScalar("0", dimEnergy/dimMass/dimTemperature, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -380,7 +380,7 @@ tmp<volScalarField> constantFilmThermo::kappa() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimPower/dimLength/dimTemperature, 0.0),
|
dimensionedScalar("0", dimPower/dimLength/dimTemperature, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -251,7 +251,7 @@ tmp<volScalarField> liquidFilmThermo::rho() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimDensity, 0.0),
|
dimensionedScalar("0", dimDensity, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -299,7 +299,7 @@ tmp<volScalarField> liquidFilmThermo::mu() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimPressure*dimTime, 0.0),
|
dimensionedScalar("0", dimPressure*dimTime, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -347,7 +347,7 @@ tmp<volScalarField> liquidFilmThermo::sigma() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimMass/sqr(dimTime), 0.0),
|
dimensionedScalar("0", dimMass/sqr(dimTime), 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -395,7 +395,7 @@ tmp<volScalarField> liquidFilmThermo::Cp() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimEnergy/dimMass/dimTemperature, 0.0),
|
dimensionedScalar("0", dimEnergy/dimMass/dimTemperature, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -443,7 +443,7 @@ tmp<volScalarField> liquidFilmThermo::kappa() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("0", dimPower/dimLength/dimTemperature, 0.0),
|
dimensionedScalar("0", dimPower/dimLength/dimTemperature, 0),
|
||||||
extrapolatedCalculatedFvPatchScalarField::typeName
|
extrapolatedCalculatedFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -111,7 +111,7 @@ tmp<volScalarField> laminar::mut() const
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
filmModel_.regionMesh(),
|
filmModel_.regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimLength/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimLength/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -204,7 +204,7 @@ tmp<scalarField> curvatureSeparation::calcCosAngle
|
|||||||
IOobject::NO_READ
|
IOobject::NO_READ
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimless, 0.0),
|
dimensionedScalar("zero", dimless, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
);
|
);
|
||||||
volCosAngle.primitiveFieldRef() = cosAngle;
|
volCosAngle.primitiveFieldRef() = cosAngle;
|
||||||
@ -346,7 +346,7 @@ void curvatureSeparation::correct
|
|||||||
IOobject::NO_READ
|
IOobject::NO_READ
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar("zero", dimForce, 0.0),
|
dimensionedScalar("zero", dimForce, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
);
|
);
|
||||||
volFnet.primitiveFieldRef() = Fnet;
|
volFnet.primitiveFieldRef() = Fnet;
|
||||||
|
|||||||
@ -116,7 +116,7 @@ tmp<volScalarField> constantRadiation::Shs()
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimTime), 0.0)
|
dimensionedScalar("zero", dimMass/pow3(dimTime), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -86,7 +86,7 @@ tmp<volScalarField> noRadiation::Shs()
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimTime), 0.0)
|
dimensionedScalar("zero", dimMass/pow3(dimTime), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -67,7 +67,7 @@ primaryRadiation::primaryRadiation
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film.regionMesh(),
|
film.regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimTime), 0.0),
|
dimensionedScalar("zero", dimMass/pow3(dimTime), 0),
|
||||||
film.mappedPushedFieldPatchTypes<scalar>()
|
film.mappedPushedFieldPatchTypes<scalar>()
|
||||||
)
|
)
|
||||||
{}
|
{}
|
||||||
@ -103,7 +103,7 @@ tmp<volScalarField> primaryRadiation::Shs()
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimTime), 0.0)
|
dimensionedScalar("zero", dimMass/pow3(dimTime), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -68,7 +68,7 @@ standardRadiation::standardRadiation
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film.regionMesh(),
|
film.regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimTime), 0.0),
|
dimensionedScalar("zero", dimMass/pow3(dimTime), 0),
|
||||||
film.mappedPushedFieldPatchTypes<scalar>()
|
film.mappedPushedFieldPatchTypes<scalar>()
|
||||||
),
|
),
|
||||||
qrNet_
|
qrNet_
|
||||||
@ -82,7 +82,7 @@ standardRadiation::standardRadiation
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film.regionMesh(),
|
film.regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimTime), 0.0),
|
dimensionedScalar("zero", dimMass/pow3(dimTime), 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
beta_(readScalar(coeffDict_.lookup("beta"))),
|
beta_(readScalar(coeffDict_.lookup("beta"))),
|
||||||
@ -120,7 +120,7 @@ tmp<volScalarField> standardRadiation::Shs()
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film().regionMesh(),
|
film().regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimTime), 0.0)
|
dimensionedScalar("zero", dimMass/pow3(dimTime), 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -80,7 +80,7 @@ mappedConvectiveHeatTransfer::mappedConvectiveHeatTransfer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
film.regionMesh(),
|
film.regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass/pow3(dimTime)/dimTemperature, 0.0),
|
dimensionedScalar("zero", dimMass/pow3(dimTime)/dimTemperature, 0),
|
||||||
film.mappedPushedFieldPatchTypes<scalar>()
|
film.mappedPushedFieldPatchTypes<scalar>()
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -82,7 +82,7 @@ solidification::solidification
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
film.regionMesh(),
|
film.regionMesh(),
|
||||||
dimensionedScalar("zero", dimMass, 0.0),
|
dimensionedScalar("zero", dimMass, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
thickness_
|
thickness_
|
||||||
@ -96,7 +96,7 @@ solidification::solidification
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
film.regionMesh(),
|
film.regionMesh(),
|
||||||
dimensionedScalar("zero", dimLength, 0.0),
|
dimensionedScalar("zero", dimLength, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
)
|
)
|
||||||
{}
|
{}
|
||||||
|
|||||||
@ -97,7 +97,7 @@ void thermoSingleLayer::resetPrimaryRegionSourceTerms()
|
|||||||
|
|
||||||
kinematicSingleLayer::resetPrimaryRegionSourceTerms();
|
kinematicSingleLayer::resetPrimaryRegionSourceTerms();
|
||||||
|
|
||||||
hsSpPrimary_ == dimensionedScalar("zero", hsSp_.dimensions(), 0.0);
|
hsSpPrimary_ == dimensionedScalar("zero", hsSp_.dimensions(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -335,7 +335,7 @@ thermoSingleLayer::thermoSingleLayer
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("Cp", dimEnergy/dimMass/dimTemperature, 0.0),
|
dimensionedScalar("Cp", dimEnergy/dimMass/dimTemperature, 0),
|
||||||
zeroGradientFvPatchScalarField::typeName
|
zeroGradientFvPatchScalarField::typeName
|
||||||
),
|
),
|
||||||
kappa_
|
kappa_
|
||||||
@ -407,7 +407,7 @@ thermoSingleLayer::thermoSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimMass, 0.0),
|
dimensionedScalar("zero", dimEnergy/dimMass, 0),
|
||||||
hsBoundaryTypes()
|
hsBoundaryTypes()
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -442,7 +442,7 @@ thermoSingleLayer::thermoSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimArea/dimTime, 0.0),
|
dimensionedScalar("zero", dimEnergy/dimArea/dimTime, 0),
|
||||||
this->mappedPushedFieldPatchTypes<scalar>()
|
this->mappedPushedFieldPatchTypes<scalar>()
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -457,7 +457,7 @@ thermoSingleLayer::thermoSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", hsSp_.dimensions(), 0.0)
|
dimensionedScalar("zero", hsSp_.dimensions(), 0)
|
||||||
),
|
),
|
||||||
|
|
||||||
TPrimary_
|
TPrimary_
|
||||||
@ -471,7 +471,7 @@ thermoSingleLayer::thermoSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimTemperature, 0.0),
|
dimensionedScalar("zero", dimTemperature, 0),
|
||||||
this->mappedFieldAndInternalPatchTypes<scalar>()
|
this->mappedFieldAndInternalPatchTypes<scalar>()
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -521,7 +521,7 @@ thermoSingleLayer::thermoSingleLayer
|
|||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimless, 0.0),
|
dimensionedScalar("zero", dimless, 0),
|
||||||
pSp_.boundaryField().types()
|
pSp_.boundaryField().types()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -614,7 +614,7 @@ void thermoSingleLayer::preEvolveRegion()
|
|||||||
}
|
}
|
||||||
|
|
||||||
kinematicSingleLayer::preEvolveRegion();
|
kinematicSingleLayer::preEvolveRegion();
|
||||||
primaryEnergyTrans_ == dimensionedScalar("zero", dimEnergy, 0.0);
|
primaryEnergyTrans_ == dimensionedScalar("zero", dimEnergy, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -743,7 +743,7 @@ tmp<volScalarField::Internal> thermoSingleLayer::Srho() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -795,7 +795,7 @@ tmp<volScalarField::Internal> thermoSingleLayer::Srho
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimMass/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -845,7 +845,7 @@ tmp<volScalarField::Internal> thermoSingleLayer::Sh() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -105,7 +105,7 @@ const tmp<volScalarField> noThermo::Cp() const
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
primaryMesh(),
|
primaryMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -87,7 +87,7 @@ void thermalBaffle::solveEnergy()
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
regionMesh(),
|
regionMesh(),
|
||||||
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0.0)
|
dimensionedScalar("zero", dimEnergy/dimVolume/dimTime, 0)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -76,7 +76,7 @@ Foam::rigidBodyMeshMotion::bodyMesh::bodyMesh
|
|||||||
false
|
false
|
||||||
),
|
),
|
||||||
pointMesh::New(mesh),
|
pointMesh::New(mesh),
|
||||||
dimensionedScalar("zero", dimless, 0.0)
|
dimensionedScalar("zero", dimless, 0)
|
||||||
)
|
)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user