massTransferBase: Renamed mDotByV to mDot
This commit is contained in:
@ -66,7 +66,7 @@ Foam::fv::coefficientMassTransfer::coefficientMassTransfer
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
Foam::tmp<Foam::volScalarField::Internal>
|
||||
Foam::fv::coefficientMassTransfer::mDotByV() const
|
||||
Foam::fv::coefficientMassTransfer::mDot() const
|
||||
{
|
||||
const volScalarField& alpha1 =
|
||||
mesh().lookupObject<volScalarField>(alphaNames().first());
|
||||
|
||||
@ -115,7 +115,7 @@ public:
|
||||
// Sources
|
||||
|
||||
//- Return the mass transfer rate
|
||||
virtual tmp<DimensionedField<scalar, volMesh>> mDotByV() const;
|
||||
virtual tmp<DimensionedField<scalar, volMesh>> mDot() const;
|
||||
|
||||
//- Override the incompressible continuity equation to add
|
||||
// linearisation w.r.t alpha
|
||||
|
||||
@ -201,7 +201,7 @@ bool Foam::fv::massTransferBase::addsSupToField(const word& fieldName) const
|
||||
Foam::tmp<Foam::volScalarField::Internal>
|
||||
Foam::fv::massTransferBase::S(const word& fieldName) const
|
||||
{
|
||||
return sign(phaseNames(), IOobject::group(fieldName))*mDotByV();
|
||||
return sign(phaseNames(), IOobject::group(fieldName))*mDot();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -181,7 +181,7 @@ public:
|
||||
// Sources
|
||||
|
||||
//- Return the mass transfer rate
|
||||
virtual tmp<DimensionedField<scalar, volMesh>> mDotByV() const = 0;
|
||||
virtual tmp<DimensionedField<scalar, volMesh>> mDot() const = 0;
|
||||
|
||||
//- Return the source value
|
||||
virtual tmp<DimensionedField<scalar, volMesh>> S
|
||||
|
||||
@ -64,7 +64,7 @@ void Foam::fv::massTransferBase::addSupType
|
||||
// Volume-weighted mixture property equation
|
||||
if (field.group() == word::null)
|
||||
{
|
||||
eqn -= fvm::SuSp((1/rho(0) - 1/rho(1))*mDotByV(), eqn.psi());
|
||||
eqn -= fvm::SuSp((1/rho(0) - 1/rho(1))*mDot(), eqn.psi());
|
||||
}
|
||||
// Not recognised. Fail.
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user