Merge branch 'master' of github.com:JamesEMcClure/LBPM-WIA

This commit is contained in:
James E McClure 2022-03-27 16:01:20 -04:00
commit de2fe8b3a9
2 changed files with 10 additions and 8 deletions

View File

@ -170,7 +170,7 @@ void ScaLBL_IonModel::ReadParams(string filename, vector<int> &num_iter) {
BoundaryConditionSolid = ion_db->getScalar<int>("BC_Solid");
}
// Read boundary condition for ion transport
// BC = 0: normal periodic BC
// BC = 0: zero-flux bounce-back BC
// BC = 1: fixed ion concentration; unit=[mol/m^3]
// BC = 2: fixed ion flux (inward flux); unit=[mol/m^2/sec]
BoundaryConditionInlet.push_back(0);
@ -428,7 +428,7 @@ void ScaLBL_IonModel::ReadParams(string filename) {
BoundaryConditionSolid = ion_db->getScalar<int>("BC_Solid");
}
// Read boundary condition for ion transport
// BC = 0: normal periodic BC
// BC = 0: zero-flux bounce-back BC
// BC = 1: fixed ion concentration; unit=[mol/m^3]
// BC = 2: fixed ion flux (inward flux); unit=[mol/m^2/sec]
BoundaryConditionInlet.push_back(0);

View File

@ -93,12 +93,14 @@ int main(int argc, char **argv)
PoissonSolver.Initialize(Study.time_conv_MainLoop);
printf("********************************************************\n");
printf("Key Summary of LBPM electrokinetic single-fluid solver \n");
printf(" 1. Max LB Timestep: %i [lt]\n", Study.timestepMax);
printf(" 2. Time conversion factor per LB Timestep: %.6g [sec/lt]\n",Study.time_conv_MainLoop);
printf(" 3. Max Physical Time: %.6g [sec]\n",Study.timestepMax*Study.time_conv_MainLoop);
printf("********************************************************\n");
if (rank == 0){
printf("********************************************************\n");
printf("Key Summary of LBPM electrokinetic single-fluid solver \n");
printf(" 1. Max LB Timestep: %i [lt]\n", Study.timestepMax);
printf(" 2. Time conversion factor per LB Timestep: %.6g [sec/lt]\n",Study.time_conv_MainLoop);
printf(" 3. Max Physical Time: %.6g [sec]\n",Study.timestepMax*Study.time_conv_MainLoop);
printf("********************************************************\n");
}
int timestep=0;
while (timestep < Study.timestepMax){