|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Oct 2018
Posts: 32
Rep Power: 9 ![]() |
Hi all,
In version -dev 12 13 (versions I tested the problem) inserting inside the fvSolution file the sub-dictionary SIMPLE with consistent true keyword, checking the solution log file, the SIMPLEC algorithm is not triggered. Refer to tutorial: /tutorials/incompressibleFluid/pitzDailySteady/ Running this tutorial as it is, using ./Allrun launcher, I get the log output reporting "SIMPLE: Operating solver in SIMPLE mode" like in the log attached. Any idea regarding SIMPLEC is not triggered? |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19 ![]() |
The output line you are referring to treats SIMPLE and SIMPLEC as the same thing ... in other words you are actually running with SIMPLEC even if it states "Operating solver in SIMPLE mode".
To see this, look at the coding. From a quick grep, you'll find that the relevant bit of code is in pimpleSingleRegionControl.C (refer to https://cpp.openfoam.org/v13/pimpleS..._source.html): Code:
Info<< nl << pimple_.algorithmName() << ": Operating solver in "
<< (pimple_.mesh().schemes().steady()
? "steady-state"
: pimple_.mesh().schemes().transient() ? "transient" :
"mixed steady-state/transient") << " mode with " << nCorr_
<< " outer corrector" << (nCorr_ == 1 ? "" : "s") << nl;
if (nCorr_ == 1)
{
Info<< pimple_.algorithmName() << ": Operating solver in "
<< (pimple_.mesh().schemes().steady() ? "SIMPLE" : "PISO")
<< " mode" << nl;
}
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Oct 2018
Posts: 32
Rep Power: 9 ![]() |
Thank you so much for the clarification!
Only one more question. The only way to verify that "consistent true/false" keyword produces different "way to solve" the case is to check the convergence or output log? Sorry for the trivial question but I'm totally new to OpenFOAM and C++. |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19 ![]() |
Yes, it is a bit annoying, but I am afraid that the only way to see whether the consistent flag is on or off (i.e. whether the solver is running SIMPLEC or SIMPLE) is to check the system/fvSolution file for the run. There is no equivalent of printCoeffs for the SIMPLE dictionary, that you have for the turbulence model.
|
|
|
|
|
|
|
|
|
#5 |
|
Member
Join Date: Oct 2018
Posts: 32
Rep Power: 9 ![]() |
For the moment I will compare the convergence history comparing consistent true and consistent false cases.
Thank you so much for the help. |
|
|
|
|
|
|
|
|
#6 |
|
Member
Join Date: Oct 2018
Posts: 32
Rep Power: 9 ![]() |
I effectively tested the consistent keyword true/false switch during the same run and it produces a totally different convergence iteration history.
thanks again for the support.
|
|
|
|
|
|
![]() |
| Tags |
| simplec, trigger |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| simple heat transfer problem | openfoam1 | OpenFOAM | 2 | January 27, 2010 15:17 |
| Problem with SIMPLE algorithm | katakgoreng | Main CFD Forum | 4 | December 28, 2009 05:09 |
| 1D thermal stress problem simple barrodbeam | newsboost | OpenFOAM Running, Solving & CFD | 3 | January 2, 2009 16:12 |
| Simple Meshing Problem with Gambit | Mario | FLUENT | 4 | April 18, 2003 10:52 |
| ? Simple CFD problem | Davy | Main CFD Forum | 0 | August 21, 1998 07:19 |