Merge branch 'master' of github.com:JamesEMcClure/LBPM-WIA
This commit is contained in:
commit
de2fe8b3a9
@ -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);
|
||||
|
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user