NonRandomTwoLiquid: Corrected dimensions of molecular weight

This commit is contained in:
Will Bainbridge
2018-04-18 12:14:26 +01:00
parent 32d44d3322
commit 6f059eb213

View File

@ -161,14 +161,24 @@ update
(
this->thermo_.composition().Y(species1Index_)
*W
/this->thermo_.composition().W(species1Index_)
/dimensionedScalar
(
"W",
dimMass/dimMoles,
this->thermo_.composition().W(species1Index_)
)
);
volScalarField X2
(
this->thermo_.composition().Y(species2Index_)
*W
/this->thermo_.composition().W(species2Index_)
/dimensionedScalar
(
"W",
dimMass/dimMoles,
this->thermo_.composition().W(species2Index_)
)
);
volScalarField alpha12(alpha12_ + Tf*beta12_);