public class HardSphereSolid
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
HardSphereSolid.EOSParams |
Modifier and Type | Field | Description |
---|---|---|
protected static double |
A0 |
|
protected static double[] |
c |
|
protected static double[] |
cc |
|
protected static double[] |
cdz |
|
protected static double |
rho0 |
|
protected static double |
sqrt2 |
Constructor | Description |
---|---|
HardSphereSolid() |
Modifier and Type | Method | Description |
---|---|---|
static double |
Asolid(double rho) |
Returns the difference between absolute free energies between the given
densities for solid (FCC) hard spheres.
|
static double |
Asolid(double rho,
int n) |
|
static double |
calcdMudP(double rho,
double drho) |
|
static double |
calcdmudrho(double rho,
double drho) |
|
static double |
calcdPdrho(double rho,
double drho) |
|
static double |
densityForMu(double mu) |
|
static double |
densityForPressure(double pressure) |
|
double |
getVacancyFraction(double rhoLat) |
Returns the fraction of lattice sites with a vacancy for the given
lattice density.
|
double |
getVacancyFreeEnergy(double rhoLat) |
Returns the Helmholtz free energy difference due to the presence of
vacancies at the given lattice density.
|
double |
getVacancyPressure(double rhoLat) |
Returns the difference between the pressure with vacancies from the
pressure without vacancies for the given lattice density.
|
static double |
idFreeEnergy(double rho) |
Returns the ideal gas free energy for the given density.
|
static void |
main(java.lang.String[] args) |
|
static double |
zSolid(double rho) |
Returns the compressibility factor for solid (FCC) hard spheres at the
given density.
|
static double |
zSolidCorrection(double rho) |
Returns the correction to high density expression for the
compressibility factor for solid (FCC) hard spheres at the given
density.
|
protected static final double sqrt2
protected static final double[] c
protected static final double rho0
protected static final double A0
protected static final double[] cdz
protected static final double[] cc
public static double calcdMudP(double rho, double drho)
public static double calcdPdrho(double rho, double drho)
public static double calcdmudrho(double rho, double drho)
public static double zSolid(double rho)
rho
- Densitypublic static double zSolidCorrection(double rho)
rho
- Densitypublic static double densityForPressure(double pressure)
public static double densityForMu(double mu)
public static double Asolid(double rho)
rho
- Densitypublic static double Asolid(double rho, int n)
public double getVacancyFraction(double rhoLat)
rhoLat
- lattice densitypublic double getVacancyPressure(double rhoLat)
rhoLat
- lattice densitypublic double getVacancyFreeEnergy(double rhoLat)
rhoLat
- public static double idFreeEnergy(double rho)
rho
- Densitypublic static void main(java.lang.String[] args)