CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Advantages of residual calculation in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2015, 11:28
Default Advantages of residual calculation in OpenFOAM
  #1
New Member
 
Join Date: Jul 2015
Posts: 1
Rep Power: 0
sehli is on a distinguished road
Hello Everyone,
I have a question about the calculation of normalised residuals in OpenFOAM. What are the advantages in comparison to other residual types (e.g. maximum residuals)? You can find in the code:

// --- Calculate normalisation factor
normFactor = gSum(mag(wA - pA) + mag(source_ - pA)) + matrix_.small_;
initialResidual() = gSumMag(b - Ax)/normFactor;

Am I right, information about very few high residual values in the domain get lost through the summation over all cells?

Thanks
sehli is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 17:36
a problem with convergence in buoyantSimpleFoam skuznet OpenFOAM Running, Solving & CFD 6 November 15, 2017 12:12
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Simulation seems to converge but crashes suddenly xxxx OpenFOAM 16 September 12, 2014 08:07
Unknown error sivakumar OpenFOAM Pre-Processing 9 September 9, 2008 12:53


All times are GMT -4. The time now is 04:59.