enable target Ca for reflection BC

This commit is contained in:
James McClure
2020-04-07 10:06:54 -04:00
parent 2dfa0dee31
commit af8b2d799a

View File

@@ -567,8 +567,8 @@ void ScaLBL_ColorModel::Run(){
if (color_db->keyExists( "timestep" )){
timestep = color_db->getScalar<int>( "timestep" );
}
if (BoundaryCondition != 0 && SET_CAPILLARY_NUMBER==true){
if (rank == 0) printf("WARINING: capillary number target only supported for BC = 0 \n");
if (BoundaryCondition != 0 && BoundaryCondition != 5 && SET_CAPILLARY_NUMBER==true){
if (rank == 0) printf("WARINING: capillary number target only supported for BC = 0 or 5 \n");
SET_CAPILLARY_NUMBER=false;
}
if (analysis_db->keyExists( "seed_water" )){