|
[Sponsors] |
January 13, 2018, 04:00 |
comparison of discretization scheme
|
#1 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Hi all
I am simulating "flow around a cylinder in Re=1-1000" for divergence of velocity, which scheme is better? I have used central, 1st order upwind and 2nd order upwind for that and I have gotten more accuracy (according to other numerical papers not experimental) for central! for example for Re=100: numerical paper: CL=0.15 and -0.15 central: CL=0.1461 and -0.1461 linearUpwind: CL=0.123 and -0.1293 thanks |
|
January 13, 2018, 14:57 |
|
#2 |
Senior Member
Join Date: Dec 2017
Posts: 153
Rep Power: 8 |
Hello,
In my opinion a classical 2nd order scheme should work well, so i will go for central difference. LinearUpwind is equally good and usually more stable. In your case I will play more with the time step and the domain dimensions. Good luck, Alie |
|
January 13, 2018, 16:02 |
|
#3 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
what do you mean for that?? |
||
January 13, 2018, 19:45 |
|
#4 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
So your priority is central, after that linearUpwind. Could you plz explain more about working on time step and domain dimensions? What's relation between these parameters and most accurate scheme? |
||
January 13, 2018, 19:47 |
|
#5 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
||
January 14, 2018, 04:48 |
|
#6 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Ok, now I see (the divergence of the velocity is in the continuity equation). Central (second order and higher) are generally better owing to the absence of numerical dissipation. However, depending on the combination with the discretization of the diffusive term, you need to have Re_h=O(1) to prevent wiggles. Have a look to the book of Peric and Ferziger. |
|
January 14, 2018, 05:05 |
|
#7 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Excuse me! I think st is wrong. the divergence of the velocity is in momentum eqn, in advection term. According to your statement "Central (second order and higher) are generally better owing to the absence of numerical dissipation." you would ratter central scheme. I didn't get " However, depending on the combination with the discretization of the diffusive term, you need to have Re_h=O(1) to prevent wiggles" what are wiiggles? Re_h is the same Peclet number? |
||
January 14, 2018, 05:09 |
|
#8 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
You are wrong. The convection in the momentum is the divergence of the teonsorial product of the velocity, that is a vector. The divergence of the velocity is a scalar. For the other issues, you need to read the textbooks of CFD. |
||
January 14, 2018, 05:37 |
|
#9 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
||
January 14, 2018, 05:39 |
|
#10 | |
Senior Member
Join Date: Dec 2017
Posts: 153
Rep Power: 8 |
Quote:
FMDenaro has provided you good advices, so follow them and read the textbook by Ferzinger and Peric . yes, I will use the central scheme which is a standard option. My favourite for more complex problem is however linearUpwind which is usaully more stable (central is known to generate wiggles). The time step is important since you are trying to capture the vortex shedding with a good precision, so put a constant time step, get the result, then divide the time step by two and perfom again the simulation to see the difference! The domain size is important in measuring the Cd and Cl, that's why in literature you will find very large domains. This is due to the effect of the boundary conditions on the results (especially outlet!). Be sure to put your outlet far at least 20 diameters from the cylinder and use the advective boundary condition. |
||
January 16, 2018, 02:00 |
|
#11 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
1- please tell me the chapter that you point to (include wiggles, false diff and what you think that I should read). I have read some parts of Peric, Versteeg and completely Patankar. 2- Yes, I changed time steps and schemes seperately. these are the results: for scheme study: Re=100, Wi=80, residuals=1e-6, dt=0.01 : As a result, I selected linear for div(phi,U) and Upwind for div(phi,tau). for timeStep study: Re=100, Wi=80, residuals=1e-6, div(phi,U): linear, div(phi,tau):Upwind: As you can see, by decreasing the timeStep, lift coeff approaches to exact value but drag coeff's error increasd! According to these values, which of these timeSteps do you select? 3-I know about the importance of domain size and put 25D from cylinder to outlet, 10D from cylinder to up and 10D from cylinder to down boundary. Is it enough? |
||
January 16, 2018, 06:08 |
|
#12 | |
Senior Member
Join Date: Dec 2017
Posts: 153
Rep Power: 8 |
Quote:
2- Your results look ok. At the end of the story you are very near to reference's results and nobody is the holy bible so, in my opinion, your setup is good. 3- Domain size looks good. I have forgotten to mention the non-orthogonal corrections. If your mesh has not a "O" topology, then put them at least equal to 2. |
||
January 16, 2018, 15:17 |
|
#13 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Thank you The non-orthogonality of my grid is 14 degree. So I think that's ok and it doesnt need correction. |
||
Tags |
openfoam, schemes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
comparison of discretization scheme | alimea | Main CFD Forum | 23 | December 21, 2017 17:27 |
comparison of discretization scheme | alimea | OpenFOAM Running, Solving & CFD | 0 | December 14, 2017 10:42 |
Temporal discretization Scheme CoEuler | vsammartano | OpenFOAM Running, Solving & CFD | 0 | April 12, 2016 08:06 |
Discretization Scheme | dinesh | FLUENT | 0 | August 31, 2013 05:52 |
Time discretization scheme | HaKu | Main CFD Forum | 1 | June 12, 2011 03:06 |