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

fvSolution from sonicFoam to pimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2020, 18:19
Question fvSolution from sonicFoam to pimpleFoam
  #1
New Member
 
Join Date: May 2020
Posts: 1
Rep Power: 0
gecos is on a distinguished road
Hi all,
I usually run simulations using sonicFoamART, the sonicFoam solver with adjustable run time. I recently got a new server on which it is no longer possible to have sonicFoam and derivatives. If I understand correctly I can use rhoPimpleFoam instead of sonicFoam with the adjustable run time, because also rhoPimpleFoam adjusts the time step in the same way.
However, I think I have a problem with the definition of the new fvSolution file. The old file for sonicFoamART40 is
Code:
solvers
{
    "p.*"
    {
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-06;
        relTol          0;
    }

    "U.*"
    {
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-05;
        relTol          0;
    }

    "rho.*"
    {
        solver          PCG;
        preconditioner  FDIC;
        tolerance       1e-05;
        relTol          0;
    }

    "e.*"
    {
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-05;
        relTol          0.1;
    }

    "omega.*"
    {
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-05;
        relTol          0.05;
    }

    "k.*"
    {
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-05;
        relTol          0.05;
    }

}
PIMPLE
{
    nOuterCorrectors     2;
    nCorrectors          2;
    nNonOrthogonalCorrectors 3;
}
PISO
{
    nCorrectors     2;
    nNonOrthogonalCorrectors 3;
}
So I tried to write the new fvSolution file for rhoPimpleFoam like this:

Code:
solvers
{
    "p.*"
    {
        solver          PBiCGStab;
        preconditioner  FDIC;
        tolerance       1e-06;
        relTol          0;
    }

    "U.*"
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-05;
        relTol          0;
    }

    "rho.*"
    {
        solver          PCG;
        preconditioner  DIC;
        tolerance       1e-05;
        relTol          0;
    }

    "e.*"
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-05;
        relTol          0.1;
    }

    "omega.*"
    {
        solver          PBiCGStab;
        preconditioner  FDIC;
        tolerance       1e-05;
        relTol          0.05;
    }

    "k.*"
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-05;
        relTol          0.05;
    }

}
PIMPLE
{
    nOuterCorrectors     2;
    nCorrectors          2;
    nNonOrthogonalCorrectors 3;
}
PISO
{
    nCorrectors     2;
    nNonOrthogonalCorrectors 3;
}
However, something doesn't work because simulations that didn't have problems with sonicFoam in this way fail to progress after a certain relatively low time step, or crash almost immediately.

What did I do wrong? Maybe I need to change other files in the system folder in addition to the solver name in the controlDict file?
gecos is offline   Reply With Quote

Old   June 4, 2020, 10:06
Default
  #2
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
is there any error message?
can you post your terminal output ?
geth03 is offline   Reply With Quote

Reply

Tags
adjustable time step, fvsolutions, rhopimplefoam, sonicfoam


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
pimpleFoam runs slower than rhoPimpleFoam Kosuke Seto OpenFOAM Running, Solving & CFD 3 May 27, 2023 15:12
pisoFoam and pimpleFoam are unstable in foam-extend 4.0/4.1 (misunderstanding ?) Kombinator OpenFOAM Running, Solving & CFD 4 January 14, 2021 05:10
energy in sonicFoam joern OpenFOAM Running, Solving & CFD 1 September 24, 2019 01:15
Pimplefoam fvSolution giammy92 OpenFOAM 3 September 12, 2016 06:51
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35


All times are GMT -4. The time now is 13:36.