CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Why define a grad Scheme when using linearUpwind?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2012, 04:19
Default Why define a grad Scheme when using linearUpwind?
  #1
New Member
 
Benedikt
Join Date: Apr 2012
Posts: 7
Rep Power: 14
Benedikt is on a distinguished road
Hello,
I have two question regarding the div Schemes. I set my div-Schemes like this:

div(phi,U) Gauss linearUpwind grad(U)

Could you tell me why I have to define a grad Scheme when using linear Upwind as a div Scheme? I don't see the diference between linearUpwind and upwind/QUICK which would explain the need for a gradient Scheme.

Second question:
I tried these:

div(phi,U) Gauss upwind
and:
div(phi,U) Gauss upwind grad(U)

Why can I define a grad Scheme after defining a div Scheme, what does it change?

Thanks for your help in advance.
Benedikt is offline   Reply With Quote

Old   June 25, 2012, 08:54
Default
  #2
Senior Member
 
Florian Krause
Join Date: Mar 2009
Location: Munich
Posts: 103
Rep Power: 17
florian_krause is on a distinguished road
Quote:
Originally Posted by Benedikt View Post
Hello,
I have two question regarding the div Schemes. I set my div-Schemes like this:

div(phi,U) Gauss linearUpwind grad(U)

Could you tell me why I have to define a grad Scheme when using linear Upwind as a div Scheme? I don't see the diference between linearUpwind and upwind/QUICK which would explain the need for a gradient Scheme.

Second question:
I tried these:

div(phi,U) Gauss upwind
and:
div(phi,U) Gauss upwind grad(U)

Why can I define a grad Scheme after defining a div Scheme, what does it change?

Thanks for your help in advance.
Hi Benedikt,
the thread below might help you to understand why you need to specify a grad scheme when using linearUpwind and what the difference is between linearUpwind and upwind.

http://www.cfd-online.com/Forums/ope...tedlinear.html

Best,
Florian
florian_krause is offline   Reply With Quote

Old   August 10, 2019, 08:19
Default Still having a confusion in the grad(u) or without grad(U)
  #3
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16
chandra shekhar pant is on a distinguished road
Hello,


I still have a doubt with the fvSchemes in the OpenFoam. What is the difference if I am using the

div(phi,k) Gauss Upwind grad(k);
or

div(phi,k) Gauss Upwind;


Similarly for other variables. I had gone through the thread suggested, but was not able to understand it clearly.


Many thanks for any help.
chandra shekhar pant is offline   Reply With Quote

Reply

Tags
divergent scheme, gradient scheme, linear upwind


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
how to understand high resolution scheme and high order scheme iilw1314 Main CFD Forum 7 April 12, 2022 12:29
Volume Scheme: upwind and linearUpwind sfhr OpenFOAM Pre-Processing 3 June 26, 2021 23:32
Implementation of QUICK scheme Romuald Skoda Main CFD Forum 11 November 6, 2017 21:20
2nd order upwind scheme (Fluent and CFX) Far FLUENT 0 May 22, 2011 01:50
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48


All times are GMT -4. The time now is 23:39.