openfoam/applications/solvers/multiphase/multiphaseEulerFoam/createMRFZones.H
Mark Olesen 27c62303ad ENH: for-range, forAllIters() ... in applications/solvers
- reduced clutter when iterating over containers
2019-01-07 09:20:51 +01:00

9 lines
172 B
C

IOMRFZoneList MRF(mesh);
for (phaseModel& phase : fluid.phases())
{
MRF.correctBoundaryVelocity(phase.U());
}
MRF.correctBoundaryVelocity(U);