On May 31, 2011, at 10:08 AM, Marc Saudreau wrote:

> 1. In GMSH you can group some mesh elements and name them (usually  
> with a code number).
> Is it possible to get this code number within FiPy to be able to work  
> on these elements specifically.
> For instance, a method like mesh.getFaceColor() ?

FiPy does not presently read that information.


> If not,  I guess that the unique solution is to used face coordinates  
> as in many examples you gave?

Correct.


> My question is about the variable outCoeffTop which is, in this  
> particular case, related to the y direction. But
> how to define the same variable when the flux direction is imposed by  
> the normal direction of faces.

You can use mesh._getFaceNormals() to get that.


Reply via email to