Hi, everyone,

      I am trying to add mesh refinement to step-35, by using
KellyErrorEstimator, However, after several hundreds time
steps, I got following errors:

--------------------------------------------------------
An error occurred in line <1970> of file
</home/zwang/Academy/Codes/deal.II/source/numerics/matrices.cc> in function
    void dealii::MatrixTools::apply_boundary_values(const std::map<unsigned
int, double>&, dealii::SparseMatrix<number>&, dealii::Vector<Number2>&,
dealii::Vector<Number2>&, bool) [with number = double]
The violated condition was:
    dof->first < n_dofs
The name and call sequence of the exception was:
    ExcInternalError()
Additional Information:
(none)

Stacktrace:
-----------
#0  /home/zwang/Academy/Codes/deal.II/lib/libdeal_II.g.so.7.1.0: void
dealii::MatrixTools::apply_boundary_values<double>(std::map<unsigned int,
double, std::less<unsigned int>, std::allocator<std::pair<unsigned int
const, double> > > const&, dealii::SparseMatrix<double>&,
dealii::Vector<double>&, dealii::Vector<double>&, bool)
#1  ./step-35: Step35::NavierStokesProjection<2>::projection_step(bool)
#2  ./step-35: Step35::NavierStokesProjection<2>::run(bool, unsigned int)
#3  ./step-35: main
--------------------------------------------------------

BTW, I attached the code to this email.

many thanks,

zhicheng


-- 
Zhicheng Wang
Ph.D. Candidate
RM 402, No.11 Beisihuan West Road
Institute of Engineering Thermophysics, Chinese Academy of Sciences
Beijing, 100190, P.R. China
Tel: (86) 10-82543092
E-mail: [email protected]; [email protected]

Attachment: step-35.cc.tar.gz
Description: GNU Zip compressed data

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to