Please wait...
×

Error

Posted Sat, 18 Feb 2012 18:15:41 GMT by Silverbrook
Hello,

I'm not sure what this should be set at. The default value is 0.1 [*1e-3]. What justification is there for changing this from the default in a model that is not converging?

Thank you,

SB
Posted Wed, 22 Feb 2012 03:10:21 GMT by psinton@aquageo.us
non-convergence in a feflow model is often due to a problem with the way the model is set up.  If you are not sure what is causing the problem, a good way to identify problems is to run tests in which you set up the model with  a few inputs as possible, then add complexity until the problem shows up (or do the same in reverse: remove things until convergence improves).

After you get a model that behaves better, you can refine the solver settings.

Pete
Posted Thu, 23 Feb 2012 00:42:58 GMT by Silverbrook
Thanks Pete. I found a problem with a boundary condition that was causing the issues.

Out of interest, and for future reference, what does the 0.1 [*1e-3] error tolerance represent, and under what circumstances would we consider altering it?
Posted Fri, 09 Mar 2012 01:21:20 GMT by psinton@aquageo.us
It depends on which tolerance type you choose.  L1 compares the tolerance to an average of all "changes" across the domain, L2 compares the tolerance to the deviation around the average change, and max compares the tolerance to the max change.  "Change" depends on what's being solved (head, solute mass, heat energy).  L1 is the least stringent and "max" is the most stringent.  Which you choose depends on the complexity of the model: more complex often require more stringent comparison.  More complex models also may require smaller tolerance value.  To help you decide, run tests on your model.  There is no better way to select the right combination of settings.

Pete 
Posted Mon, 12 Mar 2012 18:14:08 GMT by Silverbrook
So would it be right to say that when applying the error norm to the max error that it is essentially working to try and solve by ensuring that any areas that are numerically problematic are focused on during the solving routine?
Posted Thu, 15 Mar 2012 08:26:06 GMT by Denim Umeshkumar Anajwala
Some additional information: The absolute value of error depends on the maximum value of the primary variable in the model. For flow models this is usually the head. If your model has high elevations, you may need to set a smaller error criterion. For more details, please refer to the help-system: [url=http://www.feflow.info/html/help/HTMLDocuments/reference/dialogs/problemsettings/numerical_parameters.htm]http://www.feflow.info/html/help/HTMLDocuments/reference/dialogs/problemsettings/numerical_parameters.htm[/url]
Posted Wed, 04 Apr 2012 02:21:20 GMT by psinton@aquageo.us
Silverbrook: yes, using max error as the measure will focus model solver on areas with largest error.

You must be signed in to post in this forum.