Skip to main content

Classical density functional theory code

Project description

Tests

CDFTPY: Python package for performing classical density functional theory calculations for molecular liquids

Marat Valiev and Gennady Chuev


Quick Start:


Standard RISM calculation can be run as

rism1d <input_file>

RSDFT calculation can be run as

rsdft1d <input_file>

where <input_file> is the optional input file. An example of the latter for simulation of ion solvation in two-site water model is given below

 <solute>
 # site   sigma        eps(kj/mol)    charge(e)    x   y   z
 Cl       4.83         0.05349244     -1.0         0.0 0.0 0.0
 <simulation>
 solvent s2
 tol 1.0E-7
 max_iter 200
 rmax 100
 
 #optional analysis
 <analysis>
 rdf_peaks
 <output>
 rdf

In the absence of the input file, the calculation will be run interactively.

Both rism1d and rsdt1d also support the following options

  --version            display version
  --serve              open browser for calculation analysis
  -o, --output <file>  save output into file, format is inferred from extension.
                       Note that only html files are currently supported

For example, the following command

rsdft1d -o results.html <input file>

will run rsdft caclulation as usual but also save output into results.html file, which can be open in the browser.


References:


G.N. Chuev, M. V. Fedotova and M. Valiev, Renormalized site density functional theory, J. Stat. Mech. (2021) 033205, https://doi.org/10.1088/1742-5468/abdeb3

G.N. Chuev, M. V. Fedotova and M. Valiev, Chemical bond effects in classical site density functional theory of inhomogeneous molecular liquids. J. Chem Phys. 2020 Jan 31;152(4):041101, https://doi.org/10.1063/1.5139619

M. Valiev and G.N. Chuev, Site density models of inhomogeneous classical molecular liquids, J. Stat. Mech. (2018) 093201, https://doi.org/10.1088/1742-5468/aad6bf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdftpy-0.1.10.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

cdftpy-0.1.10-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file cdftpy-0.1.10.tar.gz.

File metadata

  • Download URL: cdftpy-0.1.10.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for cdftpy-0.1.10.tar.gz
Algorithm Hash digest
SHA256 1715ff70909802478eb3a9ef7c36f408465be9d84edd95c43fee6a96308fd566
MD5 67452b602d99af9e30470f88bae205d6
BLAKE2b-256 50a2de541dc007b55e595a4637df2ceb25718365b625b622fc8c043dc544fad2

See more details on using hashes here.

File details

Details for the file cdftpy-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: cdftpy-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for cdftpy-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0e59af00c69e5e09d7c42e462bbcccc20c37ae7feb316d137978c58de30e9676
MD5 bff2d6161a9c2332c31a478e5b030a57
BLAKE2b-256 a4d5f657547b115347ebd3f51c3e09a19992b9c958be5852953d296854fab4fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page