Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev

This commit is contained in:
Henry Weller
2022-02-03 21:08:56 +00:00
2 changed files with 14 additions and 11 deletions

View File

@ -211,8 +211,12 @@ Foam::tmp<Foam::volScalarField> Foam::blendingMethod::f
{ {
return constant(alphas, 0); return constant(alphas, 0);
} }
else
if (canBeContinuousPhaseSet == canBeContinuousSystemSet)
{ {
return constant(alphas, 1);
}
return return
fContinuous fContinuous
( (
@ -220,7 +224,6 @@ Foam::tmp<Foam::volScalarField> Foam::blendingMethod::f
canBeContinuousPhaseSet, canBeContinuousPhaseSet,
canBeContinuousSystemSet canBeContinuousSystemSet
); );
}
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2021 OpenFOAM Foundation \\ / A nd | Copyright (C) 2021-2022 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -144,8 +144,8 @@ bool Foam::sampledSetParticle::move
while (onInternalFace()) while (onInternalFace())
{ {
if (td.storeFaces_) storeFace(cloud, td);
if (td.storeCells_) storeCell(cloud, td); if (td.storeCells_) storeCell(cloud, td);
if (td.storeFaces_) storeFace(cloud, td);
hitFace(setF_*s, 0, cloud, td); hitFace(setF_*s, 0, cloud, td);
@ -156,8 +156,8 @@ bool Foam::sampledSetParticle::move
if (onFace()) if (onFace())
{ {
if (td.storeFaces_) storeFace(cloud, td);
if (td.storeCells_) storeCell(cloud, td); if (td.storeCells_) storeCell(cloud, td);
if (td.storeFaces_) storeFace(cloud, td);
hitFace(setF_*s, 0, cloud, td); hitFace(setF_*s, 0, cloud, td);
} }