The momentum equation central coefficient and drag matrix is formulated, inverted and used to eliminate the drag terms from each of the phase momentum equations which are combined for formulate a drag-implicit pressure equation. This eliminates the lagged drag terms from the previous formulation which significantly improves convergence for small particle and Euler-VoF high-drag cases. It would also be possible to refactor the virtual-mass terms and include the central coefficients of the phase acceleration terms in the drag matrix before inversion to further improve the implicitness of the phase momentum-pressure coupling for bubbly flows. This work is pending funding.
71 lines
1.6 KiB
C++
71 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object alpha.map;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 0 0 0 0 0 0];
|
|
|
|
internalField uniform 0.6;
|
|
|
|
boundaryField
|
|
{
|
|
rotor
|
|
{
|
|
type calculated;
|
|
value uniform 0.6;
|
|
}
|
|
stator
|
|
{
|
|
type calculated;
|
|
value uniform 0.6;
|
|
}
|
|
front
|
|
{
|
|
type empty;
|
|
}
|
|
back
|
|
{
|
|
type empty;
|
|
}
|
|
nonCouple1
|
|
{
|
|
type calculated;
|
|
value uniform 0.6;
|
|
}
|
|
nonCouple2
|
|
{
|
|
type calculated;
|
|
value uniform 0.6;
|
|
}
|
|
nonConformalCyclic_on_nonCouple1
|
|
{
|
|
type nonConformalCyclic;
|
|
}
|
|
nonConformalCyclic_on_nonCouple2
|
|
{
|
|
type nonConformalCyclic;
|
|
}
|
|
nonConformalError_on_nonCouple1
|
|
{
|
|
type nonConformalError;
|
|
}
|
|
nonConformalError_on_nonCouple2
|
|
{
|
|
type nonConformalError;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|