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/)
-   -   BC flux (https://www.cfd-online.com/Forums/openfoam-solving/80706-bc-flux.html)

T.D. October 4, 2010 10:02

BC flux
 
Hi Foamers,

If i am solving a certain scalar transport equation of a scalar variable "C" in simpleFoam.

How to set a "zero Flux" Boundary condition on a patch wall for the "C" Field?

help please

thanks a lot

FelixL October 4, 2010 10:16

Hello,


do you mean a zero flux BC normal to the boundary face for the scalar quantity C? In that case it simply means you'll have to set dC/dn=0, i.e. zeroGradient.


Greetings.

T.D. October 4, 2010 11:00

Hi
 
Hi ,
yes indeed i need to set that which is normal to the boundary surface

is it the same as zeroGradient?
because i need only zero flux in the direction normal to the surface, and not in all directions.

help please

thanks a lot

FelixL October 4, 2010 11:10

Hi,


zeroGradient is exactly what you need: it sets dC/dn to zero (like I said in my previous post), where n is the normal unit vector of the boundary face. For more information please refer to http://www.openfoam.com/docs/user/bo...24-1380005.2.3 .


Greetings.

T.D. October 4, 2010 13:45

thanks
 
thanks a lot.


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