STYLE: use readValueEntry in BCs. Assign Zero for refValue/refGrad
This commit is contained in:
parent
34e36b83ab
commit
f801e99f9e
@ -93,10 +93,7 @@ CONSTRUCT
|
||||
|
||||
/*
|
||||
//Initialise with the value entry if evaluation is not possible
|
||||
FVPATCHF::operator=
|
||||
(
|
||||
FIELD("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
this->refValue() = *this;
|
||||
*/
|
||||
}
|
||||
|
@ -52,8 +52,8 @@ turbulentMixingLengthDissipationRateInletFvPatchScalarField
|
||||
mixingLength_(0.0),
|
||||
Cmu_(0.0)
|
||||
{
|
||||
this->refValue() = 0.0;
|
||||
this->refGrad() = 0.0;
|
||||
this->refValue() = Zero;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = 0.0;
|
||||
}
|
||||
|
||||
@ -92,10 +92,10 @@ turbulentMixingLengthDissipationRateInletFvPatchScalarField
|
||||
{
|
||||
this->phiName_ = dict.getOrDefault<word>("phi", "phi");
|
||||
|
||||
fvPatchScalarField::operator=(scalarField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
|
||||
this->refValue() = 0.0;
|
||||
this->refGrad() = 0.0;
|
||||
this->refValue() = Zero;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = 0.0;
|
||||
}
|
||||
|
||||
|
@ -51,8 +51,8 @@ turbulentMixingLengthFrequencyInletFvPatchScalarField
|
||||
mixingLength_(0.0),
|
||||
kName_("undefined-k")
|
||||
{
|
||||
this->refValue() = 0.0;
|
||||
this->refGrad() = 0.0;
|
||||
this->refValue() = Zero;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = 0.0;
|
||||
}
|
||||
|
||||
@ -84,10 +84,10 @@ turbulentMixingLengthFrequencyInletFvPatchScalarField
|
||||
{
|
||||
this->phiName_ = dict.getOrDefault<word>("phi", "phi");
|
||||
|
||||
fvPatchScalarField::operator=(scalarField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
|
||||
this->refValue() = 0.0;
|
||||
this->refGrad() = 0.0;
|
||||
this->refValue() = Zero;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = 0.0;
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ atmBoundaryLayerInletEpsilonFvPatchScalarField
|
||||
|
||||
if (!initABL_)
|
||||
{
|
||||
scalarField::operator=(scalarField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -70,7 +70,7 @@ atmBoundaryLayerInletKFvPatchScalarField
|
||||
|
||||
if (!initABL_)
|
||||
{
|
||||
scalarField::operator=(scalarField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -69,7 +69,7 @@ atmBoundaryLayerInletOmegaFvPatchScalarField
|
||||
|
||||
if (!initABL_)
|
||||
{
|
||||
scalarField::operator=(scalarField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -70,7 +70,7 @@ atmBoundaryLayerInletVelocityFvPatchVectorField
|
||||
|
||||
if (!initABL_)
|
||||
{
|
||||
vectorField::operator=(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -242,7 +242,7 @@ Foam::displacementLayeredMotionMotionSolver::faceZoneEvaluate
|
||||
|
||||
if (type == "fixedValue")
|
||||
{
|
||||
fld = vectorField("value", dict, meshPoints.size());
|
||||
fld.assign("value", dict, meshPoints.size());
|
||||
}
|
||||
else if (type == "timeVaryingUniformFixedValue")
|
||||
{
|
||||
|
@ -77,8 +77,7 @@ SRFFreestreamVelocityFvPatchVectorField
|
||||
UInf_(dict.get<vector>("UInf"))
|
||||
{
|
||||
this->phiName_ = dict.getOrDefault<word>("phi", "phi");
|
||||
|
||||
fvPatchVectorField::operator=(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -72,7 +72,7 @@ fixedNormalInletOutletVelocityFvPatchVectorField
|
||||
)
|
||||
{
|
||||
fvPatchFieldBase::readDict(dict);
|
||||
fvPatchVectorField::operator=(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
refValue() = normalVelocity();
|
||||
refGrad() = Zero;
|
||||
valueFraction() = Zero;
|
||||
|
@ -49,15 +49,14 @@ Foam::freestreamVelocityFvPatchVectorField::freestreamVelocityFvPatchVectorField
|
||||
:
|
||||
mixedFvPatchVectorField(p, iF)
|
||||
{
|
||||
freestreamValue() = vectorField("freestreamValue", dict, p.size());
|
||||
freestreamValue().assign("freestreamValue", dict, p.size());
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1;
|
||||
|
||||
if (!this->readValueEntry(dict))
|
||||
{
|
||||
fvPatchVectorField::operator=(freestreamValue());
|
||||
}
|
||||
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1;
|
||||
}
|
||||
|
||||
|
||||
|
@ -82,7 +82,7 @@ pressureDirectedInletOutletVelocityFvPatchVectorField
|
||||
inletDir_("inletDirection", dict, p.size())
|
||||
{
|
||||
fvPatchFieldBase::readDict(dict);
|
||||
fvPatchVectorField::operator=(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
refValue() = *this;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 0.0;
|
||||
|
@ -80,7 +80,7 @@ pressureInletOutletParSlipVelocityFvPatchVectorField
|
||||
rhoName_(dict.getOrDefault<word>("rho", "rho"))
|
||||
{
|
||||
fvPatchFieldBase::readDict(dict);
|
||||
fvPatchVectorField::operator=(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
refValue() = *this;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 0.0;
|
||||
|
@ -81,7 +81,7 @@ pressureInletOutletVelocityFvPatchVectorField
|
||||
phiName_(dict.getOrDefault<word>("phi", "phi"))
|
||||
{
|
||||
fvPatchFieldBase::readDict(dict);
|
||||
fvPatchVectorField::operator=(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
|
||||
if (dict.found("tangentialVelocity"))
|
||||
{
|
||||
|
@ -80,7 +80,7 @@ pressureNormalInletOutletVelocityFvPatchVectorField
|
||||
rhoName_(dict.getOrDefault<word>("rho", "rho"))
|
||||
{
|
||||
fvPatchFieldBase::readDict(dict);
|
||||
fvPatchVectorField::operator=(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
refValue() = *this;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 0.0;
|
||||
|
@ -84,7 +84,7 @@ pressurePermeableAlphaInletOutletVelocityFvPatchVectorField
|
||||
alphaMin_(dict.getOrDefault<scalar>("alphaMin", 1))
|
||||
{
|
||||
fvPatchFieldBase::readDict(dict);
|
||||
fvPatchVectorField::operator=(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
refValue() = Zero;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1.0;
|
||||
|
@ -45,8 +45,8 @@ turbulentIntensityKineticEnergyInletFvPatchScalarField
|
||||
intensity_(0.0),
|
||||
UName_("U")
|
||||
{
|
||||
this->refValue() = 0.0;
|
||||
this->refGrad() = 0.0;
|
||||
this->refValue() = Zero;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = 0.0;
|
||||
}
|
||||
|
||||
@ -91,10 +91,10 @@ turbulentIntensityKineticEnergyInletFvPatchScalarField
|
||||
<< exit(FatalError);
|
||||
}
|
||||
|
||||
fvPatchScalarField::operator=(scalarField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
|
||||
this->refValue() = 0.0;
|
||||
this->refGrad() = 0.0;
|
||||
this->refValue() = Zero;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = 0.0;
|
||||
}
|
||||
|
||||
|
@ -73,10 +73,7 @@ adjointFarFieldPressureFvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -69,10 +69,7 @@ adjointFarFieldVelocityFvPatchVectorField
|
||||
fixedValueFvPatchVectorField(p, iF),
|
||||
adjointVectorBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<vector>::operator=
|
||||
(
|
||||
vectorField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -71,10 +71,7 @@ adjointInletVelocityFvPatchVectorField
|
||||
fixedValueFvPatchVectorField(p, iF),
|
||||
adjointVectorBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<vector>::operator=
|
||||
(
|
||||
vectorField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -74,10 +74,7 @@ adjointOutletPressureFvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -131,10 +131,7 @@ adjointOutletVelocityFvPatchVectorField
|
||||
fixedValueFvPatchVectorField(p, iF),
|
||||
adjointVectorBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<vector>::operator=
|
||||
(
|
||||
vectorField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -71,10 +71,7 @@ adjointOutletVelocityFluxFvPatchVectorField
|
||||
fixedValueFvPatchVectorField(p, iF),
|
||||
adjointVectorBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<vector>::operator=
|
||||
(
|
||||
vectorField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -77,10 +77,7 @@ adjointWallVelocityFvPatchVectorField
|
||||
kappa_(dict.getOrDefault<scalar>("kappa", 0.41)),
|
||||
E_(dict.getOrDefault<scalar>("E", 9.8))
|
||||
{
|
||||
fvPatchField<vector>::operator=
|
||||
(
|
||||
vectorField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -70,10 +70,7 @@ adjointWallVelocityLowReFvPatchVectorField
|
||||
fixedValueFvPatchVectorField(p, iF),
|
||||
adjointVectorBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<vector>::operator=
|
||||
(
|
||||
vectorField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -77,10 +77,7 @@ adjointFarFieldNuaTildaFvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -76,10 +76,7 @@ adjointFarFieldTMVar1FvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -76,10 +76,7 @@ adjointFarFieldTMVar2FvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -72,10 +72,7 @@ adjointOutletKaFvPatchScalarField::adjointOutletKaFvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -73,10 +73,7 @@ adjointOutletNuaTildaFvPatchScalarField::adjointOutletNuaTildaFvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -76,10 +76,7 @@ adjointOutletNuaTildaFluxFvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -72,10 +72,7 @@ adjointOutletWaFvPatchScalarField::adjointOutletWaFvPatchScalarField
|
||||
fixedValueFvPatchScalarField(p, iF),
|
||||
adjointScalarBoundaryCondition(p, iF, dict.get<word>("solverName"))
|
||||
{
|
||||
fvPatchField<scalar>::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -91,10 +91,7 @@ JohnsonJacksonParticleSlipFvPatchVectorField
|
||||
<< abort(FatalError);
|
||||
}
|
||||
|
||||
fvPatchVectorField::operator=
|
||||
(
|
||||
vectorField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -105,10 +105,7 @@ JohnsonJacksonParticleThetaFvPatchScalarField
|
||||
<< abort(FatalError);
|
||||
}
|
||||
|
||||
fvPatchScalarField::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -91,10 +91,7 @@ JohnsonJacksonParticleSlipFvPatchVectorField
|
||||
<< abort(FatalError);
|
||||
}
|
||||
|
||||
fvPatchVectorField::operator=
|
||||
(
|
||||
vectorField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -105,10 +105,7 @@ JohnsonJacksonParticleThetaFvPatchScalarField
|
||||
<< abort(FatalError);
|
||||
}
|
||||
|
||||
fvPatchScalarField::operator=
|
||||
(
|
||||
scalarField("value", dict, p.size())
|
||||
);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -83,11 +83,11 @@ lumpedMassWallTemperatureFvPatchScalarField
|
||||
mass_(dict.get<scalar>("mass")),
|
||||
curTimeIndex_(-1)
|
||||
{
|
||||
refGrad() = 0.0;
|
||||
fvPatchFieldBase::readDict(dict);
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
refValue() = *this;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1.0;
|
||||
refValue() = scalarField("value", dict, p.size());
|
||||
|
||||
fvPatchScalarField::operator=(scalarField("value", dict, p.size()));
|
||||
}
|
||||
|
||||
|
||||
|
@ -66,7 +66,7 @@ semiPermeableBaffleMassFractionFvPatchScalarField
|
||||
c_(dict.getOrDefault<scalar>("c", 0)),
|
||||
phiName_(dict.getOrDefault<word>("phi", "phi"))
|
||||
{
|
||||
fvPatchScalarField::operator=(scalarField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
|
||||
refValue() = Zero;
|
||||
refGrad() = Zero;
|
||||
|
@ -86,7 +86,7 @@ semiPermeableBaffleVelocityFvPatchVectorField
|
||||
fixedValueFvPatchVectorField(p, iF),
|
||||
rhoName_(dict.getOrDefault<word>("rho", "rho"))
|
||||
{
|
||||
fvPatchVectorField::operator==(vectorField("value", dict, p.size()));
|
||||
this->readValueEntry(dict, IOobjectOption::MUST_READ);
|
||||
}
|
||||
|
||||
|
||||
|
@ -57,8 +57,8 @@ turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
||||
),
|
||||
TnbrName_("undefined-Tnbr")
|
||||
{
|
||||
this->refValue() = 0.0;
|
||||
this->refGrad() = 0.0;
|
||||
this->refValue() = Zero;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = 1.0;
|
||||
}
|
||||
|
||||
@ -153,7 +153,7 @@ turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
||||
{
|
||||
// Start from user entered data. Assume fixedValue.
|
||||
refValue() = *this;
|
||||
refGrad() = 0.0;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1.0;
|
||||
}
|
||||
|
||||
@ -377,7 +377,7 @@ void turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs()
|
||||
// - mixFraction = nbrKDelta / (nbrKDelta + myKDelta())
|
||||
|
||||
this->refValue() = nbrIntFld;
|
||||
this->refGrad() = 0.0;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = nbrKDelta/(nbrKDelta + myKDelta());
|
||||
|
||||
mixedFvPatchScalarField::updateCoeffs();
|
||||
|
@ -62,8 +62,8 @@ turbulentTemperatureRadCoupledMixedFvPatchScalarField
|
||||
qrName_("undefined-qr"),
|
||||
thermalInertia_(false)
|
||||
{
|
||||
this->refValue() = 0.0;
|
||||
this->refGrad() = 0.0;
|
||||
this->refValue() = Zero;
|
||||
this->refGrad() = Zero;
|
||||
this->valueFraction() = 1.0;
|
||||
this->source() = 0.0;
|
||||
}
|
||||
@ -201,7 +201,7 @@ turbulentTemperatureRadCoupledMixedFvPatchScalarField
|
||||
{
|
||||
// Start from user entered data. Assume fixedValue.
|
||||
refValue() = *this;
|
||||
refGrad() = 0.0;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1.0;
|
||||
}
|
||||
|
||||
|
@ -42,8 +42,8 @@ Foam::wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
||||
Tinf_(p.size(), Zero),
|
||||
alphaWall_(p.size(), Zero)
|
||||
{
|
||||
refValue() = 0.0;
|
||||
refGrad() = 0.0;
|
||||
refValue() = Zero;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 0.0;
|
||||
}
|
||||
|
||||
@ -74,7 +74,7 @@ Foam::wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
||||
alphaWall_("alphaWall", dict, p.size())
|
||||
{
|
||||
refValue() = Tinf_;
|
||||
refGrad() = 0.0;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 0.0;
|
||||
|
||||
if (!this->readValueEntry(dict))
|
||||
|
@ -46,8 +46,8 @@ mixedEnergyFvPatchScalarField
|
||||
mixedFvPatchScalarField(p, iF)
|
||||
{
|
||||
valueFraction() = 0.0;
|
||||
refValue() = 0.0;
|
||||
refGrad() = 0.0;
|
||||
refValue() = Zero;
|
||||
refGrad() = Zero;
|
||||
source() = 0.0;
|
||||
}
|
||||
|
||||
|
@ -53,8 +53,8 @@ greyDiffusiveRadiationMixedFvPatchScalarField
|
||||
qRadExt_(0),
|
||||
qRadExtDir_(Zero)
|
||||
{
|
||||
refValue() = 0.0;
|
||||
refGrad() = 0.0;
|
||||
refValue() = Zero;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1.0;
|
||||
}
|
||||
|
||||
@ -95,8 +95,8 @@ greyDiffusiveRadiationMixedFvPatchScalarField
|
||||
}
|
||||
else
|
||||
{
|
||||
refValue() = 0.0;
|
||||
refGrad() = 0.0;
|
||||
refValue() = Zero;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1.0;
|
||||
|
||||
fvPatchScalarField::operator=(refValue());
|
||||
|
@ -50,8 +50,8 @@ wideBandDiffusiveRadiationMixedFvPatchScalarField
|
||||
:
|
||||
mixedFvPatchScalarField(p, iF)
|
||||
{
|
||||
refValue() = 0.0;
|
||||
refGrad() = 0.0;
|
||||
refValue() = Zero;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 1.0;
|
||||
}
|
||||
|
||||
|
@ -42,9 +42,9 @@ mixedUnburntEnthalpyFvPatchScalarField
|
||||
:
|
||||
mixedFvPatchScalarField(p, iF)
|
||||
{
|
||||
refValue() = Zero;
|
||||
refGrad() = Zero;
|
||||
valueFraction() = 0.0;
|
||||
refValue() = 0.0;
|
||||
refGrad() = 0.0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user