Second order upwind problem
Dear friends,
I am simulating the laminar convection, conjugate heat transfer in a microchannel and I am a new user of the Cadalyzer software. I have deep doubts about the method that I am using now. I have done a simulation with upwind scheme for all parameters and with 1000 iterations I got a good convergence for all parameters. However I have noticed first order upwind scheme is not really trustable in convection heat tranfer(right??!) and I changed my enthalpy scheme to second order and pooof! the computational cost increased to 100 hours! which is really high. what should I do!? stick with upwind or do sth like coarser mesh, less iteration,..to decrease the calcualtion time!? Please help me I am a beginner and need your kind help, Info: Mesh grid : 1.3 million relaxation: slow convergence for enthalpy , rather fast for flow 
First order methods do generally converge better than higher order methods for several reasons (more dissipative, higher order terms tend to bounce around between iterations, etc). If you want an accurate solution you should use a second order method.
Some things to address though. Does your mesh need to be 1.3 million elements? You should always start with a coarse mesh and refine until you see the solution isn't changing much. Also, energy equations can sometimes take longer to converge because they involve longer timescales. I don't know about the software you are using, but does it use a time step or some type of underrelaxation to progress from iteration to iteration? Either way you should play with those parameters to see if you can accelerate convergence. If it uses time stepping, you can probably try increasing it to speed up convergence as long as the solution is still stable (doesn't diverge). 
Dear Cdegroot,
Thanks for the reply. My software uses under relaxation parameters and I can get a faster convergence by changing the relaxation parameteres specially for the energy equation but I wonder if it affects my results since I curb the solver to small changes in every iteration. Moreover, what you mean by "If you want an accurate solution you should use a second order method." is that I should use the second order for all parameters (P,T,H,..) or just for the enthalpy? I think using second order for all parameters will increase the computational time to one week or so! :( , I am not 100% sure! but I think what you mean by making the mesh finer gradually and see the changes in the results, is that I have to start the simulation from the beginning for each refined mesh grid to investigate the independence. Am I right? Sorry for being a naive! :o and again thank you. 
Normally, higher order methods should not increase the computational cost drastically. If this happens in your simulation, these are rather stability issues.
Changing the under relaxation factors should not alter the final solution, provided that the solution is converged. And yes, checking for mesh independency is usually done starting from a coarse grid. 
Quote:

Quote:
It does happen in my simulation and if this very huge difference in computational time between first order and second order is not normal, what steps would you suggest me to find the problem in my simulation? it is a steady state, conjugated heat transfer(fluid/solid in a microchannel), laminar convection. Merci. 
[QUOTE=Ford Prefect;389066]The converged results should be similar regardless of your underrelaxation parameter. However it might need (a lot) more iterations to reach the same residual level.
That is a good point to know.:) Thankx. 
Quote:
With regards to the long computational time: you are using a pretty big grid without having shown that it is necessary. One of the first steps in running CFD calculations is a grid sensitivity study. Basically, start with a coarse grid and run through the full calculation. Then (approximately) double the number of control volumes until you are satisfied that the grid density is not affecting the results. To be honest, I think your problem does not sound overly complex, so I think your grid is most likely much finer than it needs to be. On the topic of grids, make sure your grid has decent quality because this can impact convergence as well. 
Basically, start with a coarse grid and run through the full calculation. Then (approximately) double the number of control volumes until you are satisfied that the grid density is not affecting the results.
that was so helpful. I will try what you said and hopefully this resolves my problem. I dont have access to the software now but I will surely update you ASAP. Thank you buddy. Still eager to hear other's ideas. Ali 
Quote:
The point with mesh quality already mentioned here is also important. If it is low, higher order schemes are more likely to cause stability problems. 
Quote:
1is this as accurate as the second order scheme? (when you use it from the beginning) 2would it be possible to get divergence in the second part of your calculation (using the second order after first order) after reaching the convergence in the first part!?:confused: 3 would it be the case that the second part of calculation does not change your results much? ( not much of increase in the accuracy) Thank you for the info, 
There should be practically no difference between running a second order calculation from the beginning versus using first order data as an initial guess. You are just giving it a better initial guess.
Divergence could still occur. You'll have to play with the relaxation factors to make sure it doesn't. If the second order corrections are small, the result won't change much. That depends on both the grid and your flow field. In general though I think the changes should be noticeable. 
Quote:
2) Divergence can still occur. with the method described, you only improve the initial conditions, which improves stability. There can still be other issues (e.g. mesh quality) that cause the solution to diverge. 3) Dont understand the question exactly :confused: 
Quote:
Ali 
microchannel
Hi
I am studying roughness in microchannel, but I have problem for thermall fully developed. would you pleas help me? 
Start a new thread and state a more specific question and I'm sure you will get some help.

fully developed
Thank you
I want to study roughness in microchannel 2D D=100microchannel,L=1mm,working fluid is water,q for wall is constant,Tin=293 I can not reach to fully develop(thermally) would you pleas help me? 
This has nothing to do with second order upwind schemes. Start a new discussion.

Quote:
I ran my simulation with upwind and compared to those of second order. I saw no sizable differences in my results and considering the very long computational time, I've decided to continue with the first order scheme. I deeply appreciate your answers that helped me a lot. Success. Ali 
All times are GMT 4. The time now is 05:15. 