On Jun 5, 2009, at 1:22 PM, Tanto Sugiarto wrote:

I built 1D thermal problem where I apply fixed flux BC at left side face and fixed value temperature at right side face. I found out after simulation run, the temperature at right side face is slightly different than my BC specification. For example, if I set right side BC temperature to be 100 C, and left side BC flux to
be 1000. The final face temperature is 102.5 C on right side face.

I wonder if the right face temperature value is somewhat interpolated value ? Command that I use to get right face temperature is "Temperature.getFaceValue()[-1]"

This has come up a few times before. As presently written, FiPy Variables are not aware of boundary conditions. As a result, exterior values of FaceVariables are simply obtained from from the nearest Cell value.

To resolve this, see the discussion of _FixedBCFaceGradVariable in this recent thread:

  http://permalink.gmane.org/gmane.comp.python.fipy/1394

Reply via email to