Negative value of additional variable
Hi All,
I've got a question about the additional variable in CFX 11.0. It's a transient calculation with additional variable set to simulate tracer gas. The additional variable type is 'specific' with a value of 1 at one inlet and 0 at another inlet. When doing contour plots in the postprocessing, I found it has a global range of 0.09 to 1.04, which is physicallly unrealistic. Has anyone got a clue on this? Thanks in advance. 
Sounds like a classic boundedness problem. What differencing are you using for advection and time? Is your convergence tight enough.

Hi Glenn,
Thanks for your reply. I've chosen high resolution and second order Backward Euler for advection and time scheme respectively. The RMS is 1e4 due to the limitation of computing resources. The worst overall balance of the additional variable is around 0.05% in all domains. Looking forward to your reply. Cheers. 
Is there no approach to bound that problem of getting negative values for additional variable? (in my case Numberdensity)

I think there are methods to impose boundedness restrictions on variables but I have never done it. And in your case, the key problem appears to be loose convergence. Unless you have converged solutions doing anything else is a waste of time.

forget to mention that it's unsteady calculation, and have reached periodic solutions, so that I believe good convergence is achieved. Also, any lower convergence parameters might lead to much more computational time, but might be worth trying..
Thanks again for your reply, 
Definitely try tighter convergence first before anything else.

Hi,
I know that this is an old thread, but I am facing the same problem of negative concentration and concentration more than 1 in global range of contour, while the boundary is 1 (unboundedness problem) despite the fact that my simulation is steady and the RMS is reached 108 for all variables except the additional variable. Now two questions specially from Glenn: 1 How can I force the solver to converge and lower the RMS for additional variable (mass transport in this case) now that the solution is not segregated and it is not straight forward to use underrelaxation factor? 2 Is this unboundedness, which I am facing, owing to discretization and then unavoidable? or it would still be due to high RMS (102) of AV? Thanks 
Boundedness problems can also come from the discretisation schemes. Second order schemes can have boundedness problems, even when fully converged. What advection and time scheme are you using? Any other special discretisation?
1  If all variables are converged except the additional variable then this is usually caused by a massive difference in time scales between the fluid time scales and the additional variable time scales. For instance, imagine a heater in a room. The hot air plume coming off the heater will have a velocity of something like 1 m/s, so has a turn over time of 30s; but it takes the heater hours to heat the room up. The fix here is to increase the physical time step size so you can advance through time to the converged solution faster. 2  See above, use a bounded second order scheme like highres. Also be careful with second order time schemes. 
Hi,
1. for steady calculations, it might be possible to turn off the fluid dynamics and heat transfer equations to get a better convergence of the additional variable, when you believe the other quantities are fully converged. As Glenn suggest, this time you should use bigger pseudophysical time steps (101000 times bigger is possible). 2. To reply Glenn's last suggestion for myself, I tried making the RMS converge to less than 10e5 in my unsteady calculation, but the results stayed almost the same. Therefore, now I tend to believe this is a problem related to the high resolution scheme. Quote:

Thank you both Glenn and Joe,
Answering Glenn's question, I am using High resolution scheme, with all default values and setting as I remember that you once wrote here that playing with these setting is quite dangerous and might be trouble some. There is no other discretization setting for mass and momentum. What do you mean with time scheme? I have used auto time scale with Time scale factor 1. 
Dear Glenn,
Is there any higher scheme other than high resolution which can lead to better result? Specified blend factor or ...? 
High resolution is the only scheme which has limiters to keep boundedness. The only other option is upwinding, but you will pay a price with reduced accuracy. Also keep in mind it is the additional variable advection scheme which is the issue, not the momentum equation. Make sure you are changing the advection scheme for the additional variable equation.
The comment about time discretisation is for transient flows. If your flow is steady then ignore that comment. 
All times are GMT 4. The time now is 08:53. 