I was thinking of:

bcs = FixedValue(faces=mesh.getFacesLeft(), value=<function of Y>)

I guess what you have below is really the answer that I needed...and
I now see this in the manual in the circle diffusion problem...

DJL

On Fri, 2008-11-07 at 15:03 -0500, Jonathan Guyer wrote:
> 
> On Nov 7, 2008, at 1:21 PM, Daniel Lewis wrote:
> 
> > This information would be nice for developing spatially varying  
> > boundary conditions...  Just a thought.
> 
> I think you can already do this.
> 
>      >>> X, Y = mesh.getFaceCenters()
>      >>> bcs = FixedValue(faces=mesh.getFacesLeft(), value=Y)
> 
> Or did you have something else in mind?
> 


Reply via email to