Questions tagged [radial-distribution-function]

Questions about radial distributions functions: g(r).

Filter by
Sorted by
Tagged with
8 votes
1 answer
165 views

How to calculate a structure factor from a radial distribution function?

I have been trying to take an FFT of the radial distribution function to calculate a structure factor. My understanding is this is the same as the regular FFT from the time to frequency domain. The ...
user avatar
  • 1,309
3 votes
2 answers
69 views

How to quantify the lattice distortion from XRD?

In real crystals, the atoms may not always sit at their ideal lattice sites. How to quantify this lattice distortion? Based on my understanding from X-ray diffraction books, the Radial Distribution ...
user avatar
  • 613
9 votes
1 answer
102 views

How do you calculate a radial distribution function on a lattice?

For the radial distribution function $$g(r)=\frac{N(r)}{4\pi r^{2}dr \rho}$$ how do you do the calculation of the volume of the spherical shell in the denominator, $4\pi r^{2} dr$, when the simulation ...
user avatar
  • 1,309
5 votes
0 answers
133 views

Why calculation of coordination numbers from Element-specific RDFs (ASE) doesn't make sense? [closed]

The link to the trajectory is here.I am using the module and similar code of the ASAP calculator from ASE. The problem is as follows, the running Coordination Number doesn't match the number of atoms ...
user avatar
  • 715
5 votes
2 answers
77 views

How to calculate displacement in each coordinate and wrap w.r.t. lattice parameter?

The problem is my box is not orthorhombic (base angles different than 90 degrees). So, I am getting wrong results with the formula, ...
user avatar
  • 715
5 votes
0 answers
180 views

How to get the coordination number from RDF in python ovito? [closed]

Basically, I am trying to get the running coordination number (CN), but the result isn't correct? I am multiplying the Radial Distribution Function (RDF) with ...
user avatar
  • 715
7 votes
0 answers
85 views

Normalizing the radial distribution function [closed]

The radial distribution function is defined as: $$g(r)=\frac{dn}{4\pi r^{2} dr \rho}.\tag{1}$$ Why, in the calculation, do you divide twice by the number of molecules? What I mean is something like ...
user avatar
  • 1,309
6 votes
1 answer
107 views

Radial distribution function for trajectories or time frame?

In many scripts I came across, I saw for the calculation of the RDF, both the trajectory and the individual timeframe also have been used. Can anybody help me with understanding how they are different ...
user avatar
  • 715
7 votes
0 answers
96 views

What's the pair correlation function? What information does it contain? [closed]

This question is related to this VASP tutorial, in which the pair correlation function (or radial distribution function: RDF) is utilized to justify whether the solid silicon is melt by AIMD (ab-...
user avatar
  • 13.6k
6 votes
0 answers
53 views

How to analyse structure factors calculated from a mixture of isotropic amorphous substrates

I am looking for a way to computationally analyse the interactions between two molecular species (as solute and solvent) in an isotropic mixture using X-ray scattering. Is there a guideline as to how ...
user avatar
  • 1,950
12 votes
0 answers
200 views

How to calculate RDFs for MD trajectories without PBC, directly from coordinates?

I have been running MD simulations on water droplets with an ion in them. I am trying to implement a program that could calculate the radial distribution function from ion to oxygen (or ion to ...
user avatar
  • 5,499
5 votes
1 answer
88 views

Have I missed something? RDF (radial distribution) script cannot capture the correct .xyz

I am trying to learn how RDF is working. To learn how RDF is working in practice I am testing the script (below) by printing all of the variables using this .xyz file example: I passed cartesian ...
user avatar
  • 758
11 votes
1 answer
790 views

How should I generate a radial distribution function (RDF) for an MD trajectory with python?

I am attempting to analyse the radial distribution function (oxygen to oxygen) for a ~400ps simulation on a droplet of water (MD done with NAMD). I am using the python library MDAnalysis to do this. ...
user avatar
  • 5,499
10 votes
1 answer
533 views

How do I calculate the radial distribution function from the centre of mass of unit cell in GROMACS?

I am simulating a droplet of water with GROMACS. The droplet consists of about 200 TIP3P water molecules and is placed near the center of a large, mostly empty box (...
user avatar
  • 5,499
12 votes
1 answer
689 views

Compute RDF between COMs of two selections (or groups) using GROMACS

I have been using gromacs since years but I am always confused when I want to perform the following task: compute the RDF (radial distribution function) between the ...
user avatar
  • 493
10 votes
1 answer
219 views

Normalization condition in evaluating the radial distribution function for a hard-spheres system

I am trying to simulate a 3D hard-spheres in a box system in Python. The idea behind this is that I have to create a system in a 1x1x1 box with periodic boundary conditions and with $N = 500$ ...
user avatar
  • 3,717
7 votes
0 answers
84 views

Deriving relations for a hard sphere phase diagram [closed]

In Torquato's book "Random Heterogeneous Materials", he has written: $$\frac{p}{\rho kT} = 1+2^{d-1}\eta g_2 (D^{+})\tag{1}$$ where $g_2(D^+)$ is the contact value from the right-side of the ...
user avatar
  • 3,717
21 votes
3 answers
400 views

Generating special quasirandom structures (SQS) for surface calculations?

Given that most of the available codes for performing DFT calculations work with periodic boundary conditions, there are tools like mcsqs as a part of the Alloy ...
user avatar
  • 1,274