> > 2. I followed the given advise and ran the simulation under fixed > boundary conditions and, as shown in the video attachment (s-cd2d), the > bivariate solution convects without noticeable edge effect. However, I do > wonder if another solution is to keep the fixed flux but implement a > conservational constraint on the probability density function, rendering > the integration of the solutions across the 2D domain equaling unity? If > so, how would one go about inserting this condition into the solver? > > But if the peak is advecting out of the domain, then it is not conserved. > > Makes sense. And if I were to multiply the convection term by tanh(x) with x being the position vector, which then will generate a fixed pt at (0,0), how would I ensure conservation? In other words, albeit it's a 1-D example, how do I enforce the total area under the probability density function in s-cd1dx.mp4 from last email to equal 1?
> > > *Staring at the convecting bivariate distribution some more, I noticed a > bright blue band on the outer periphery of the central solutions. This > struck me as odd since, based on the colorbar scheme, it seems to suggest > that my circular normal distribution has a peak at a far radius before the > curve drops down again.. Matplotlib anomaly perhaps? Any explanation would > help. > > I believe that is an artifact of the Matplotlib color scheme. Playing around with the cmap more seems to fix it. Thanks! > > > 3. I'm glad to report the irregular cropping behavior in > MatplotlibViewer and am looking forward to the bugfix. However, when I > tried calling Matplotlib2DViewer instead using the script in > http://matforge.org/fipy/ticket/444, I get a > > > > NameError: name 'Matplotlib2DViewer' is not defined > > > What version of FiPy are you running? As far as I can tell, > Matplotlib2DViewer has been imported by `from fipy import *` for about six > years. The current FiPy I'm running is FiPy-2.2_dev5124 > > _______________________________________________ > fipy mailing list > [email protected] > http://www.ctcms.nist.gov/fipy > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] > -- Graduate Group of Ecology Doctoral Candidate Department of Environmental Science and Policy Center for Population Biology University of California, Davis
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
