Hi Jon, The facev comes from one of the component of the face gradient. For example:
var=CellVariable(mesh=mesh,value=0.) facev=var.getFaceGrad().dot((1,0,0)) It seems that the "var.getFaceGrad()" gives better resolution of the field stored in "var" than the "var.getGrad()". This is why I was trying to use FaceVariable in one of the equation terms. The problem I am solving needs a very fine mesh. So I thought it might be improved if I use the face variable. Thank you very much for your reply. Zhiwen On Thu, Sep 18, 2008 at 6:48 PM, Jonathan Guyer <[EMAIL PROTECTED]> wrote: > > > On Sep 18, 2008, at 5:54 PM, Zhiwen Liang wrote: > > I wonder if a face variable can be used when defining equations. >> > > No. > > What are you really trying to do? Where does facev come from? Why does it > need to be a FaceVariable? > > >
