CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   About surface normal Gradient (

mmkr825 September 13, 2012 07:20

About surface normal Gradient
Hi everyone,
I am fresher to openFoam. Now i am using openFoam 2.1.1 version. For my needs i need to apply zero flux at the walls for a scalar field.
I am doing project on flow of suspensions (fluid and solid particles) through square channels. here i need to give zero flux at walls for the solid particle volume fraction. After applying this boundary condition i got an expression like
dT/dy=f(velocity, T).
where T=particle volume fraction(no units, scalar quantity).
So for my case i need to give surface normal gradient. Please suggest me how to write code for it.


All times are GMT -4. The time now is 22:20.