CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   zerogradient BC along radial direction - cylindrical domain (http://www.cfd-online.com/Forums/openfoam/126410-zerogradient-bc-along-radial-direction-cylindrical-domain.html)

sagnikmazumdar November 16, 2013 14:38

zerogradient BC along radial direction - cylindrical domain
 
Hi,

I have a cylindrical domain for my simulation in OpenFOAM. I would like to set "zerogradient" BC along the radial (r=sqrt(Y^2+X^2)) direction for velocity, k, p etc. I was wondering how to do it in OpenFOAM ? I am sure there should be a way.

Thanks for all the help.

Sagnik

skyinventorbt November 19, 2013 07:35

Its so simple
 
Quote:

Originally Posted by sagnikmazumdar (Post 462228)
Hi,
I have a cylindrical domain for my simulation in OpenFOAM. I would like to set "zerogradient" BC along the radial (r=sqrt(Y^2+X^2)) direction for velocity, k, p etc. I was wondering how to do it in OpenFOAM ? I am sure there should be a way.

This is the way.....
------------------------------------------------------
cylindrical_patch
{
type zeroGradient;
}
------------------------------------------------------
--
KANNAN


All times are GMT -4. The time now is 06:38.