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

Why does LaplacianFoam use a SIMPLE algorithm?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 4, 2021, 03:51
Default Why does LaplacianFoam use a SIMPLE algorithm?
  #1
New Member
 
Join Date: Sep 2020
Posts: 28
Rep Power: 5
Reptider is on a distinguished road
Hello!
At present, I study discretisation schemes introduced in openFOAM. I know there are emplicit and implicit schemes. Intruduced code below solves the thermal equasion using Euler implicit implementation for a treatment of temporal discretisation (fmv).
Code:
    while (simple.loop())
    {
        Info<< "Time = " << runTime.timeName() << nl << endl;

        while (simple.correctNonOrthogonal())
        {
            fvScalarMatrix TEqn
            (
                fvm::ddt(T) - fvm::laplacian(DT, T)
             ==
                fvOptions(T)
            );

            fvOptions.constrain(TEqn);
            TEqn.solve();
            fvOptions.correct(T);
        }

        #include "write.H"

        runTime.printExecutionTime(Info);
    }
Euler implicit implementation gives us a first order accurate in time, guarantees boundedness and is unconditionally stable, so Courant number is unneccesary.
I have the question about SIMPLE algorithm which is used in laplacianFOAM.
SIMPLE algorithm is used for solving steady-state modes where Courant number isn't used, but time derivative is presented. So why is this algorithm presented in solver?
In fvSolution nonOrhogonalCorrector is included in SIMPLE.
Code:
SIMPLE
{
    nNonOrthogonalCorrectors 2;
}
Does it mean that SIMPLE is used only for inner loop to solve laplacian disctirisation?
Tnx!
Reptider is offline   Reply With Quote

 


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
Backward Facing Step using Simple Algorithm aar_out Main CFD Forum 14 March 25, 2019 16:15
SIMPLE algorithm in 3D cylindrical coordinates zouchu Main CFD Forum 1 January 20, 2014 17:02
Velocity correction and under-relaxation in the SIMPLE algorithm johnhelt Main CFD Forum 2 October 18, 2010 06:27
SIMPLE algorithm confusion lost.identity Main CFD Forum 1 October 7, 2010 11:48
About Phase Coupled SIMPLE (PC-SIMPLE) algorithm Yan Kai Main CFD Forum 0 April 18, 2007 03:48


All times are GMT -4. The time now is 08:30.