From 2666c5efea4d29c839fdf15d3f7d46ddfba20c1b Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 1 Oct 2010 10:30:38 +0100 Subject: [PATCH] Removed unnecessary file --- .../multiphase/cavitatingFoam/resetPhiPatches.H | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 applications/solvers/multiphase/cavitatingFoam/resetPhiPatches.H diff --git a/applications/solvers/multiphase/cavitatingFoam/resetPhiPatches.H b/applications/solvers/multiphase/cavitatingFoam/resetPhiPatches.H deleted file mode 100644 index e7d0c2f93..000000000 --- a/applications/solvers/multiphase/cavitatingFoam/resetPhiPatches.H +++ /dev/null @@ -1,15 +0,0 @@ -fvsPatchScalarFieldField& phiPatches = phi.boundaryField(); -const fvPatchScalarFieldField& rhoPatches = rho.boundaryField(); -const fvPatchVectorFieldField& Upatches = U.boundaryField(); -const fvsPatchVectorFieldField& SfPatches = mesh.Sf().boundaryField(); - -forAll(phiPatches, patchI) -{ - if (phi.boundaryField().types()[patchI] == "calculated") - { - calculatedFvsPatchScalarField& phiPatch = - refCast(phiPatches[patchI]); - - phiPatch == ((rhoPatches[patchI]*Upatches[patchI]) & SfPatches[patchI]); - } -}