Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.25 KB

README.rst

File metadata and controls

59 lines (39 loc) · 1.25 KB

scftpy

scftpy is a python package for performing polymer self-consistent field theory calculations.

Quickstart

1. Install

$ easy_install scftpy

or

$ tar -xvf scftpy-xxx.tar.gz
$ cd scftpy-xxx
$ python setup.py install

Required packages:

  • numpy: chebpy heavily depends on numpy.
  • scipy: advanced algorithms, such as scipy.fftpack.dct.
  • chebpy: Chebyshev collocation methods for PDEs.

2. Usage

Here is an example of carrying out 1D unitcell calculations of A-B diblock copolymers.

$ from scftpy import Brush
$ sim = Brush('param.ini')
$ sim.run()

Note: you should modify the configuration file (param.ini) for different systems. A sample cofiguration file can be found in the package source root directory.

Ask for Help

Links