|
[Sponsors] |
November 24, 2010, 14:12 |
Under-Relaxation for Temperature Equartion
|
#1 |
Member
Hagen Müller
Join Date: Nov 2010
Posts: 34
Rep Power: 16 |
Hello Everybody,
I try to run a calculation for the straight channel on different Reynolds numbers with a modified simpleFoam solver. It solves the energy equation and models the scalar flux with a differential approach. The part where the equation is solved looks like this: //Energy equation --------------------------------------------------------------------------------------------------------------------------- fvScalarMatrix TEqn ( fvm::div(phi, T) - fvm::Sp(fvc::div(phi), T) - fvm::laplacian(kappaEff, T) - fvc::div(Dp & fvc::grad(p)) ); TEqn.relax(); eqnResidual = TEqn.solve().initialResidual(); maxResidual = max(eqnResidual, maxResidual); Unfortunately the solver becomes unstable for Reynolds numbers higher than 25000. I guess under-relaxation for T would solve the problem. When I define for example T=0.7 in the fvSolutions dictionary, the solver makes only one iteration every timestep. Does anybody know where the bug is? Do you have different suggestions to make the calculation stable? Thank you for your help Hagen |
|
November 25, 2010, 03:54 |
|
#2 |
Senior Member
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 18 |
When you have modified something then it is hard to recognize it without seeing the code. However, instead of using relaxation factors, you can reduce the bound of the maxCo number. According to theory, see Versteeg p. 265 (I think), has it the same effect as using RF.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Purpose of relaxation factors | Mohsin | FLUENT | 5 | April 30, 2010 12:57 |
Relaxation and convergence | sammi | Phoenics | 0 | March 20, 2008 04:32 |
relaxation parameter | rvndr | Main CFD Forum | 0 | May 5, 2004 13:34 |
Question on adjusting relaxation factor | CFD Rookie | Main CFD Forum | 3 | January 26, 2004 15:37 |
Relaxation factor | Moon | Siemens | 1 | June 13, 2003 12:13 |