Removed interface mapping from common/TwoPhase.cpp (less accurate, not useful)

This commit is contained in:
James E McClure
2015-09-17 14:49:18 -04:00
parent ed770aa2e2
commit de8467c9ef

View File

@@ -531,15 +531,6 @@ void TwoPhase::ComponentAverages()
kmin=1; kmax=Nz-1;
if (Dm.BoundaryCondition > 0 && Dm.kproc == 0) kmin=4;
if (Dm.BoundaryCondition > 0 && Dm.kproc == Dm.nprocz-1) kmax=Nz-4;
// Map solid to erode the fluid so that interfaces can be calculated accurately
for (k=0; k<Nz; k++){
for (j=0; j<Ny; j++){
for (i=0; i<Nx; i++){
SDs(i,j,k) += 1.0;
}
}
}
for (k=kmin; k<kmax; k++){
for (j=1; j<Ny-1; j++){
@@ -746,15 +737,6 @@ void TwoPhase::ComponentAverages()
}
}
}
// Map solid to erode the fluid so that interfaces can be calculated accurately
for (k=0; k<Nz; k++){
for (j=0; j<Ny; j++){
for (i=0; i<Nx; i++){
SDs(i,j,k) -= 1.0;
}
}
}
MPI_Barrier(Dm.Comm);
if (Dm.rank==0){