mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
twoPhaseEulerFoam: Add a residualSlip velocity magnitude for the drag
This commit is contained in:
@ -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
|
||||||
(
|
(
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user