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

Deciphering interpolation scheme implementation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2008, 22:18
Default I'm trying to implement a new
  #1
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
I'm trying to implement a new interpolation scheme (first order with flux splitting) and to understand how this is done in openFOAM I'm trying to decipher how the the basic first order upwind is implemented, without much success.

In the upwind.H file I understand the limiter is set to zero. However it's not clear to me how the weights() method work: it returns pos(this->faceFlux_), but I don't get where/how the actual flux is calculated.

Any hint on this topic would be of great help.

Regards,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Reply


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
Implementation of QUICK scheme Romuald Skoda Main CFD Forum 11 November 6, 2017 22:20
Rhie-Chow Interpolation - implementation Michail Main CFD Forum 1 April 12, 2011 17:29
Could someone explain the implementation of the convection scheme liuhuafei OpenFOAM Running, Solving & CFD 0 January 20, 2008 20:18
FEM Implementation of pressure-correction scheme Markus Main CFD Forum 4 January 6, 2007 02:53
Scheme / TUI implementation Andy R FLUENT 2 December 13, 2006 06:16


All times are GMT -4. The time now is 15:59.