|
[Sponsors] |
July 26, 2019, 09:01 |
Problem with QUICK discretization scheme
|
#1 |
New Member
Ali Baratian
Join Date: Oct 2013
Location: Kuhsangi, Mashhad, Iran
Posts: 22
Rep Power: 13 |
Hi every body
I have a problem with QUICK scheme In a 2d pure convection for 2 cells when i apply the scheme ij cell property phi eliminates and only neighbors remain! So how can i calculate the ij cell ? i.e. sigma"a(nb)×phi(nb)"=0 and there is no a(ij)×phi(ij) in the discretized equation for that two special cells which are near the boundary ! Versteeg dotted cells in pic attached Thanks in advance A11-ConvertImage.png Last edited by baratian; July 26, 2019 at 10:56. |
|
July 26, 2019, 12:45 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
Sorry but I don't think to understand clearly your problem... |
||
July 26, 2019, 13:58 |
|
#3 |
New Member
Ali Baratian
Join Date: Oct 2013
Location: Kuhsangi, Mashhad, Iran
Posts: 22
Rep Power: 13 |
sorry u r right. i try to make it clear. the QUICK scheme as stated in versteeg book is as follow (for a cell downstream face):
2.png 1.png there is a 2D pure convection problem in the book shown below: 3.png when i do the discretization for different cells there is no problem except for the mentioned ones stated in the first post i.e. the cell of (2,N) shown below: 4.png as u c the coefficient of the main cell (2,N) sum to zero!!! and only neighbors remain. so there is no explicit representation for the mentioned cell!!! what should i do to close the system of equations now?! |
|
July 26, 2019, 14:12 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
First of all, I would be sure about your test problem. You have the velocity components u and v constant and prescribed and you want to solve the transport equation df/dt + d(u*f)/dx+d(v*f)/dy=0 right or not? In such a case, owing to the hyperbolic character of the equation, you cannot prescribe a Dirichlet condition at the top and right edges of the domain. How do you define the Finite Volume and its faces? Be also aware that the QUICK schemed in 2D is presented by Leonard in a multidimensional extension but it is formulated for steady flow. |
||
July 26, 2019, 14:36 |
|
#5 | |
New Member
Ali Baratian
Join Date: Oct 2013
Location: Kuhsangi, Mashhad, Iran
Posts: 22
Rep Power: 13 |
Quote:
you mean i have done the discretizatin in the wrong way? |
||
July 26, 2019, 14:42 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
Immagine that the FV you are considering has the left face (w) at the inlet boundary and the top face (n) at the outlet boundary of the domain. Now you have that flux_w is prescribed as inlet value (u*f)_w but the flux (v*f)_n must be deduced from a convection condition from the interior, you cannot set to a value using a Dirichlet condition. Could you show the picture of your cell arrangement? |
||
July 26, 2019, 14:54 |
|
#7 | |
New Member
Ali Baratian
Join Date: Oct 2013
Location: Kuhsangi, Mashhad, Iran
Posts: 22
Rep Power: 13 |
Quote:
5.png the problem exists only for cells '6' and '8' i have done this problem by upwind and central the results are alike the book, my problem is QUICK for '6' and '8' |
||
July 26, 2019, 15:01 |
|
#8 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Ok, now could you write the expression of each one of the four fluxes for the cell 8? How do you insert the BCs?
|
|
July 26, 2019, 15:15 |
|
#11 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
- phi_top what is? You do not know it - The left flux requires the inflow condition for a ghost node, why are you writing that relation? |
||
July 26, 2019, 15:27 |
|
#12 | |
New Member
Ali Baratian
Join Date: Oct 2013
Location: Kuhsangi, Mashhad, Iran
Posts: 22
Rep Power: 13 |
Quote:
ghost node (left of L boundary which phi_L=100) is extrapolates as suggested by the book, (the pic in last post) |
||
July 26, 2019, 15:29 |
|
#13 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
||
July 26, 2019, 15:33 |
|
#14 |
New Member
Ali Baratian
Join Date: Oct 2013
Location: Kuhsangi, Mashhad, Iran
Posts: 22
Rep Power: 13 |
||
August 5, 2019, 09:24 |
|
#15 | |
Member
Raphael
Join Date: Nov 2012
Posts: 68
Rep Power: 14 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Temporal discretization Scheme CoEuler | vsammartano | OpenFOAM Running, Solving & CFD | 0 | April 12, 2016 08:06 |
Problem using Central differencing scheme with LES in CFX | selvam2487 | CFX | 8 | April 11, 2016 14:15 |
Problem in coding QUICK scheme for convection term | mahdi_kh8 | Main CFD Forum | 1 | February 17, 2014 04:25 |
problem about numerical scheme in LES. | libin | Main CFD Forum | 4 | July 1, 2004 05:32 |
2nd order boundary condition for QUICK scheme | Jafarnia | Main CFD Forum | 0 | February 25, 2004 10:03 |