Hi all, I wonder if a face variable can be used when defining equations. If I run the following lines (they might not be meaningful, just for example):
from fipy import * mesh=Grid1D(nx=2) facev=FaceVariable(mesh=mesh,value=0.) eq=0==DiffusionTerm(0.)+facev I will get "TypeError: The coefficient must be a rank-0 CellVariable or a scalar value.". It seems that I could not use FaceTerm directly. Are there any convenient ways to do this? Thank you in advance for any suggestions. Have a nice day! Zhiwen
