CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Deciphering interpolation scheme implementation (https://www.cfd-online.com/Forums/openfoam-solving/59038-deciphering-interpolation-scheme-implementation.html)

alberto March 13, 2008 21:18

I'm trying to implement a new
 
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


All times are GMT -4. The time now is 13:33.