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 17: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:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d \left( \beta A \right) = E d \beta - (\beta p) d V + \sum_{i=1}^c (\beta \mu_i) d N_i } ,

where:

  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A } is the Helmholtz energy function
  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \beta \equiv 1/k_B T }
  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_B} is the Boltzmann constant
  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle T } is the absolute temperature
  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle E } is the internal energy
  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p } is the pressure
  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mu_i } is the chemical potential of the species Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i}
  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N_i } is the number of molecules of the species Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i}

Semi-grand ensemble at fixed volume and temperature

Consider now that we wish to consider a system with fixed total number of particles, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N }

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left. N = \sum_{i=1}^c N_i \right. } ;

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 Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A (T,V,N_1,N_2) } .

  • Consider the variable change Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N_1 \rightarrow N } i.e.: Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left. N_1 = N- \sum_{i=2}^c N_i \right. }


Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d \left( \beta A \right) = E d \beta - (\beta p) d V + \beta \mu_1 d N - \beta \mu_1 \sum_{i=2}^c d N_i + \sum_{i=2}^c \beta \mu_2 d N_2; }


Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 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; }

or,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 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; }

where Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left. \mu_{i1} \equiv \mu_i - \mu_1 \right. } .

  • Now considering the thermodynamical potential: Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \beta A - \sum_{i=2}^c \left( N_i \beta \mu_{i1} \right) }
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 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). }

Fixed pressure and temperature

In the Isothermal-Isobaric ensemble: Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (N_1,N_2, \cdots, N_c, p, T) } ensemble we can write:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d (\beta G) = E d \beta + V d (\beta p) + \sum_{i=1}^c \left( \beta \mu_i \right) d N_i }

where:

  • Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle G } is the Gibbs energy function

Fixed pressure and temperature: Semi-grand ensemble

Following the procedure described above we can write:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \beta G (\beta,\beta p, N_1, N_2, \cdots N_c ) \rightarrow \beta \Phi (\beta, \beta p, N, \beta \mu_{21}, \cdots, \beta \mu_{c1} ) } , where the new thermodynamical Potential Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \beta \Phi } is given by:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d (\beta \Phi) = d \left[ \beta G - \sum_{i=2}^c (\beta \mu_{i1} N_i ) \right] = E d \beta + V d (\beta p) + \beta \mu_1 d N - \sum_{i=2}^c N_i d (\beta \mu_{i1} ). }


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

TO BE CONTINUED SOON