Mmmmm… I’m actually not sure it’s a bug… The point where the error starts growing is at 10e-12. This is basically machine precision, considering the fact that you are computing the L2 error.
After you have reached machine precision, any addition you make to that, is just roundoff error adding up. This may or may not be a problem, according to what finite elements you use, but I’m not surprised that increasing the number of dofs, you get higher error. What’s the tolerance of your solver? Is it a direct or an iterative solver? If it is an iterative solver, is the tolerance right around 1e-12? L. > On 20 Dec 2017, at 9:47, 'Uwe Köcher' via deal.II User Group > <[email protected]> wrote: > > Dear Jie, > > I'm with Bruno, you definately have a bug in your code. > > Maybe the application of the Dirichlet boundary is incorrect. When you use > the 1d grid generation > the left and right boundary nodes are coloured by different numbers. This is > a different behaviour > compared to 2d or 3d grid generation. > > https://www.dealii.org/8.5.0/doxygen/deal.II/namespaceGridGenerator.html#acea0cbcd68e52ce8113d1134b87de403 > > Some time ago I had a similar issue (incorrect Dirichlet application). Maybe > you should check that > firstly. > > Kind regards > Uwe > > > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- > You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
