mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
multiphaseEulerFoam: Updated MRF support
This commit is contained in:
@ -132,6 +132,17 @@
|
|||||||
phasei++;
|
phasei++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
phasei = 0;
|
||||||
|
forAllIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
|
||||||
|
{
|
||||||
|
phaseModel& phase = iter();
|
||||||
|
|
||||||
|
mrfZones.relativeFlux(phase.phi().oldTime());
|
||||||
|
mrfZones.relativeFlux(phase.phi());
|
||||||
|
|
||||||
|
phasei++;
|
||||||
|
}
|
||||||
|
|
||||||
surfaceScalarField Dp
|
surfaceScalarField Dp
|
||||||
(
|
(
|
||||||
IOobject
|
IOobject
|
||||||
@ -185,7 +196,6 @@
|
|||||||
phase.phi() =
|
phase.phi() =
|
||||||
phiHbyAs[phasei]
|
phiHbyAs[phasei]
|
||||||
+ rAlphaAUfs[phasei]*mSfGradp/phase.rho();
|
+ rAlphaAUfs[phasei]*mSfGradp/phase.rho();
|
||||||
mrfZones.relativeFlux(phase.phi().oldTime());
|
|
||||||
phi += alphafs[phasei]*phase.phi();
|
phi += alphafs[phasei]*phase.phi();
|
||||||
|
|
||||||
phasei++;
|
phasei++;
|
||||||
|
|||||||
Reference in New Issue
Block a user