|
[Sponsors] |
November 22, 2011, 03:57 |
Convergence/Residual calculation
|
#1 |
New Member
Miriam
Join Date: Feb 2011
Location: Germany
Posts: 7
Rep Power: 15 |
Hello OpenFoamers,
I want to understand what the monitoring Data are to find the problem for the course of my convergencecurves (which is bad). 1) Can someone tell me please what exatctly the initial and final values are? 2) Which equation are the "residuals" from? and another Question 3) Can I let me show the residuals for one vertice? Thanks for answering so far! Carolin |
|
November 22, 2011, 04:08 |
|
#2 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20 |
Hej
for your residual curves follow this small and easy tutorial by wolfgang http://www.cfd-online.com/Forums/ope...residuals.html
__________________
~roman |
|
November 24, 2011, 09:10 |
|
#3 |
New Member
Miriam
Join Date: Feb 2011
Location: Germany
Posts: 7
Rep Power: 15 |
Hey Roman,
thanks for the fast reply! Ive looked into the solver equations, but im not really firm with c++. So I still dont understand: 1) Is the plotted value for init/final residual the average value of all solved equations in the mesh or the biggest value? Iam now just thinking of one iteration step, which gives one residual value for init and final for eg p/U/k etc. . Do you know that? Miriam |
|
November 25, 2011, 03:16 |
|
#4 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20 |
The is only one equation per variable (U, p_rgh, T, k, epsilon, ...) solved (which is a matrix equations, so I think you could say that there are many equations). The residual value should be the largest value of the matrix, since averaging would hide the largest value and therefore would hide the convergence in all cells of the mesh.
As for the solvers, take a look at http://www.openfoam.com/docs/user/pr...e-OpenFOAM.php The equations are quite easy to under stand that way, because they are kind of written the same way as you would write them on paper.
__________________
~roman |
|
September 11, 2018, 08:43 |
|
#5 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 8 |
Hello Foamers,
Is there a way of calculating the averages of residuals in OpenFoam? I have a log file with residuals but i want to plot the average values of them. You may help to know that way if exist. Regards! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transfer output data as input for second calculation | mannobot | Main CFD Forum | 3 | December 7, 2018 09:37 |
MRF and Heat transfer calculation | Susan YU | FLUENT | 0 | June 2, 2010 08:46 |
Defining output as input for second calculation | mannobot | FLUENT | 1 | June 2, 2010 04:20 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |
Heat Flux Calculation under REPORTS | Alberto Schroth | FLUENT | 0 | May 16, 2000 08:19 |