|
[Sponsors] |
October 2, 2013, 13:27 |
gradient schemes
|
#1 |
New Member
Jialin Su
Join Date: Mar 2013
Location: Loughborough
Posts: 29
Rep Power: 13 |
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 |
|
|
|
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 |