RE: Applying Two Different Diffusion Coefficients at Single FV Face

2016-09-16 Thread Gopalakrishnan, Krishnakumar
plying Two Different Diffusion Coefficients at Single FV Face Yes! > On Sep 16, 2016, at 2:18 PM, Raymond Smith <smit...@mit.edu> wrote: > > A side note, here it may actually be more convenient to think about the D in > terms of the volumes, so you could also define it as a

Re: Applying Two Different Diffusion Coefficients at Single FV Face

2016-09-16 Thread Guyer, Jonathan E. Dr. (Fed)
Yes! > On Sep 16, 2016, at 2:18 PM, Raymond Smith wrote: > > A side note, here it may actually be more convenient to think about the D in > terms of the volumes, so you could also define it as a cell variable with > values specified as D1 when x<=1 and D2 when x>1, then use

Re: Applying Two Different Diffusion Coefficients at Single FV Face

2016-09-16 Thread Raymond Smith
alue ? > > > > Best Regards > > > > Krishna & Ian. > > > > > > > > *From:* fipy-boun...@nist.gov [mailto:fipy-boun...@nist.gov] *On Behalf > Of *Raymond Smith > *Sent:* Friday, September 16, 2016 7:18 PM > *To:* fipy@nist.gov > *Subject:* Re:

RE: Applying Two Different Diffusion Coefficients at Single FV Face

2016-09-16 Thread Gopalakrishnan, Krishnakumar
.gov Subject: Re: Applying Two Different Diffusion Coefficients at Single FV Face A side note, here it may actually be more convenient to think about the D in terms of the volumes, so you could also define it as a cell variable with values specified as D1 when x<=1 and D2 when x>1

Re: Applying Two Different Diffusion Coefficients at Single FV Face

2016-09-16 Thread Raymond Smith
A side note, here it may actually be more convenient to think about the D in terms of the volumes, so you could also define it as a cell variable with values specified as D1 when x<=1 and D2 when x>1, then use the harmonicFaceValue attribute when you put it into the governing equation to have FiPy

Re: Applying Two Different Diffusion Coefficients at Single FV Face

2016-09-16 Thread Raymond Smith
Hi, Ian. I don't think there is such a thing as having two different flux coefficients at the same face for the same governing PDE. The flux through a given face is calculated by the coefficient at that face times some approximation of the gradient in a field variable at that face, like D *