Semi-grand ensembles: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
Line 24: Line 24:
== Semi-grand ensemble at fixed volume and temperature ==
== Semi-grand ensemble at fixed volume and temperature ==


Consider now that we want to consider a system with fixed total number of particles, <math> N </math>
Consider now that we wish to consider a system with fixed total number of particles, <math> N </math>


: <math> \left. N = \sum_{i=1}^c N_i  \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 thermodynamic considerations one can apply a [[Legendre 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>.  


Line 39: Line 39:
: <math> d \left( \beta A \right) = E d \beta - (\beta p) d V +  \beta \mu_1 d N + \sum_{i=2}^c \beta (\mu_2-\mu_i) d N_i; </math>
: <math> d \left( \beta A \right) = E d \beta - (\beta p) d V +  \beta \mu_1 d N + \sum_{i=2}^c \beta (\mu_2-\mu_i) d N_i; </math>


Or:
or,


: <math> d \left( \beta A \right) = E d \beta - (\beta p) d V +  \beta \mu_1 d N + \sum_{i=2}^c \beta \mu_{i1} d N_i; </math>
: <math> d \left( \beta A \right) = E d \beta - (\beta p) d V +  \beta \mu_1 d N + \sum_{i=2}^c \beta \mu_{i1} d N_i; </math>


where <math> \left. \mu_{i1} \equiv  \mu_i - \mu_1 \right. </math>.
where <math> \left. \mu_{i1} \equiv  \mu_i - \mu_1 \right. </math>.
* Now considering the thermodynamical potential: <math> \beta A - \sum_{i=2}^c \left( N_i \beta \mu_{i1} \right) </math>
* Now considering the [[thermodynamical potential]]: <math> \beta A - \sum_{i=2}^c \left( N_i \beta \mu_{i1} \right) </math>


:<math> d \left[ \beta A - \sum_{i=2}^c ( \beta \mu_{i1} N_i ) \right] = E d \beta - \left( \beta p \right) d V + \beta \mu_{1} d N - N_2 d \left( \beta \mu_{21} \right).
:<math> d \left[ \beta A - \sum_{i=2}^c ( \beta \mu_{i1} N_i ) \right] = E d \beta - \left( \beta p \right) d V + \beta \mu_{1} d N - N_2 d \left( \beta \mu_{21} \right).

Revision as of 18:46, 5 March 2007

General features

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

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

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

We shall consider a system consisting of 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:

Semi-grand ensemble at fixed volume and temperature

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

N=∑i=1cNi;

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

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


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


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

or,

d(βA)=Edβ−(βp)dV+βμ1dN+∑i=2cβμi1dNi;

where μi1≡μi−μ1.

d[βA−∑i=2c(βμi1Ni)]=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:

Fixed pressure and temperature: Semi-grand ensemble

Following the procedure described above we can write:

βG(β,βp,N1,N2,⋯Nc)→βΦ(β,βp,N,βμ21,⋯,βμc1), where the new thermodynamical Potential βΦ is given by:

d(βΦ)=d[βG−∑i=2c(βμi1Ni)]=Edβ+Vd(βp)+βμ1dN−∑i=2cNid(βμi1).


Fixed pressure and temperature: Semi-grand ensemble: Partition function

TO BE CONTINUED SOON