Comments (9)
I think it is straightforward, but so I don't see what you mean in your question.
from phono3py.
Dear Togo,
what I meant was the following: Lets assume I have a particular atomic configuration taken from a molecular dynamics at a relatively low temperature (say 300K, for the particular snapshot all atoms are still close to their equilibrium positions at T=0K). In Harmonic approximation I can calculate the forces and energies when I have the force constant matrix . Here, i and j are the indices for the atoms and \alpha and \beta are for the cartesian components x, y and z. The energy U in harmonic approximation can be calculated by
U = while the forces can be calculated by
. What I would like to do is to calculate the energy and/or the forces however not in harmonic approximation but rather from perturbation theory. Do you see a way to do this using phono3py once the second (fc2.hdf5) and third (rd3.hdf5) order force constants are evaluated? Thanks and Best,
Albert
from phono3py.
If we believe the potential energy is expanded into the Taylor series (e.g., see eq.(1) at http://www.sciencedirect.com/science/article/pii/S1359646215003127?via%3Dihub), then it may be true approximately. However I don't know how many orders we will need to be accurate, i.e., I'm not sure if it is OK up to third order or not for the accuracy you need.
from phono3py.
Dear Togo,
it will be approximate but very accurate at low temperatures. For me the question is to what temperature it is OK. But as mentioned, at low temperatures this will be the best possible choice. Would you know how this can be done using the fc2.hdf5 and fc3.hdf5 files? Thank you very much,
Albert
from phono3py.
fc2.hdf5 and fc3.hdf5 contain arrays with (N, N, 3, 3) and (N, N, N, 3, 3, 3), respectively. N and 3 are the indices of atoms in supercell and (x,y,z). For example, the array data of fc3 is obtained like this:
In [1]: import h5py
In [2]: f = h5py.File("fc3.hdf5")
In [3]: list(f)
Out[3]: ['fc3']
In [4]: f['fc3'].shape
Out[4]: (64, 64, 64, 3, 3, 3)
In [5]: fc3 = f['fc3'][:]
I assume your MD supercell and phono3py supercell sizes are the same. Then for easy handling, your MD supercell would be good if the atomic sites and indices are the same as those of the supercell created by phono3py. Otherwise, you need to map the atomic indices between them by yourself.
from phono3py.
Can I close this issue?
from phono3py.
from phono3py.
Then, you don't need to hurry!
from phono3py.
I will close this issue because long time no update.
from phono3py.
Related Issues (20)
- compatbility with phono3py-kaccum is broken when using winger option HOT 1
- "disp_fc3.yaml" was not found. HOT 2
- pip install phono3py fails because site.cfg not found HOT 1
- Help: massive number of POSCAR-xxxxx produced by phono3py HOT 4
- Question about Phono3py HOT 1
- `--cutoff-pair` fails for non-VASP calculators HOT 1
- calculation of gruneisen parameters seems to be broken HOT 3
- Phono3py Installation Problems HOT 4
- magetic structure in phono3py HOT 3
- Another problem with pypy conda package HOT 4
- slow speed in generating displacements HOT 7
- Mistakes in the doc of hdf5 files HOT 13
- phono3py --cf3-file options broken HOT 13
- phono3py-kaccum error importing grid methods HOT 3
- Temperature dependent Phonon band structure HOT 1
- simulating antiferromagetic structure in phono3py HOT 5
- phonopy and phono3py find different number of phonon displacements HOT 6
- Phono3py installation issues HOT 4
- index # is out of bounds for axis 0 with size # HOT 3
- Cannot pip download source HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phono3py.