CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

HR Scheme inplementation in OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2017, 06:30
Default HR Scheme inplementation in OpenFOAM
  #1
New Member
 
Nuno Enes
Join Date: Jul 2015
Location: Lisbon, Portugal
Posts: 2
Rep Power: 0
NRAE is on a distinguished road
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!
NRAE is offline   Reply With Quote

Reply

Tags
interpolation, quick, scheme

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 04:57
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
numerical scheme in openfoam seju OpenFOAM Pre-Processing 3 May 31, 2014 10:08
Parameter for the cubic upwind scheme in OpenFOAM JinBiao OpenFOAM 1 May 23, 2010 03:51


All times are GMT -4. The time now is 01:36.