RE: Incorrect Face Value for Neumann Boundaries

2014-11-19 Thread Fleming, Conor
: www.youtube.com/wsatkinsplchttp://www.youtube.com/wsatkinsplc From: fipy-boun...@nist.gov [mailto:fipy-boun...@nist.gov] On Behalf Of Daniel Wheeler Sent: 18 November 2014 21:30 To: Multiple recipients of list Subject: Re: Incorrect Face Value for Neumann Boundaries On Tue, Nov 18, 2014 at 2:32

Incorrect Face Value for Neumann Boundaries

2014-11-18 Thread L . Bryce Whitson Jr .
I recently noticed that the faceValue of a variable is incorrect when a Neumann (constant gradient) boundary condition is applied. For example, let's assume the following: dx = 1 nx = 5 dTr/dx = 4 for right face Tl = 300 for left face x = [0.5, 1.5, 2.5, 3.5, 4.5] The steady solution to this

Re: Incorrect Face Value for Neumann Boundaries

2014-11-18 Thread Daniel Wheeler
On Tue, Nov 18, 2014 at 2:32 PM, L.Bryce Whitson Jr. lwhits...@gmail.com wrote: What would be the ill effects of putting a hook in the code that would make the boundary values correct? It would be a simple extrapolation using half the cell width and the gradient in the cell. I don't think it