|
[Sponsors] |
PIMPLE residual control not workin in OF. 6.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 14, 2019, 15:04 |
PIMPLE residual control not workin in OF. 6.0
|
#1 |
Member
Ilan
Join Date: Dec 2018
Posts: 52
Rep Power: 8 |
Dear foamers,
I have a problem when I try to switch my case from OpenFoam 2.3 to OF6.0 in the fvSolutiondict : My first code was : Code:
PIMPLE { momentumPredictor yes; correctPhi yes; nOuterCorrectors 1000; nCorrectors 1; nNonOrthogonalCorrectors 1; pRefCell 0; pRefValue 0; moveMeshOuterCorrectors yes; consistent yes; residualControl { "(U|p)" { relTol 0; tolerance 1e-6; } } } On 6.0, with this code, I receive an error message : Code:
--> FOAM FATAL ERROR: Solution convergence criteria specified in PIMPLE.residualControl must be given as single values. Corrector loop convergence criteria, if appropriate, are specified as dictionaries in PIMPLE.<loopName>ResidualControl. A read a forum saying that I have to change my code to : Code:
PIMPLE { momentumPredictor yes; correctPhi yes; nOuterCorrectors 1000; nCorrectors 1; nNonOrthogonalCorrectors 1; pRefCell 0; pRefValue 0; moveMeshOuterCorrectors yes; consistent yes; residualControl { U 1e-06; p 1e-06; } This is absolutly not working : pimple finish the 1000 iterations before going to the next time step not matter if the residuals are under 1e-06 or not. Do you have any explanation for me ? Any alternative syntaxe ? Thanks, Best regards. |
|
March 15, 2019, 06:50 |
|
#2 | |
Member
Ilan
Join Date: Dec 2018
Posts: 52
Rep Power: 8 |
Up,
residualControl variable name changed. Remplaced by : Quote:
|
||
August 22, 2019, 04:30 |
|
#3 |
Senior Member
Gerry Kan
Join Date: May 2016
Posts: 376
Rep Power: 11 |
Folks:
Here is a (rhetorical) question ... if the old "residualControl" is now reassigned to "outerCorrectorResidualControl", what does the new "residualControl" monitor? Thanks, Gerry. |
|
December 11, 2019, 15:25 |
|
#4 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 |
Same question here the outerCorrectorResidualControl does not do anything?
|
|
May 18, 2020, 09:25 |
|
#5 | |
Member
Join Date: May 2017
Posts: 31
Rep Power: 9 |
Quote:
If you only want the absolute tolerance to be checked set relTol to 1 (So opposite to the solvers section of fvSchemes, where any convergence criteria being met will make it stop, as far as I'm aware) |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 13:30 |
chtMultiRegionSimpleFoam turbulent case | Aditya Patil | OpenFOAM Running, Solving & CFD | 6 | April 24, 2017 23:13 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |