massTransferBase: Renamed mDotByV to mDot

This commit is contained in:
Will Bainbridge
2023-11-24 14:30:42 +00:00
parent 77eec2cda3
commit 3a6f9029d3
5 changed files with 5 additions and 5 deletions

View File

@ -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());

View File

@ -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

View File

@ -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();
}

View File

@ -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

View File

@ -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