CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Nonuniform gradient boundary condition (http://www.cfd-online.com/Forums/openfoam-solving/60284-nonuniform-gradient-boundary-condition.html)

ankgupta8um March 14, 2006 01:53

Hello, I would like to impl
 
Hello,

I would like to implement a non-uniform gradient boundary condition for a passive scalar. Any ideas om how can I specify varying flux on a boundary ?? I looked at the documentation but didn't find any standard boundary condition that can be used to specify varying fluxes.

Thanks,
Ankur

brooksmoses March 14, 2006 02:34

Any of the standard boundary c
 
Any of the standard boundary conditions can be used to specify varying values as well as uniform ones -- the process for doing that is that you specify a boundary field instead of a single number for the relevant boundary value.

(For an idea of what a boundary field looks like in a file, have a look at something like the U values at an outflow boundary condition for something other than the initial timestep.)

I don't know what the best way to set up such a field for a specific profile is, though.


All times are GMT -4. The time now is 23:54.