@@ -700,22 +700,25 @@ void WellInterfaceGeneric<Scalar, IndexTraits>::addPerforations(const std::vecto
700700 this ->well_index_ [ind] += static_cast <Scalar>(perf.ctf );
701701 }
702702 else {
703- assert (false );
704- this ->well_cells_ .push_back (perf.cell );
705- this ->well_index_ .push_back (static_cast <Scalar>(perf.ctf ));
706- this ->perf_depth_ .push_back (static_cast <Scalar>(perf.depth ));
707-
708- // Not strictly needed.
709- const double nan = std::nan (" 1" );
710- this ->perf_rep_radius_ .push_back (nan);
711- this ->perf_length_ .push_back (nan);
712- this ->bore_diameters_ .push_back (nan);
713-
714- // For now use the saturation table for the first cell.
715- this ->saturation_table_number_
716- .push_back (this ->saturation_table_number_ .front ());
717-
718- ++this ->number_of_local_perforations_ ;
703+ std::cout << " Perforation to cell " << perf.cell
704+ << " does not exist in well " << this ->name ()
705+ << " , skip it. TimeStep cuts do to error in fracture solve?." << std::endl;
706+ // assert(false);
707+ // this->well_cells_.push_back(perf.cell);
708+ // this->well_index_.push_back(static_cast<Scalar>(perf.ctf));
709+ // this->perf_depth_.push_back(static_cast<Scalar>(perf.depth));
710+
711+ // // Not strictly needed.
712+ // const double nan = std::nan("1");
713+ // this->perf_rep_radius_.push_back(nan);
714+ // this->perf_length_.push_back(nan);
715+ // this->bore_diameters_.push_back(nan);
716+
717+ // // For now use the saturation table for the first cell.
718+ // this->saturation_table_number_
719+ // .push_back(this->saturation_table_number_.front());
720+
721+ // ++this->number_of_local_perforations_;
719722 }
720723 }
721724}
0 commit comments