liquidstructure API
mixscatter.liquidstructure
This module provides classes for representing the liquid structure properties of interacting multicomponent systems of spherical particles.
Classes:
| Name | Description |
|---|---|
LiquidStructure |
Abstract base class representing liquid structure properties. |
PercusYevick |
Class for hard-sphere potential in the Percus-Yevick approximation. |
VerletWeis |
Class for hard-sphere potential in the Percus-Yevick approximation with Verlet-Weiss correction. |
References
- P. Salgi, R. Rajagopalan, "Polydispersity in colloids: implications to static structure and scattering", Adv. Colloid Interface Sci. 43, 169-288 (1993), https://doi.org/10.1016/0001-8686(93)80017-6
- A. Vrij, "Mixtures of hard spheres in the Percus–Yevick approximation. Light scattering at finite angles", J. Chem. Phys. 71, 3267-3270 (1979), https://doi.org/10.1063/1.438756
- J. Diaz Maier, K. Gaus, J. Wagner, "Measurable structure factors of dense dispersions containing polydisperse, optically inhomogeneous particles", arXiv:2404.03470 [cond-mat.soft], https://doi.org/10.48550/arXiv.2404.03470
LiquidStructure
Bases: ABC
Representation of the liquid structure properties of an interacting multicomponent system of spherical particles.
Specialized classes inherit from this base class and only need to implement the 'partial_direct_correlation_function' attribute.
Attributes:
| Name | Type | Description |
|---|---|---|
wavevector |
NDArray[float64]
|
Scattering wavevector. |
mixture |
MixtureLike
|
Mixture object. |
References
- P. Salgi, R. Rajagopalan, "Polydispersity in colloids: implications to static structure and scattering", Adv. Colloid Interface Sci. 43, 169-288 (1993), https://doi.org/10.1016/0001-8686(93)80017-6
- A. Vrij, "Mixtures of hard spheres in the Percus–Yevick approximation. Light scattering at finite angles", J. Chem. Phys. 71, 3267-3270 (1979), https://doi.org/10.1063/1.438756
- J. Diaz Maier, K. Gaus, J. Wagner, "Measurable structure factors of dense dispersions containing polydisperse, optically inhomogeneous particles", arXiv:2404.03470 [cond-mat.soft], https://doi.org/10.48550/arXiv.2404.03470
Source code in src/mixscatter/liquidstructure/liquidstructure.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 | |
average_structure_factor
cached
property
The sum of the number weighted partial structure factors over all species.
The number-number structure factor for all species, regardless their individual size.
Returns:
| Type | Description |
|---|---|
NDArray[float64]
|
NDArray[np.float64]: Average structure factor. |
compressibility_structure_factor
cached
property
The "compressibility" or "Kirkwood-Buff" structure factor.
This structure factor gives the correct isothermal compressibility from S(Q->0) according to the Kirkwood-Buff-theory for multicomponent systems.
Returns:
| Type | Description |
|---|---|
NDArray[float64]
|
NDArray[np.float64]: "Compressibility" structure factor. |
number_weighted_partial_direct_correlation_function
cached
property
The partial direct correlation function matrix c_ij weighted by the square root of the
product of the number fractions x_i and x_j.
Returns:
| Type | Description |
|---|---|
NDArray[float64]
|
NDArray[np.float64]: Matrix of the weighted direct partial correlation functions. |
number_weighted_partial_structure_factor
cached
property
The partial direct correlation function matrix S_ij weighted by the square root of the
product of the number fractions x_i and x_j.
Returns:
| Type | Description |
|---|---|
NDArray[float64]
|
NDArray[np.float64]: Matrix of the weighted direct partial correlation functions. |
partial_direct_correlation_function
abstractmethod
cached
property
Matrix of the partial direct correlation functions weighted by the total number density.
Returns:
| Type | Description |
|---|---|
NDArray[float64]
|
NDArray[np.float64]: Partial direct correlation function matrix. |
partial_structure_factor
cached
property
The partial structure factor matrix.
Returns:
| Type | Description |
|---|---|
NDArray[float64]
|
NDArray[np.float64]: Matrix of the partial structure factors. |
__init__(wavevector, mixture)
Initialize an instance based on the specified wavevectors and for a given mixture.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wavevector
|
ArrayLike
|
Scattering wavevector. |
required |
mixture
|
MixtureLike
|
Mixture object. |
required |
Source code in src/mixscatter/liquidstructure/liquidstructure.py
PercusYevick
Bases: LiquidStructure
Hard-sphere potential in the Percus-Yevick approximation.
References
- A. Vrij, "Mixtures of hard spheres in the Percus–Yevick approximation. Light scattering at finite angles", J. Chem. Phys. 71, 3267-3270 (1979), https://doi.org/10.1063/1.438756
- T. Voigtmann, "Mode Coupling Theory of the Glass Transition in Binary Mixtures", PhD Thesis, TU München, https://mediatum.ub.tum.de/603008
- J. Diaz Maier, K. Gaus, J. Wagner, "Measurable structure factors of dense dispersions containing polydisperse, optically inhomogeneous particles", arXiv:2404.03470 [cond-mat.soft], https://doi.org/10.48550/arXiv.2404.03470
Source code in src/mixscatter/liquidstructure/liquidstructure.py
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | |
partial_direct_correlation_function
cached
property
Calculate the partial direct correlation function matrix c_ij(q) for the system using the
Percus-Yevick approximation.
Returns:
| Type | Description |
|---|---|
NDArray[float64]
|
NDArray[np.float64]: Partial direct correlation function matrix |
__init__(wavevector, mixture, volume_fraction_total)
Initialize an instance based on the specified wavevectors and for a given mixture.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wavevector
|
ArrayLike
|
Scattering wavevector. |
required |
mixture
|
MixtureLike
|
Mixture object. |
required |
volume_fraction_total
|
float
|
Total volume fraction. |
required |
Source code in src/mixscatter/liquidstructure/liquidstructure.py
VerletWeis
Bases: PercusYevick
Hard-sphere potential in the Percus-Yevick approximation employing the Verlet-Weis correction.
Uses the PercusYevick class with an effective volume fraction and an effective radius.
References
- E. W. Grundke and D. Henderson, "Distribution functions of multi-component fluid mixtures of hard spheres", Mol. Phys. 24, 269-281 (1972), https://doi.org/10.1080/00268977200101431
Source code in src/mixscatter/liquidstructure/liquidstructure.py
__init__(wavevector, mixture, volume_fraction_total)
Initialize an instance based on the specified wavevectors and for a given mixture.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
wavevector
|
ArrayLike
|
Scattering wavevector. |
required |
mixture
|
MixtureLike
|
Mixture object. |
required |
volume_fraction_total
|
float
|
Total volume_fraction. |
required |