Skip to content
Snippets Groups Projects
Commit 624b228f authored by Henry's avatar Henry
Browse files

twoPhaseEulerFoam: Add a residualSlip velocity magnitude for the drag

parent ef49aaf0
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,9 @@
(
"phi",
runTime.timeName(),
mesh
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
fvc::interpolate(alpha)*phia + fvc::interpolate(beta)*phib
);
......@@ -194,6 +196,13 @@
}
}
dimensionedScalar residualSlip
(
"residualSlip",
dimVelocity,
interfacialProperties.lookup("residualSlip")
);
Info << "dragPhase is " << dragPhase << endl;
kineticTheoryModel kineticTheory
(
......
volVectorField Ur(Ua - Ub);
volScalarField magUr(mag(Ur));
volScalarField magUr(mag(Ur) + residualSlip);
volScalarField Ka(draga->K(magUr));
volScalarField K(Ka);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment