|
[Sponsors] |
April 2, 2019, 12:50 |
debugging criteriaSatisfied function
|
#1 |
Member
Join Date: Jun 2011
Posts: 42
Rep Power: 15 |
I am trying to turn debugging on for the criteriaSatisfied() function in singleRegionConvergenceControl.C file. However, I am not sure how to make the variable "control_.debug" true here:
Code:
if (control_.debug) { Info<< control_.algorithmSpace() << " " << variableName << ": tolerance " << residual << " (" << residualControl_[fieldi].absTol << ")" << (absCheck ? " CONVERGED" : "") << endl; } Code:
DebugSwitches { singleRegionConvergenceControl 2; } |
|
April 3, 2019, 10:35 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi,
it should be Code:
namespace Foam { defineTypeNameAndDebug(solutionControl, 0); } Code:
namespace Foam { defineTypeNameAndDebug(solutionControl, 0); } Code:
DebugSwitches { solutionControl 1; }
__________________
Keep foaming, Tobias Holzmann |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 03:36 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 05:37 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |