Bookmark and Share FiPy: A Finite Volume PDE Solver Using Python
Version 2.1.3

This Page

Contact

FiPy developers
Jonathan Guyer
Daniel Wheeler
James Warren

Join our mailing list

100 Bureau Drive, M/S 6555
Gaithersburg, MD 20899

301-975-5329 Telephone
301-975-4553 Facsimile

advection Package Documentation

This page contains the advection Package documentation.

The advectionEquation Module

fipy.models.levelSet.advection.advectionEquation.buildAdvectionEquation(advectionCoeff=None, advectionTerm=None)

The buildAdvectionEquation function constructs and returns an advection equation. The advection equation is given by:

\frac{\partial \phi}{\partial t} + u \abs{\nabla \phi} = 0.

This solution method for the _AdvectionTerm is set up specifically to evolve var while preserving var as a distance function. This equation is used in conjunction with the DistanceFunction object. Further details of the numerical method can be found in “Level Set Methods and Fast Marching Methods” by J.A. Sethian, Cambridge University Press, 1999. Testing for the advection equation is in examples.levelSet.advection

Parameters :
  • advectionCoeff: The coeff to pass to the advectionTerm.
  • advectionTerm: An advection term class.

The advectionTerm Module

The higherOrderAdvectionEquation Module

fipy.models.levelSet.advection.higherOrderAdvectionEquation.buildHigherOrderAdvectionEquation(advectionCoeff=None)

The buildHigherOrderAdvectionEquation function returns an advection equation that uses the _HigherOrderAdvectionTerm. The advection equation is given by,

\frac{\partial \phi}{\partial t} + u \abs{\nabla \phi} = 0.

Parameters :
  • advectionCoeff: The coeff to pass to the _HigherOrderAdvectionTerm

The higherOrderAdvectionTerm Module