control iteration convergence groovybc
I am learning how to use groovybc in laplacianFoam in steady state.
bcwall1 { type groovyBC; value uniform 10; valueExpression "1+0.5*T"; } in laplacianFoam, if I set nNonOrthogonalCorrectors = 1 inside fvSolution the valueExpresion will be 6 (after 1 iterarion). if I set nNonOrthogonalCorrectors = n this value will tend to 2 as n increases. while (simple.correctNonOrthogonal()) { solve ( fvm::ddt(T) - fvm::laplacian(DT, T) ); } my doubt is how to control the convergence over the bc whitout trial and error of n. |
All times are GMT -4. The time now is 20:06. |