Permalink
Browse files

multiphaseEulerFoam: Correct MRF BCs to support updating of omega

  • Loading branch information...
1 parent b1a8efd commit d60f96fdd633c49208d5db529942a91b063aeaa7 Henry committed Nov 16, 2012
@@ -1,3 +1,5 @@
+#include "mrfZonesCorrectBCs.H"
+
PtrList<fvVectorMatrix> UEqns(fluid.phases().size());
autoPtr<multiphaseSystem::dragCoeffFields> dragCoeffs(fluid.dragCoeffs());
@@ -1,8 +1,2 @@
MRFZones mrfZones(mesh);
-
- forAllIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
- {
- mrfZones.correctBoundaryVelocity(iter().U());
- }
-
- mrfZones.correctBoundaryVelocity(U);
+ #include "mrfZonesCorrectBCs.H"
@@ -0,0 +1,6 @@
+ forAllIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
+ {
+ mrfZones.correctBoundaryVelocity(iter().U());
+ }
+
+ mrfZones.correctBoundaryVelocity(U);

0 comments on commit d60f96f

Please sign in to comment.