mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
multiphaseEulerFoam: Change the specification of the residual drag and smooth the drag phase-fraction pre-factor
* The residual drag is now specified in terms of a residual phase-fraction and slip-velocity. * The drag phase-fraction pre-factor is smoothed so that the computational molecule matches that of the transport terms.
This commit is contained in:
@ -30,6 +30,7 @@ License
|
||||
#include "MULES.H"
|
||||
#include "fvcSnGrad.H"
|
||||
#include "fvcFlux.H"
|
||||
#include "fvcAverage.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * Static Member Data * * * * * * * * * * * * //
|
||||
|
||||
@ -626,9 +627,20 @@ Foam::multiphaseSystem::dragCoeffs() const
|
||||
(
|
||||
iter.key(),
|
||||
(
|
||||
dm.phase1()*dm.phase2()
|
||||
*dm.K(mag(dm.phase1().U() - dm.phase2().U()))
|
||||
+ dm.residualDrag()
|
||||
max
|
||||
(
|
||||
fvc::average(dm.phase1())*fvc::average(dm.phase2()),
|
||||
//dm.phase1()*dm.phase2(),
|
||||
dm.residualPhaseFraction()
|
||||
)
|
||||
*dm.K
|
||||
(
|
||||
max
|
||||
(
|
||||
mag(dm.phase1().U() - dm.phase2().U()),
|
||||
dm.residualSlip()
|
||||
)
|
||||
)
|
||||
).ptr()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user