For some very fine mesh proble
For some very fine mesh problems I need to increase the maximum iteration limit from 1001 to say, 1500.
Can someone tell me where I can find this 1001 iteration limit so that I can change it to suit my needs. Specifically which source or header file? Thanks! |
All the solver controls live i
All the solver controls live in
system/fvSolution Cheers, Andrew |
Hi Srinath,
Try here:
Open
Hi Srinath,
Try here:
I hope is helpful, Dragos |
Hi Dragos, Srinath,
The max
Hi Dragos, Srinath,
The maxIter value in the source should be overwritten with the one read from the fvSolution file, as far as I am aware. These must be specified in OF-1.4.1 (at least I've had a lot of errors when they weren't). This goes for minIter too. No recompilation needed. Cheers Andrew |
...http://www.cfd-online.com/O
...http://www.cfd-online.com/OpenFOAM_D...part/proud.gif Of course, you're right Andrew!
This happens when I try to be too "smart" http://www.cfd-online.com/OpenFOAM_D...lipart/sad.gif! |
The solvers section from fvSol
The solvers section from fvSolution in the cavity case of OF 1.4.1 contains the following:
solvers { p PCG { preconditioner DIC; tolerance 1e-06; relTol 0; }; U PBiCG { preconditioner DILU; tolerance 1e-05; relTol 0; }; } Where is the maxiterations to be specified and what is the keyword and format? |
Hi Srinath,
just add
maxI
Hi Srinath,
just add maxIter 1000; minIter 0; after the relTol line in both solvers, (before the };) Of course, change 1000 to be whatever new maximum you would like. Cheers Andrew |
Thanks Andrew!
Thanks Andrew!
|
All times are GMT -4. The time now is 00:36. |