compressibleVoF,multiphaseEuler: Renamed compressibility dilatation dgdt to vDot

Currently in compressibleVoF vDot contains only the compressibility dilatation
effect whereas in multiphaseEuler the effect of sources are also included but
this will be refactored shortly so that the handling of mass sources and
compressibility is consistent between VoF and Euler-Euler solvers.

The previously hard-coded 1e-4 division stabilisation used when linearising vDot
for bounded semi-implicit solution of the phase-fractions is now an optional
user-input with keyword vDotResidualAlpha, e.g. in multiphaseEuler:

solvers
{
    "alpha.*"
    {
        nAlphaCorr          1;
        nAlphaSubCycles     2;
        vDotResidualAlpha   1e-6;
    }
    .
    .
    .
This commit is contained in:
Henry Weller
2023-11-03 13:19:52 +00:00
parent 7ec1e2f1a5
commit 0ed84ff137
15 changed files with 77 additions and 52 deletions

View File

@ -171,7 +171,7 @@ void Foam::solvers::twoPhaseSolver::alphaSolve
tmp<volScalarField::Internal> Su;
tmp<volScalarField::Internal> Sp;
alphaSuSp(Su, Sp);
alphaSuSp(Su, Sp, alphaControls);
if (MULESCorr)
{

View File

@ -128,7 +128,8 @@ protected:
virtual void alphaSuSp
(
tmp<volScalarField::Internal>& Su,
tmp<volScalarField::Internal>& Sp
tmp<volScalarField::Internal>& Sp,
const dictionary& alphaControls
) = 0;
//- Correct the interface properties following mesh-change