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

Second order upwinding scheme in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2010, 06:11
Default Second order upwinding scheme in OpenFoam
  #1
New Member
 
subash
Join Date: Feb 2010
Posts: 10
Rep Power: 16
subash is on a distinguished road
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.
subash is offline   Reply With Quote

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

The following should work:

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

Old   June 14, 2010, 10:30
Default
  #3
Member
 
Marine
Join Date: Mar 2010
Posts: 38
Rep Power: 16
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
marine is offline   Reply With Quote

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

Old   June 20, 2012, 18:28
Default
  #5
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17
kmooney is on a distinguished road
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.
kmooney 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
Different flow pattern between OpenFOAM and CFX AirS OpenFOAM 0 January 12, 2010 07:08
Godunov scheme Peter Main CFD Forum 6 November 27, 2009 10:51
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Choice of Upwinding Technique paul FLUENT 1 January 30, 2005 09:28
second order FD upwind scheme Heinz Wilkening Main CFD Forum 2 November 3, 1998 14:33


All times are GMT -4. The time now is 18:36.