Diffusion in a 2D Annulus.

2014-11-18 Thread Kyle Briton Lawlor
Hello again, I am trying to solve the diffusion example in a circle with an annular region instead. I thought this would be a straightforward extension and I’m sure it is, I am just missing something. The reason I think something is wrong is because the solutions are looking like this, after im

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. 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 would be a huge

Re: Incorrect Face Value for Neumann Boundaries

2014-11-18 Thread L . Bryce Whitson Jr .
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. - - - - - - - - - - - - - - - - - L.Bryce Whitson Jr. lwhits...@gmail.com On Tue, Nov 18, 2014 at 1:0

Re: Incorrect Face Value for Neumann Boundaries

2014-11-18 Thread Daniel Wheeler
On Tue, Nov 18, 2014 at 12:44 PM, L.Bryce Whitson Jr. wrote: > 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

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 pro