|
[Sponsors] |
February 27, 2019, 05:05 |
Residual Calculation
|
#1 |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
In this link, the residual calculation is explained. However, can anyone demonstrate (maybe with a figure or a small example) the calculation of the scalar value n? What does "n" vividely mean?
Link --> https://openfoam.com/documentation/g...residuals.html |
|
February 27, 2019, 11:17 |
|
#2 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 261
Rep Power: 22 |
n is the normFactor, r is the initialResidual (see PCG.C source code). These are used to bring all the residuals e.g. for p, U, k, Omega etc., depending on your turbulence model onto the same normalized scale.
When you plot your residuals using pyFoam you can see that all residuals are on a scale ranging from 0 to 1 (left, y-axis) even so the absolute values differ a lot. |
|
February 27, 2019, 13:15 |
|
#3 | |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Quote:
Thanks that you are trying to solve my problem. I understand why it is necessary to use a normalization, but I do not understand why it is performed like this. In addition, I do not understand why this kind of normalization leads to values in the range of "0" to "1". Do you know any literature reference for this kind of normalization? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Maximum number of iterations exceeded chtmultiregionsimpleFoam | Moncef | OpenFOAM Running, Solving & CFD | 28 | July 13, 2020 14:26 |
Suppress twoPhaseEulerFoam energy | AlmostSurelyRob | OpenFOAM Running, Solving & CFD | 33 | September 25, 2018 17:45 |
Free surface issues with interDyMFoam for hydroturbine | oumnion | OpenFOAM Running, Solving & CFD | 0 | October 6, 2017 14:05 |
pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 05:49 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |