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

Differences in residual calculations in openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2024, 11:39
Default Differences in residual calculations in openfoam
  #1
New Member
 
Join Date: May 2021
Posts: 4
Rep Power: 5
gimson is on a distinguished road
I enabled solverInfo in my simulation to write the initial residual fields to find out the locations with high p_rgh residuals because I was getting 0.05 residuals in the log.

However, when I opened the initialresidual_p_rgh field in paraview to threshold the cells that have high residuals, I find that the upper and lower thresholds of the initialresidual_p_rgh field only ranged from -0.01 to +0.01, nowhere near the 0.05. And getting the inverted threshold of the locations that are outside of -0.001 to +0.001, it's estimated to be less than 5% of the total cells.

If I were to sum the residuals in every cell, I would definitely exceed 0.05. I looked at the openfoam residual calculation https://www.openfoam.com/documentati...residuals.html but it doesn't seem as straightforward

Is the discrepancy in the field and log values caused by the normalisation factor?

Is the residual field already normalised?

Which residual value does the openfoam log the output log?
gimson is offline   Reply With Quote

Reply

Tags
openfoam, residual field


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
Help sought on axial compressor simulation jyotir OpenFOAM Running, Solving & CFD 0 November 17, 2021 10:49
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 13:38
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16


All times are GMT -4. The time now is 10:19.