|
[Sponsors] |
May 20, 2020, 18:19 |
fvSolution from sonicFoam to pimpleFoam
|
#1 |
New Member
Join Date: May 2020
Posts: 1
Rep Power: 0 |
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; } 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; } 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? |
|
June 4, 2020, 10:06 |
|
#2 |
Senior Member
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8 |
is there any error message?
can you post your terminal output ? |
|
Tags |
adjustable time step, fvsolutions, rhopimplefoam, sonicfoam |
|
|
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 |