Semi-grand ensembles: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
Line 26: Line 26:
Consider now that we want to consider a system with fixed total number of particles, <math> N </math>
Consider now that we want to consider a system with fixed total number of particles, <math> N </math>


: <math> \left. N = N_1 + N_2 \right. </math>;  
: <math> \left. N = \sum_{i=1}^c N_i  \right. </math>;  


but the composition can change, from the thermodynamics we can apply a Legendre's transform [HAVE TO CHECK ACCURACY]
but the composition can change, from the thermodynamics we can apply a Legendre's transform [HAVE TO CHECK ACCURACY]
to the differential equation written above in terms of <math> A (T,V,N_1,N_2) </math>.  
to the differential equation written above in terms of <math> A (T,V,N_1,N_2) </math>.  


# Consider the change <math> (N_1,N_2) \rightarrow (N,N_2) </math> i.e.: <math> \left. N_1 = N-N_2 \right. </math>
# Consider the variable change <math> N_1 \rightarrow N </math> i.e.: <math> \left. N_1 = N- \sum_{i=2}^c N_i \right. </math>





Revision as of 16:46, 5 March 2007

General Features

Semi-grand ensembles are used in Monte Carlo simulation of mixtures.

In this ensembles the total number of molecules is fixed, but the composition can change.

Canonical Ensemble: fixed volume, temperature and number(s) of molecules

We will consider a system with "c" components;. In the Canonical Ensemble, the differential equation energy for the Helmholtz energy function can be written as:

d(βA)=Edβ−(βp)dV+∑i=1c(βμi)dNi,

where:

  • A is the Helmholtz energy function
  • β≡1/kBT
  • kB is the Boltzmann constant
  • T is the absolute temperature
  • E is the internal energy
  • p is the pressure
  • μi is the chemical potential of the species "i"
  • Ni is the number of molecules of the species "i"

Semi-grand ensemble at fixed volume and temperature

Consider now that we want to consider a system with fixed total number of particles, N

N=∑i=1cNi;

but the composition can change, from the thermodynamics we can apply a Legendre's transform [HAVE TO CHECK ACCURACY] to the differential equation written above in terms of A(T,V,N1,N2).

  1. Consider the variable change N1→N i.e.: N1=N−∑i=2cNi


d(βA)=Edβ−(βp)dV+βμ1dN−βμ1dN2+βμ2dN2;


d(βA)=Edβ−(βp)dV+βμ1dN+β(μ2−μ1)dN2;

Or:

d(βA)=Edβ−(βp)dV+βμ1dN+βμ21dN2;

where μ21=μ2−μ1. Now considering the thermodynamical potentia: βA−N2βμ21

d(βA−βμ21N2)=Edβ−(βp)dV+βμ1dN−N2d(βμ21).

Fixed pressure and temperature

In the Isothermal-Isobaric ensemble: (N1,N2,⋯,Nc,p,T) ensemble we can write:

d(βG)=Edβ+Vd(βp)+∑i=1c(βμi)dNi

where: