
[Sponsors] 
April 14, 1999, 10:48 
Differential Stress turbulence model and CFX4.2

#1 
Guest
Posts: n/a

I am having problems reaching convergence when using the Differential Stress turbulence model in CFX 4.2. I am using a FORTRAN file to define the flow velocity, k and epsilon at the inlet.
Has anyone else had any problems with this and how did they stop the problem occuring? Any advice and information would be greatly appreciated. Many thanks in advance 

April 14, 1999, 12:25 
Re: Differential Stress turbulence model and CFX4.2

#2 
Guest
Posts: n/a

Have you tried to do a transient simulation to find the steady solution?


April 14, 1999, 12:37 
Re: Differential Stress turbulence model and CFX4.2

#3 
Guest
Posts: n/a

No  I havent come across that before.... please expand on this
Thanks Simon 

April 14, 1999, 16:17 
Re: Differential Stress turbulence model and CFX4.2

#4 
Guest
Posts: n/a

Instead of directly solving for the steady state solution you can set up a transient simulation to approach the steady state with several finite time steps. For each time step you iterate until it is sufficiently converged which can be achieved much easier than the direct convergence to the steady state if the time step is chosen small enough.
This takes more CPUtime than a direct solution for the steady state but you can find converged solutions in some cases where the direct solution strategy does not converge. I have done simulations with CFX4 and the differential stress model where this seemed to be the only way to get to a solution. You may also check your grid quality. The differential stress model seems to be very sensitive on poor grid quality. Further you may use the deferred correction command to avoid some harmful crossdiffusion terms in the differential stress model. Best regards Sebastian 

April 14, 1999, 22:14 
Re: Differential Stress turbulence model and CFX4.2

#5 
Guest
Posts: n/a

Hi Simon,
A second approach which may help is to use deferred correction. My experience in using RSM and related turbulence models is that they converge far better when using deferred correction. Deferred correction means that the solver does not include the effects of turbulence for the initial iterations, then gradually ramps up the turbulence components over later iterations until they are fully implemented. This means the solver initially heads towards a initial guess without the effects of turbulence, and only introduces turbulence when the solution is close enough for the turbulence equations to be stable. (Well, that's the theory anyway....) Refer to page 152 of the CFX 4.2 Solver manual. To implement this, you will need to use the following commands: >>solver data >>deferred correction epsilon start 50 epsilon end 100 k start 50 k end 100 (the numbers are just guesses, you'll need to find proper values for your problem.) Cheers, Glenn 

April 15, 1999, 02:03 
Re: Differential Stress turbulence model and CFX4.2

#6 
Guest
Posts: n/a

Hi, This is not specific to CFX but in general it is often quite important what the initial field conditions (turbulence and mean quantities) are to get a converged solution for the turbulence equations. It is a bit like the comment about using a slow transient approach to ss!
Try any of the following: 1. Initial solution from a converged kepsilon solution or 1equation solution. 2. Initial solution from a fractionally loaded steps (fraction of boundary conditons and body forces) which converges..then add to the load vector until the full load is on. good luck.......................................Duane 

April 15, 1999, 09:04 
Re: Differential Stress turbulence model and CFX4.2

#7 
Guest
Posts: n/a

Hi,
Actually, deferred correction doesn't turn off the turbulence equations. Instead, it delays solving for the crossdiffusion terms in the turbulence equations. These terms are the epsilon that appears in the K equation, and the K that appears in the epsilon equation. The presence of these terms in the turbulence equations makes solving them more difficult, and will often lead to rapid divergence (residuals suddenly rise and the solution stops). The good part is that the crossdiffusion terms arent very important in the final solution. If you turned them off for the entire time you probably wouldnt notice the difference for many problems. I have talked to a few people at CFX about this issue, and have found that it is best to completly turn off the terms until you have a (mostly) converged solution, and then restart the solution while ramping up the terms. For instance, if you do 1000 iterations, use: solver data deferred correction epsilon start 1001 epsilon end 1002 k start 1001 k end 1002 If the solution is converged, then restart for a while, maybe 200 iterations, and ramp up the defered terms: solver data deferred correction epsilon start 1 epsilon end 100 k start 1 k end 100 David Creech CFX User Subroutine Archive 

April 19, 1999, 10:04 
Re: Differential Stress turbulence model and CFX4.2  Response from CFX Technical Services

#8 
Guest
Posts: n/a

Soon after I posted the original message I received an email from CFX Technical Support with the following advice of which I am now implimenting into my simulation:
The CFX support team have noted your post to CFD Online and hope the following suggestions prove helpful 1) It often helps with convergence to run at low under relaxation factors at the start of your run such as 0.3 on the velocity and turbulence equations and then restart with higher values (around 0.5) after a few hundred iterations. 2) In the early stages of a turbulent flow calculation it is sometimes necessary to switch off the calculation of the crossderivative diffusion terms on highly nonorthogonal grids. This can be achieved using the deferred correction command as shown below where these terms are reintroduced between iterations 100 and 200, (see section 6.5 of the CFX4 flow solver manual) >>DEFERRED CORRECTION K START 100 K END 200 EPSILON START 100 EPSILON END 200 

April 27, 1999, 21:38 
Re: Differential Stress turbulence model and CFX4.2

#9 
Guest
Posts: n/a

One more point on X Diffusion, if you see residuals large at only a localised set of points where epsilon is small and turbulent viscosity is large, then this points to deffered correction being a good option. I have found this in one of my nonorthagonal problems. The problem diverged wildly after about 150 iterations every time, until I removed the X diffusion terms.
Again refer to p 152 of CFX 4.2 solver manual James Hart 

April 29, 1999, 17:24 
Re: Differential Stress turbulence model and CFX4.2  Converged!

#10 
Guest
Posts: n/a

I got the problem to converge by restarting from a converged solution using the kepsilon model, and setting up the problem to use False Time stepping... Many thanks again to all who helped me!!
Simon Assender 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
ke turbulence help?  keith gray  Main CFD Forum  9  December 14, 1999 00:34 
CFX4.2 multifluid model  wan xiaotao  Main CFD Forum  0  June 28, 1999 04:31 