CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

solverInfo functionObject ofv1906: cell residuals vs. total residuals

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2019, 16:41
Default solverInfo functionObject ofv1906: cell residuals vs. total residuals
  #1
Member
 
Luca
Join Date: Mar 2011
Location: Italy
Posts: 62
Rep Power: 15
marluc is on a distinguished road
Hi,

I can store initial residuals as volScalarFields with the functionObject solverInfo with OF v1906.

When I sum up all the initial cell residuals the value I get differs from that written in the log file for the variable, e.g. the sum of the volScalarField initialResidual differs from the initial residual for p printed on screen at the same iteration.

The dimension of the cell residual is [0 0 0 0 0] so that it seems they are already normalized. Therefore, I guessed their sum over the cells should equal the value reported on screen.

Can anyone explain me the reason for the discrepancy?

Thank you in advance,
Luca

Last edited by marluc; October 8, 2019 at 09:01.
marluc 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
Questions on dynamicTopoFvMesh danvica OpenFOAM Running, Solving & CFD 80 April 16, 2019 16:58
volumetric control total cell count sieginc. STAR-CCM+ 12 November 14, 2011 16:49
dieselFoam: Summation of total droplet momentum in a Cell N. A. OpenFOAM 7 September 20, 2010 07:43
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
total cell area Ossi Siemens 5 April 8, 2002 02:14


All times are GMT -4. The time now is 21:57.