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

pimpleFoam(transient) vs simpleFoam(steady)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2022, 19:29
Default pimpleFoam(transient) vs simpleFoam(steady)
  #1
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Hello all
I am simulating artery(see attached picture), and I only need steady state solution. As you know, we can change transient to steady state inside fvSchemes as below;

Code:
ddtSchemes
{
    default         steadyState; //Euler;
}
but steady state fails and only pimple-transient works fine, why?

Code:
pimple transient ===>works
pimple steady ===>Fails
*************
simple transient ===>Fails
simple steady ===>Fails
Thanks,
Farzad
Attached Images
File Type: png cfdonline.PNG (97.3 KB, 10 views)
farzadmech is offline   Reply With Quote

Old   February 21, 2022, 19:43
Default
  #2
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 281
Rep Power: 12
mostanad is on a distinguished road
Quote:
Originally Posted by farzadmech View Post
Hello all
I am simulating artery(see attached picture), and I only need steady state solution. As you know, we can change transient to steady state inside fvSchemes as below;

Code:
ddtSchemes
{
    default         steadyState; //Euler;
}
but steady state fails and only pimple-transient works fine, why?

Code:
pimple transient ===>works
pimple steady ===>Fails
*************
simple transient ===>Fails
simple steady ===>Fails
Thanks,
Farzad

Hi Farzad,
We need to see the log output to see what happens for each case. SIMPLE, in OF, does not contain any time derivative:
Code:
tmp<fvVectorMatrix> tUEqn
    (
        fvm::div(phi, U)
      + MRF.DDt(U)
      + turbulence->divDevReff(U)
     ==
        fvOptions(U)
    );

However, PIMPLE, in essence, is the combination of SIMPLE and PISO. Therefore, it is a transient solver:
Code:
tmp<fvVectorMatrix> tUEqn
(
    fvm::ddt(U) + fvm::div(phi, U)
  + MRF.DDt(U)
  + turbulence->divDevReff(U)
 ==
    fvOptions(U)
);
mostanad is offline   Reply With Quote

Old   February 21, 2022, 20:18
Default
  #3
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Dear Mohammad
Please see the logs which I attached here. I think I should increase nCorrectors.

Code:
SIMPLE //PIMPLE
{
    nOuterCorrectors 1;
    nCorrectors     2;
    nNonOrthogonalCorrectors 0;
    pRefCell        0;
    pRefValue       0;
}
Thanks,
Farzad
Attached Images
File Type: jpg pimpleState.jpg (94.4 KB, 14 views)
File Type: jpg simpleSteadyState.jpg (84.5 KB, 12 views)
farzadmech is offline   Reply With Quote

Old   February 21, 2022, 23:23
Default My problem is solved
  #4
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Dear Mohammad
My problem is solved. I just used simpleFoam files(controlDict, fvSchemes fvSolution) in;
Code:
/openfoam9/tutorials/incompressible/simpleFoam/pitzDaily/system
and it works fine. Just a question, I want to plot residuals and when I use log scale, it works fine which I have attached. On the other hand, when I use normal scale, it does not plot anything. why?
Attached Images
File Type: jpg photo_2022-02-22_03-22-31.jpg (32.5 KB, 20 views)
File Type: png Plot.png (128.1 KB, 17 views)
farzadmech is offline   Reply With Quote

Reply

Tags
openfoam, pimplefoam, simplefoam, steady state, transient


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



All times are GMT -4. The time now is 14:51.