Questions tagged [fipy]

FiPy: A Finite Volume PDE Solver Using Python. FiPy is an object oriented, partial differential equation (PDE) solver, written in Python, based on a standard finite volume (FV) approach.

FiPy: A Finite Volume PDE Solver Using Python. FiPy is an object oriented, partial differential equation (PDE) solver, written in Python, based on a standard finite volume (FV) approach.

The framework has been developed in the Materials Science and Engineering Division (MSED) and Center for Theoretical and Computational Materials Science (CTCMS), in the Material Measurement Laboratory (MML) at the National Institute of Standards and Technology (NIST).

The solution of coupled sets of PDEs is ubiquitous to the numerical simulation of science problems. Numerous PDE solvers exist, using a variety of languages and numerical approaches. Many are proprietary, expensive and difficult to customize. As a result, scientists spend considerable resources repeatedly developing limited tools for specific problems.

Our approach, combining the FV method and Python, provides a tool that is extensible, powerful and freely available. A significant advantage to Python is the existing suite of tools for array calculations, sparse matrices and data rendering.

The FiPy framework includes terms for transient diffusion, convection and standard sources, enabling the solution of arbitrary combinations of coupled elliptic, hyperbolic and parabolic PDEs.

Currently implemented models include phase field [BoettingerReview:2002] [ChenReview:2002] [McFaddenReview:2002] treatments of polycrystalline, dendritic, and electrochemical phase transformations as well as a level set treatment of the electrodeposition process [NIST:damascene:2001].

Source:http://www.ctcms.nist.gov/fipy/index.html

216 questions
0
votes
1 answer

How to import gmsh geo file in fipy

this question is probably due to my lack of knowledge of python, nonetheless here it is: is it possible to import a gmsh mesh file.geo instead of writing it entirely on the fipy script as is it done in this tutorial…
user3442072
  • 45
  • 1
  • 6
0
votes
1 answer

FIPY axisymmetric 2D with GMSH

I'll have to approach a problem involving plasma chemistry in a reactor. It would be useful to describe the problem in 2D axi-symmetric configuration. I'd like to use Fipy, but since I solve for electromagnetic fields with GETDP (which uses GMSH…
user3442072
  • 45
  • 1
  • 6
0
votes
1 answer

Problems with pip installed FiPy using the Mayavi viewer

Having installed FiPy using pip with a brew installation of Python 2.7.3 on OSX 10.8.2, I ran the following sample test code: from fipy import * mesh = Grid3D(nx=50, ny=100, nz=10, dx=0.1, dy=0.01, dz=0.1) x, y, z = mesh.cellCenters xyzVar =…
Paul
  • 49
  • 1
  • 7
-1
votes
1 answer

Diffusion transient term dependent on a different variable

This is more of a general question about how to represent a diffusion equation where the transient term is dependent on a different variable. For example, if i needed to represent this equation in FiPy, ∂c/∂t=∇D∇T, where c and T are different…
Jose
  • 1
-1
votes
1 answer

How do I represent a diffusive source that involve coordinate?

C(h) \frac{\partial h}{\partial t}=\nabla \cdot(K(h) \nabla(h+z)) I have two questions: How do I represent a diffusive source that involve coordinate? The governing equation is for h; k(h) is a function of h; z was the z coordinate. I knew how to…
Liu
  • 3
  • 2
1 2 3
14
15