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

SIMPLE - SIMPLEC trigger problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By elia_l
  • 1 Post By elia_l

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2025, 14:57
Default SIMPLE - SIMPLEC trigger problem
  #1
Member
 
Join Date: Oct 2018
Posts: 32
Rep Power: 9
elia_l is on a distinguished road
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?
Attached Images
File Type: png logFoam.png (131.2 KB, 8 views)
elia_l is offline   Reply With Quote

Old   August 6, 2025, 10:23
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19
Tobermory will become famous soon enough
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;
     }
Tobermory is offline   Reply With Quote

Old   August 6, 2025, 10:53
Default
  #3
Member
 
Join Date: Oct 2018
Posts: 32
Rep Power: 9
elia_l is on a distinguished road
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++.
elia_l is offline   Reply With Quote

Old   August 6, 2025, 11:08
Default
  #4
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 894
Rep Power: 19
Tobermory will become famous soon enough
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.
Tobermory is offline   Reply With Quote

Old   August 6, 2025, 15:51
Default
  #5
Member
 
Join Date: Oct 2018
Posts: 32
Rep Power: 9
elia_l is on a distinguished road
For the moment I will compare the convergence history comparing consistent true and consistent false cases.
Thank you so much for the help.
Tobermory likes this.
elia_l is offline   Reply With Quote

Old   August 8, 2025, 04:04
Default
  #6
Member
 
Join Date: Oct 2018
Posts: 32
Rep Power: 9
elia_l is on a distinguished road
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.
Tobermory likes this.
elia_l is offline   Reply With Quote

Reply

Tags
simplec, trigger

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 01:49.