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

Deciphering interpolation scheme implementation

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

Reply
 
LinkBack Thread Tools 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,894
Rep Power: 26
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 live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rhie-Chow Interpolation - implementation Michail Main CFD Forum 1 April 12, 2011 16:29
Implementation of QUICK scheme Romuald Skoda Main CFD Forum 10 August 3, 2010 12:23
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 07:36.