Skip to main content

Classical density functional theory code

Project description

Classical density functional theory code: 1D version (cdft1d)

Marat Valiev and Gennady Chuev


Simulates inhomogenous molecular liquid system in the presence of Lennard-Jones (LJ) solute particle

In this release only RISM solver is provided.

The program can be ran as

rism <input_file>

The input file is of the following form

<solute>
# site   sigma(Angs)  eps(kj/mol)    charge(e)
Na       2.16         1.4755         1.0
<simulation>
temp 300
solvent 2site
tol 1.0E-7
max_iter 100 

It contains two sections: <solute> and <simulation>.

The <solute> section specifies solute parameters: name, LJ parameters and charge.

The <simulation> section describes general parameters of the system

temp 300       - temperature in K (in this case 300K)
solvent 2site  - solvent model (in this case two site water model)
tol 1.0E-7     - tolerance for convergence (1.0E-7 in this case)
max_iter 100   - maximum number of iterations (100 in this case)

Upon successfull the program will generate RDF files (with extension rdf). In particular, for the example provided above the following rdf files will be generated

NaH.rdf		NaO.rdf	 

The rdf files contains two column - distance (r) and RDF g(r). E.g.

# r        g(r)
0.005      0.0
0.015      7.973e-10
0.025      2.395e-09
0.035      4.797e-09
0.045      8.01e-09
0.055      1.204e-08
....

Available solvent models:

2site

Kippi M. Dyer, John S. Perkyns, George Stell, 
and B. Montgomery Pettitt,Mol Phys. 2009 ; 107(4-6): 423–431. doi:10.1080/00268970902845313.

References:

Gennady N Chuev, Marina V Fedotova and Marat Valiev, Renormalized site density functional theory, J. Stat. Mech. (2021) 033205

Chuev GN, Fedotova MV, Valiev M. Chemical bond effects in classical site density functional theory of inhomogeneous molecular liquids. J Chem Phys. 2020 Jan 31;152(4):041101. doi: 10.1063/1.5139619. PMID: 32007044.

Marat Valiev and Gennady N Chuev, Site density models of inhomogeneous classical molecular liquids, J. Stat. Mech. (2018) 093201

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.0.1.tar.gz (980.0 kB view details)

Uploaded Source

Built Distribution

cdftpy-0.0.1-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cdftpy-0.0.1.tar.gz
  • Upload date:
  • Size: 980.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for cdftpy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 779ff9f23ffb5eca0e50b14d85e1271b396e3e0eefdeb9d4f4536a9581733b5f
MD5 2e02dc2a3536805d511ddf7ae11dec8b
BLAKE2b-256 0015449d12a05c06672fcad21be1cd1a579daf2eab01073f8254607124177522

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cdftpy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for cdftpy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73f622273d01dba9996e5c6b668776695e4d1c8c4cdc056e67af599a68596c35
MD5 329805856eb9243af863bd930efd016b
BLAKE2b-256 603f75f4209f872cec9bef629b37350aa28245ec6d44c5c6848f1482612ec778

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