This commit is contained in:
JamesEMcclure 2019-10-22 07:14:54 -04:00
parent f060a9c3e6
commit ecd06f0eca

View File

@ -277,7 +277,7 @@ void SubPhase::Basic(){
if (Dm->BoundaryCondition > 0 ){
// compute the pressure drop
double pressure_drop = (Pressure(Nx*Ny + Nx + 1) - 1.0) / 3.0;
double length = ((Nz-2)*Dm->nprocz);
double length = ((Nz-2)*Dm->nprocz());
force_mag += pressure_drop/length;
}