Skip to content

Commit

Permalink
fix bug in capillary flux computation
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesEMcClure committed Aug 29, 2023
1 parent f574140 commit 7394e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/ColorModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ void ScaLBL_ColorModel::Initialize() {
double IFT = 6.0 * alpha;
double CrossSectionalArea =
(double)(nprocx * (Nx - 2) * nprocy * (Ny - 2));
flux = Mask->Porosity() * CrossSectionalArea * (Ny - 2) * IFT *
flux = Mask->Porosity() * CrossSectionalArea * IFT *
capillary_number / MuB;
if (rank == 0)
printf(" flux=%f \n", flux);
Expand Down

0 comments on commit 7394e7f

Please sign in to comment.