CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   2nd order zeroGradient BC (https://www.cfd-online.com/Forums/openfoam-solving/191223-2nd-order-zerogradient-bc.html)

xuegy August 3, 2017 19:12

2nd order zeroGradient BC
 
1 Attachment(s)
Hello all,

Attachment 57565

In my sketch, A is the value of the boundary face center, B is the value of the boundary cell center and C is the value of the center of the opposite face.

As far as I know, zeroGradient BC is 1st order, A=B.

My Question is how to apply a 2nd-order zeroGradient BC, which means 3A=4B-C (Or something else if not uniform) ?

Thanks.


All times are GMT -4. The time now is 02:46.