Corrected sauter mean diameter

This commit is contained in:
James McClure 2014-03-19 20:04:00 -04:00
parent 7da69bc246
commit 5b3c2c416f

View File

@ -412,7 +412,8 @@ int main(int argc, char **argv)
totVol += 1.3333333333333*3.14159265359*rad[i]*rad[i]*rad[i];
totArea += 4.0*3.14159265359*rad[i]*rad[i];
}
D = totVol / totArea;
D = 6.0* totVol / totArea;
printf("Sauter Mean Diameter (computed from sphere packing) %f /n = ",D);
}
MPI_Bcast(&D,1,MPI_DOUBLE,0,MPI_COMM_WORLD);