RE: Possibility of setting NaN constraints for CellVariable ?

2016-07-13 Thread Gopalakrishnan, Krishnakumar
Behalf Of Daniel Wheeler Sent: Wednesday, July 13, 2016 3:17 PM To: Multiple recipients of list Subject: Re: Possibility of setting NaN constraints for CellVariable ? On Wed, Jul 13, 2016 at 10:06 AM, Guyer, Jonathan E. Dr. (Fed) wrote: > You can't do this. NaNs immediately propagate

Re: Possibility of setting NaN constraints for CellVariable ?

2016-07-13 Thread Daniel Wheeler
On Wed, Jul 13, 2016 at 10:06 AM, Guyer, Jonathan E. Dr. (Fed) wrote: > You can't do this. NaNs immediately propagate and will break your whole > solution. > > If I had to do this, I would decouple this region from the other equations by > zeroing out the coefficients of those other equations in

Re: Possibility of setting NaN constraints for CellVariable ?

2016-07-13 Thread Guyer, Jonathan E. Dr. (Fed)
You can't do this. NaNs immediately propagate and will break your whole solution. If I had to do this, I would decouple this region from the other equations by zeroing out the coefficients of those other equations in the appropriate region. > On Jul 13, 2016, at 8:49 AM, Gopalakrishnan, Krishna

Re: Possibility of setting NaN constraints for CellVariable ?

2016-07-13 Thread Raymond Smith
Hi, Krishna. This strikes me as a strange way to go about implementing something, so it might be helpful to have a bit more physical details about the system in order to see if the list has proposals for alternative ways to address the problem. The worry about 0's propagating into the rest of the

Possibility of setting NaN constraints for CellVariable ?

2016-07-13 Thread Gopalakrishnan, Krishnakumar
Hello, I have a regular 2D Cartesian uniformly spaced mesh. Due to some peculiarities of the physical system that I am currently working with, the variable of interest in one of my PDEs, (fiPy CellVariable), is undefined in certain interior node locations, i.e. we need to constrain them to a