CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Second order upwinding scheme in OpenFoam

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

LinkBack Thread Tools Display Modes
Old   May 13, 2010, 06:11
Default Second order upwinding scheme in OpenFoam
New Member
Join Date: Feb 2010
Posts: 10
Rep Power: 10
subash is on a distinguished road

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.
subash is offline   Reply With Quote

Old   May 13, 2010, 16:10
Senior Member
santos's Avatar
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 11
santos is on a distinguished road
Send a message via Skype™ to santos
Hi there,

The following should work:

div(phi,U)      Gauss linearUpwind Gauss;
Jose Santos
santos is offline   Reply With Quote

Old   June 14, 2010, 10:30
Join Date: Mar 2010
Posts: 38
Rep Power: 9
marine is on a distinguished road
hello !

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

thanks a lot !

marine is offline   Reply With Quote

Old   June 20, 2012, 07:49
Rui Vizinho de Oliveira
Join Date: Sep 2011
Posts: 31
Rep Power: 8
RuiVO is on a distinguished road
Gauss linearUpwind Gauss does not work...
RuiVO is offline   Reply With Quote

Old   June 20, 2012, 18:28
Senior Member
kmooney's Avatar
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 321
Rep Power: 11
kmooney is on a distinguished road
I believe the correct syntax is

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.
kmooney is offline   Reply With Quote


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
Different flow pattern between OpenFOAM and CFX AirS OpenFOAM 0 January 12, 2010 08:08
Godunov scheme Peter Main CFD Forum 6 November 27, 2009 11:51
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Choice of Upwinding Technique paul FLUENT 1 January 30, 2005 10:28
second order FD upwind scheme Heinz Wilkening Main CFD Forum 2 November 3, 1998 15:33

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