Hello Luca,
Thanks for your suggestion. I was able to figure out an issue regarding the order of elements in the mesh. After fixing that and without using physical groups, I am able to read the mesh, but during computation, it seems at some point deal.ii is finding a negative volume fraction, which I believe could be caused by how Gmsh is storing the node information for the elements. This is the error message:
an error occurred in line <2858> of file </home/krishanu/Google_Drive/dealii/dealii_920/dealii-9.2.0/source/fe/mapping_q_generic.cc> in function
dealii::CellSimilarity::Similarity dealii::MappingQGeneric<dim, spacedim>::fill_fe_values(const typename dealii::Triangulation<dim, spacedim>::cell_iterator&, dealii::CellSimilarity::Similarity, const dealii::Quadrature<dim>&, const typename dealii::Mapping<dim, spacedim>::InternalDataBase&, dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim>&) const [with int dim = 2; int spacedim = 2; typename dealii::Triangulation<dim, spacedim>::cell_iterator = dealii::TriaIterator<dealii::CellAccessor<2, 2> >; typename dealii::Mapping<dim, spacedim>::InternalDataBase = dealii::Mapping<2, 2>::InternalDataBase]
The violated condition was:
det > 1e-12 * Utilities::fixed_power<dim>( cell->diameter() / std::sqrt(double(dim)))
Additional information:
The image of the mapping applied to cell with center [0.219334 0.973857] is distorted. The cell geometry or the mapping are invalid, giving a non-positive volume fraction of -0.000390158 in quadrature point 3.
I am using the GUI of Gmsh to create the mesh, and not sure if there is any way to force Gmsh to store data in the particular format required by deal.ii. So, I was wondering if there is any other meshing softwares that is able to generate mesh data file in the format required by deal.ii. Please let me know if there is any such meshing software whose mesh output is compatible with deal.ii.
Thanks,
Krishanu