|
[Sponsors] |
June 22, 2017, 07:30 |
HR Scheme inplementation in OpenFOAM
|
#1 |
New Member
Nuno Enes
Join Date: Jul 2015
Location: Lisbon, Portugal
Posts: 2
Rep Power: 0 |
Hi everyone,
For a while now I have been interested to understand how the QUICK scheme is implemented in OpenFOAM. I gathered so far (please correct me if I am wrong) that it is formulated as a TVD scheme such that the flux at face phi_f is, phi_f = phi_C + 0.5*psi(r)*(phi_D - phi_C) where the subscripts f,C and D correspond to the values at the face, the upwind node (relative to the face) and the downwind node respectively. However when I read the code in "QUICK.H" where the limiter is defined i find, phiCD = cdWeight*phiP + (1 - cdWeight)*phiN; phif = 0.5*(phiCD + phiP + (1 - cdWeight)*(d & gradcP)); and the limiter which I assume is given by QLimiter psi(r)=QLimiter = (phif - phiU)/stabilise(phiCD - phiU, SMALL); In OpenFOAM notation I think node C = P and D = N (for the case of east-bound flow) I am puzzled by this. I suspect phi_f is being calculated via QUICK scheme's gradient form, phi_f = phi_C + 0.5*(nabla(phi_C) + nabla(phi_f)).d_Cf But that is where I am at. Could somebody enlighten me? Thank you! |
|
Tags |
interpolation, quick, scheme |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 05:57 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
numerical scheme in openfoam | seju | OpenFOAM Pre-Processing | 3 | May 31, 2014 11:08 |
Parameter for the cubic upwind scheme in OpenFOAM | JinBiao | OpenFOAM | 1 | May 23, 2010 04:51 |