|
[Sponsors] |
Differences in residual calculations in openfoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 24, 2024, 12:39 |
Differences in residual calculations in openfoam
|
#1 |
New Member
Join Date: May 2021
Posts: 4
Rep Power: 5 |
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? |
|
Tags |
openfoam, residual field |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help sought on axial compressor simulation | jyotir | OpenFOAM Running, Solving & CFD | 0 | November 17, 2021 11:49 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |