fipy
fipy copied to clipboard
FiPy is a Finite Volume PDE solver written in Python
Hello, I recently install FiPy by conda-forge with python3.7 and run the 'examples.phase.polyxtal' by copying the script from nist website. When I run this script, everything goes well at first,...
Even fails within FIPy source directory. E.g., from a macOS home directory: ``` $ python -c "import fipy; fipy.test()" error: Multiple top-level packages discovered in a flat-layout: ['Music', 'Public', 'Movies',...
This is more a general question, rather than an issue. Do you have a recommendation for integrating an efficient library for the numpy-based calculation of thermodynamic properties of gas mixtures?...
https://www.ctcms.nist.gov/fipy/search.html doesn't return anything
Hi! I am playing around with the VanLeer Convection Scheme for 1d and 2d linear advection: 1D: df/dt + u*df/dx = 0, 2D: df/dt + u*df/dx + v*df/dy=0. Using the...
The mask means the pixel inside of object is 1, and the pixel outside of object is 0. If I have a 3D binary mask, how can I create the...
Useful for, e.g., https://pages.nist.gov/pfhub/benchmarks/benchmark8.ipynb
The `fipy.steppers` classes were [never](https://github.com/usnistgov/fipy/issues/620) [documented](https://stackoverflow.com/q/65104718/2019542) and extremely rarely used. On the plus side, they didn't work very well. The whole thing has been refactored as [`steppyngstounes`](https://github.com/guyer/steppyngstounes) and examples have...
The system of equations ```python n_eq = (fp.TransientTerm(coeff=1, var=n) == fp.DiffusionTerm(coeff=1, var=mu)) mu_eq = (fp.ImplicitSourceTerm(coeff=1, var=mu) == fp.ImplicitSourceTerm(coeff=1 + n**2, var=n) + fp.DiffusionTerm(coeff=1, var=xi)) xi_eq = (fp.ImplicitSourceTerm(coeff=1, var=xi) == fp.ImplicitSourceTerm(coeff=2,...
As [documented](https://docs.python.org/3/reference/compound_stmts.html#function-definitions) (under "Default parameter values are evaluated from left to right when the function definition is executed"), using mutables as default arguments can have unexpected results. This is done...