Steffen, > I went trough half of the Deal tutorials and wondered, is it possible to > use triangular elements or even line elements?
deal.II doesn't support triangles, but line elements are the cells of a Triangulation<1>, for example. But I think your question was about obtaining such elements from quadrilaterals: > I tried the usual trick of collapsing the 4 corners into 3, but upon > refinement the simulation crashed (also the GMV output was "special"). Yes, that's because the transformation from the reference cell to the real cell becomes singular in these cases. Remember that this transformation needs to be one-to-one so that it can be inverted. If you map two vertices of the reference cell to the same location on the real cell, the mapping is not invertible. In cases like these, you get that JxW=0 on some quadrature points, and grad phi_i=\infty on some others. You can't expect anything good to come from this situation :-) > Mainly I am interested in Line-elements, which upon refinement would > only be divided in one dimension. Their neighbors would be normal 4 > vertex elements. Are those elements possible? Not trivially. But what equation are you posing on these elements anyway? Can you say something more about the situation you really want to solve (i.e. why do you think you need these sort of elements)? W. -- ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
