> I recently converted an ABAQUS input file into UCD mesh using convert mesh > as follows,
(I never tried to do that before) > The violated condition was: > level<levels.size() > The name and call sequence of the exception was: > ExcInvalidLevel(level) > Additional Information: > The given level 0 is not in the valid range! > Stacktrace: > #5 /home/nml-staff/Desktop/deal.II/lib/libdeal_II.g.so.7.0.0: void > dealii::GridOut::write_gnuplot<3, 3>(dealii::Triangulation<3, 3> const&, > std::ostream&, dealii::Mapping<3, 3> const*) const > #6 ./step-1: first_grid() > #7 ./step-1: main Deal.II stores the mesh in separate levels for each refinement level (so you should have one level). The error means that your mesh is empty when you are calling write_gnuplot(). Are you sure you are loading the mesh before calling write_gnuplot()? What does Triangulation::n_active_cells() return? How does the generated ucd file look like, does it contain cells? -- Timo Heister http://www.math.tamu.edu/~heister/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
