How to represent strange terms in FiPy

2017-12-11 Thread Kevin Blondino
Hello, I have a somewhat complicated system of highly nonlinear, 1D PDE's which I am having trouble modeling. The issue is that I am not sure how to represent certain terms. Here is a the following LaTeX code for the system, as to make sure there is no ambiguity: \begin{align} \frac{\partial n}{\

Re: How to represent strange terms in FiPy

2017-12-14 Thread Kevin Blondino
that when you go back to the source equations in general > vectorial form that the sources in the T and Z equations are amenable to > being written as convection terms or implicit sources, which would be good. > > - Jon > > > > On Dec 11, 2017, at 2:42 PM, Kevin Blondino >

Re: How to represent strange terms in FiPy

2018-01-09 Thread Kevin Blondino
believe you'll have better luck with numerix.dot((1.0/density) * [[1.]], > temperature.grad) and numerix.dot((temperature / density**2) * [[1]], > density.grad). > > You could as readily write (1.0/density) * temperature.grad[0] and > (temperature / density**2) * density.grad[0]. It depends

How to declare diffusion function

2018-02-05 Thread Kevin Blondino
Hi, I have two questions. I have a complicated set of 1D equations. The diffusion coefficient of the 1st is dependent on the derivative of the 2nd's variable, and the 2nd has a source term of the first. In addition, the initial condition of one of the variables is dependent on this diffusion coef

Viewer Feature Request / Clarification

2018-03-19 Thread Kevin Blondino
Hi, My problem is one-dimensional. When plotting, I wish to have side-by-side plots of separate cell variables. The color of the lines default to a color scheme, i.e. the first line of each subplot is blue, etc. I wish to have the viewer allow me to choose the color of the line. Does this already

Units within sweeping a system

2018-03-27 Thread Kevin Blondino
Hi, I apologize if I am asking too many somewhat basic questions, as I would still consider myself new to using mathematical software to this degree. I wish to use units in my nonlinear coupled system. So far, I have gotten the units to work in all my algebraic calculations; however, when I try s