twoPhaseEulerFoam: Add a residualSlip velocity magnitude for the drag

This commit is contained in:
Henry
2012-02-28 15:55:07 +00:00
parent ef49aaf03d
commit 624b228f2d
2 changed files with 11 additions and 2 deletions

View File

@ -112,7 +112,9 @@
( (
"phi", "phi",
runTime.timeName(), runTime.timeName(),
mesh mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
), ),
fvc::interpolate(alpha)*phia + fvc::interpolate(beta)*phib fvc::interpolate(alpha)*phia + fvc::interpolate(beta)*phib
); );
@ -194,6 +196,13 @@
} }
} }
dimensionedScalar residualSlip
(
"residualSlip",
dimVelocity,
interfacialProperties.lookup("residualSlip")
);
Info << "dragPhase is " << dragPhase << endl; Info << "dragPhase is " << dragPhase << endl;
kineticTheoryModel kineticTheory kineticTheoryModel kineticTheory
( (

View File

@ -1,5 +1,5 @@
volVectorField Ur(Ua - Ub); volVectorField Ur(Ua - Ub);
volScalarField magUr(mag(Ur)); volScalarField magUr(mag(Ur) + residualSlip);
volScalarField Ka(draga->K(magUr)); volScalarField Ka(draga->K(magUr));
volScalarField K(Ka); volScalarField K(Ka);