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/)
-   -   Second order upwinding scheme in OpenFoam (https://www.cfd-online.com/Forums/openfoam-solving/76069-second-order-upwinding-scheme-openfoam.html)

subash May 13, 2010 06:11

Second order upwinding scheme in OpenFoam
 
Hi,

I followed the instructions given in the userguide to run the tutorial problem(lid driven cavity flow) using a linearupwind(after modifiying the actual linear scheme for interpolation) scheme but the run gets killed with the following message "attempt to read beyond EOF". Can anyone let me know what this means and help me to implement the second order upwind scheme.

santos May 13, 2010 16:10

Hi there,

The following should work:

Code:

div(phi,U)      Gauss linearUpwind Gauss;
Regards,
Jose Santos

marine June 14, 2010 10:30

hello !

is there a difference between "Gauss linearUpwind Gauss" and "Gauss linearUpwind Gauss linear" ? do you know how it works ?

thanks a lot !

Marine

RuiVO June 20, 2012 07:49

Gauss linearUpwind Gauss does not work...

kmooney June 20, 2012 18:28

I believe the correct syntax is

Code:

Gauss linearUpwind phi
It needs the phi (flux) field to decided which direction is 'upwind' of the cell in question and generate the linear operators accordingly.


All times are GMT -4. The time now is 16:56.