Re: Applying Bounding Limits to PDE Solution Variables

2016-08-03 Thread Daniel Wheeler
On Tue, Aug 2, 2016 at 2:02 PM, Campbell, Ian wrote: > > I've tried the mean-square and RMS values, but they're both orders of > magnitude away from the residual returned by '.sweep'. As such, can you > please tell me the formula used by '.sweep' to compute the

RE: Applying Bounding Limits to PDE Solution Variables

2016-08-02 Thread Campbell, Ian
- From: fipy-boun...@nist.gov [mailto:fipy-boun...@nist.gov] On Behalf Of Daniel Wheeler Sent: 02 August 2016 15:57 To: Multiple recipients of list <fipy@nist.gov> Subject: Re: Applying Bounding Limits to PDE Solution Variables Hi Ian, Sorry, there isn't any way to do this as an implicit c

Applying Bounding Limits to PDE Solution Variables

2016-08-02 Thread Campbell, Ian
Hi All, I would like to prevent the CellVariables I am solving for from ever reaching physically-meaningless and incorrect values, such as concentrations becoming negative. Is there a way to do this? The most natural place I could think of it being is an argument in CellVariable declaration,