Corrected sauter mean diameter
This commit is contained in:
parent
7da69bc246
commit
5b3c2c416f
@ -412,7 +412,8 @@ int main(int argc, char **argv)
|
|||||||
totVol += 1.3333333333333*3.14159265359*rad[i]*rad[i]*rad[i];
|
totVol += 1.3333333333333*3.14159265359*rad[i]*rad[i]*rad[i];
|
||||||
totArea += 4.0*3.14159265359*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);
|
MPI_Bcast(&D,1,MPI_DOUBLE,0,MPI_COMM_WORLD);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user