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

gradient schemes

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By simt

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 2, 2013, 13:27
Default gradient schemes
  #1
New Member
 
Jialin Su
Join Date: Mar 2013
Location: Loughborough
Posts: 29
Rep Power: 13
callumso is on a distinguished road
Hi dear Foamers,

I have been fiddling with different gradient schemes for my simulations. I used the following settings without problems:

grad(p) Gauss linear;
grad(p) Gauss upwind phi;

My simulations only run with the following setting:
grad(p) cellLimited Gauss upwind phi 1.0;

I am concerned about the "upwind" scheme which I think would be very diffusive.

As far as I understand, the interpolation scheme can be any scheme that calculates the face value from the cell values. Therefore I tried to experiment with the TVD interpolation schemes like
grad(p) Gauss vanLeer01 phi;

But this option doesn't work as the code runs into segmentation fault. I also tried some other schemes as well as linearUpwind. But just don't work. I have difficulty sussing out what parameters are needed from the code. Could anyone explain a bit how this gradient scheme can be set? Thanks in advance.

Callum
callumso is offline   Reply With Quote

 


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
Gradient schemes and backward second order time scheme callumso OpenFOAM Running, Solving & CFD 4 April 19, 2021 09:36
discretization schemes for Gradient rayan24 Fluent UDF and Scheme Programming 1 September 26, 2013 10:07
vortex cause pressure gradient or pressure gradient induce vortex? fruitkiwi Main CFD Forum 4 June 12, 2012 01:12
Errno 24 linux ivanwhlau OpenFOAM Running, Solving & CFD 6 July 1, 2009 10:16
Gradient Estimation for Higher Order Schemes jianxia Main CFD Forum 0 June 6, 2000 19:40


All times are GMT -4. The time now is 08:50.