|
[Sponsors] |
August 29, 2022, 04:00 |
rhoPimpleFoam simulation too slow
|
#1 |
New Member
Antonio
Join Date: Dec 2021
Posts: 5
Rep Power: 4 |
Greetings all, I am carrying on an unsteady turbulent 3D wind turbine blade simulation, using rhoPimpleFoam solver. I noticed my simulation takes many time to run . I read somewhere I might use some preconditioner in order to speed my simulation up.
I used: solver PCG; preconditioner DIC; for pressure solver PBiCGStab preconditioner DILU; for velocity but after a while my time step decreaes and the simulation becames instable. Do you have any advices in order to speed it up? Thanks! Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default Euler; } gradSchemes { default Gauss linear; limited cellLimited Gauss linear 1; grad(U) $limited; grad(k) $limited; grad(omega) $limited; } divSchemes { default none; div(phi,h) Gauss linearUpwind limited; div(phi,U) Gauss linearUpwind limited; div(meshPhi,p) Gauss linearUpwind limited; turbulence Gauss linearUpwind limited; energy Gauss linearUpwind limited; div(phi,k) $turbulence; div(phi,omega) $turbulence; div(phi,e) $energy; div(phi,K) $energy; div(phi,Ekp) $energy; div(phi,(p|rho)) $energy; div((phi|interpolate(rho)),p) Gauss upwind; div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } wallDist { method meshWave; } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { p { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-12; relTol 0.01; } pFinal { $p; relTol 0; } "pcorr.*" { $p; tolerance 1e-2; relTol 0; } "(rho|e|U|h|k|epsilon|omega|eFinal|ecorr.*)" { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-06; relTol 0.1; } "(rho|U|h|k|epsilon|omega)Final" { $U; relTol 0; } } PIMPLE { momentumPredictor yes; transonic no; nOuterCorrectors 3; nCorrectors 1; nNonOrthogonalCorrectors 0; } relaxationFactors { equations { "(U|h|k|epsilon|omega).*" 1; } } // ************************************************************************* // |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Slow transient simulation | Julian121 | Hardware | 5 | June 30, 2020 03:17 |
2D simulation of vortex shedder with rhoPimpleFoam | linkamp | OpenFOAM Running, Solving & CFD | 0 | October 31, 2016 10:00 |
Transient CHT Simulation slow variable increase | marcel_jay | CFX | 8 | May 2, 2016 17:11 |
Control simulation to apply different fields with chtMultiRegionFoam | jmdf | OpenFOAM Running, Solving & CFD | 0 | February 29, 2016 07:05 |
Ultra slow convergence velocity in the simulation | demigod | FLUENT | 1 | October 5, 2005 08:03 |