This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

error function

0 votes

I'm wondering if FEniCS has a builtin function that can estimate the error between the solution it computes and the exact solution of a given PDE when the exact solution isn't known. Thanks.

asked Mar 30, 2015 by bseguin FEniCS Novice (650 points)

1 Answer

+1 vote
answered Mar 30, 2015 by logg FEniCS Expert (11,790 points)

Thanks for your quick response. I've looked at that demo and I see how it outputs a table that contains the error estimate at each iteration. Is there a way to output this number without using the auto adaptive solver?

Let me add that I would like to be able to save the estimated error to a file.

No you need to use the auto-adaptive solver (or implement your own error estimator).

...