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

How to choose relaxation factor for pressure solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2016, 12:51
Unhappy How to choose relaxation factor for pressure solver
  #1
New Member
 
Qiaoling Wang
Join Date: Dec 2015
Posts: 18
Rep Power: 10
mushtime is on a distinguished road
Dear foamers,
For pressure solver, we can usually choose PCG or GAMG solver.
Code:
p
{
        solver           PCG;
        preconditioner   DIC;
        tolerance        1e-7;
        relTol           0.1;
}
Code:
p
{
solver GAMG;
tolerance 1e-06;
relTol 0.1;
smootlier GaussSeidel;
nPreSweeps  0;
nPostSweeps  2;
cacheAgglomemtion  on;
agglomerator  faceAreaPair;
nCellsInCoaisestLevel  10;
mergeLevels  1;
}
Can anyone give me suggestion on the under-relaxation factor for these two solvers?And what about relaxation factor for other field or equation?
My adviser told me that, there usually CG and AMG ways to solve the p equation. And some of the relaxation is not always the smaller the better. Usually the factor is smaller, then the simulation is more stable. But some will become unsteady if the relaxation is too small? Can anybody give me some suggestion?
Thank you.
mushtime is offline   Reply With Quote

Reply


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
[Other] OpenFOAM Installation for navalFoam sachinlb OpenFOAM Community Contributions 22 July 28, 2017 06:26
how can I choose a solver for VOF and heat transfer on surface oilsok OpenFOAM Running, Solving & CFD 2 February 4, 2014 02:49
Which Solver should I choose? mikemech OpenFOAM Running, Solving & CFD 6 December 14, 2011 00:47
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 23:27.