pure condition test, now use Y
This commit is contained in:
parent
93500dd389
commit
653863a19d
1 changed files with 2 additions and 2 deletions
|
|
@ -74,9 +74,9 @@ Foam::diffusivityModel::mixAvgDi(UList<scalar>& Di, const scalarSymmetricSquareM
|
|||
// Pure Condition Test ( Xi = 1 )
|
||||
Switch pure = false;
|
||||
label pureSpecieI = -1;
|
||||
forAll (X, i)
|
||||
forAll (Y, i)
|
||||
{
|
||||
if (1. - X[i] < 1e-12 || std::isinf(X[i]/(1.-Y[i])))
|
||||
if (1. - Y[i] < 1e-12)
|
||||
|
||||
{
|
||||
pureSpecieI = i;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue