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, such as "phi = CellVariable(mesh = mesh2d, value = phi_0, upperlimit = 10**7, lowerlimit = 0)". However, I haven't found such an option there or in any of the FiPy documentation. With best regards, - Ian
_______________________________________________ fipy mailing list fipy@nist.gov http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]