Machine roundoff precision
Hi,
Does anyone have a simple solution to tell CFX "just iterate until you reach the machine roundoff precision"? It seems quite difficult to set up such a convergence criteria... Thanks. 
Difficult? Try setting the residual target to 1e20 and see what happens. Machine round off will stop you getting anywhere near the value.
But if you are asking how do you get it to stop when it reaches numerical roundoff  well, that's a different question. There is no easy way to judge machine accuracy. I would just set a very tight residual critereon and do a sensitivity analysis to show whether it is tight enough. 
Thanks Glenn.
Yes, my problem here is not the "just iterate" part, but the "until" part. I run many simulations through a script, and I'd like the computation to stop when residuals reach the machine roundoff. (Basically when the graphs become flat) I tried monitoring the run with an awk script, calculating a relative standard deviation on the last N iterations (or the last N*n iterations). But it's messy and does not work so well. So I was wondering if there was some kind of builtin hidden developer thing that could help me... ^^ 
Why can't you just say a maximum of X iterations where X is larger than would ever be required? Or a convergence tolerance tight enough that it is pretty close to machine round off?
Why do you need to run to machine round off anyway? 
Right now that's what I'm doing, running X iterations. A tight tolerance could work, but as I have various values to run in a script I can't guess a value for each run...
I need machine round off to verify the asymptotic convergence of my result when the number of nodes increases, so I'm sure the result I get is the true result of the model (neglecting the machine precision). 
The truncation error due to mesh resolution should be orders of magnitude higher than the error due to round off. I can't see why you would bother going to machine round off error. Convergence to a tight tolerance should be fine.

I'm sorry, I think I have mistaken terms here, I realize that reading the CFX Help...technical English is a little tricky for me!
I'm not truely looking for machine roundoff precision, but for the best precision the solver could give me. For instance, if after 200 iterations the residuals do not change and their graphs stay flat when the run continues, here I am: I know the solver found the best solution it could. I guess the right term would be "solver precision", which would be reached when only the machine roundoff and timestepping have an influence on the solution of Ax=b? 
No, I think I correctly understood your terminology  I think you misunderstood my last point.
My point was that the error due to the mesh size (ie truncation due to mesh size) is going to be far larger than the difference between tight convergence, tighter convergence and run until it converges no more. So my point is I don't think running to such tight tolerances is required. Mesh sensitivities can be adequately found using more standard residual tolerances for most cases. 
All times are GMT 4. The time now is 14:31. 