Appendix 3
3a. The pressure across a curved interface.

 

Surface tension (γ) is defined as the work required to create a unit area of new interface, hence w = γδα. It quantifies a thermodynamic driving force to minimise surface area.

A curved interface between two phases (α and β) will be at equilibrium when the three forces due to the surface tension and to the pressures in the two phases just balance. Let α (diagram a) be the phase on the convex side of the interface.

Interface pressures

If the interface is displaced towards the concave, left hand side, then the surface area decreases. Thus the force of surface tension acts together with pα and is counterbalanced by pβ. Consequently, the pressure on the concave side of a curved interface is always greater than that on the convex side p&beta > pα.

The three forces may be quantified (as pressure = force/area). If the radius of curvature changes by δr, the surface area changes by 4π(r + δr)2 - 4πr2 &8776; 8πrδr. This involves an amount of work, 8πrγδr (since w = γδα). As work = force/distance, the force opposing the change dr is 8πrγ. It follows that 8πrγ + 4πr2pα = 4πr2pβ. Rearrangement of this gives (a3a-1)

equation

a3a-1

This is the Young - LaPlace equation for a "spherical" interface.

 

Effect of applied pressure on the vapour pressure of a liquid [11]

 

One of the fundamental equations of thermodynamics is (a3b-1)

equation

a3b-1

Therefore for an isothermal change (δ T=0) (m signifies molar quantities)

equation

a3b-2

If a pure liquid (l) under a total pressure (P) is in equilibrium with its vapour (g) at a pressure (Pg) then the chemical potentials must be the same in each phase (for a pure substance, μ = Gm). If these pressures are altered, yet maintaining equilibrium, then the changes, δGm, must be the same in each phase. Therefore

equation equation

a3b-3

Approximating the vapour to an ideal gas gives Vm,g = RT/Pg. Therefore

equation

a3b-4

For moderate pressures, Vm,l can be taken to be constant. By integration of (a3b-4) gives (a3b-5a)

equation

a3b-5a

equation

a3b-5b

Setting P1 as the normal vapour pressure p*g (no applied pressure), pg = p1 = p*g. It follows then that

equation

a3b-6

Δp is the additional applied pressure, pg is the new vapour pressure.

 

Elliptic integral theory and equations.

 

The integral (for the real part) can be expressed as

equation

a3c-1

where

equation

a3c-2

equation

a3c-3

Other terms within equations (a3c-1 to a3c-3) which need to be defined are

equation

a3c-4a

equation

a3c-4b

equation

a3c-4c

equation

a3c-4d

equation

a3c-4e

The limiting factor is that b < a. l (q) is the arc length of the bridge between the spheres for a given value of (typically that of the hyperbola from q = 0 to q). e is known as the eccentricity.

The calculation for the complete elliptic integrals of the first and second kind (F and E in (a3c-1) respectively) are of the calling form F (x,y,z). x and y have to be non-negative and z must be positive. It is possible to simplify matters by excluding the z parameter as this normally is set as 1.

The two integrals are determined using the following formulae

equation

a3c-5a

equation

a3c-5b

where RF and RD are the two functions called to do the calculations. These are both available freely in the SLATEC [12] libraries as source code. The code can be amended to negate the error routines which make the overall source code a great deal larger than it needs to be.

RF is given by Carlson[13] as

equation

a3c-6a

RD[14] can also be assigned by

equation

a3c-6b

t in both cases is the varied position of the point of integration.

Given that these two equations only differ by 2/2, it is fair to say that RF deals with the negative (say, left hand sphere) slope while RD deals with the other side.

(a3c-6a) and (a3c-6b) can be converted into a simpler form by the assignment of the special variables, s nu, d nu, c nu and t nu. (a3c-7a and a3c-7b) show this.

equation

a3c-7a

equation

a3c-7b

This can be transferred into (a3c-6a) thus

equation

a3c-8

The transformation of (a3c-6b) into this style requires a far more complex set of transformations. These are given below (a3c-9a - h)

equation

a3c-9a

equation

a3c-9b

equation

a3c-9c

equation

a3c-9d

equation

a3c-9e

equation

a3c-9f

equation

a3c-9g

equation

a3c-9h

These can then be written into (a3c-5a) and (a3c-7b) thus

equation

a3c-10a

equation

a3c-10b

What are these s nu, d nu, c nu and t nu terms?

u is simple. It is another way of expressing the elliptic integral of the first type, F (a3c-10a). n stands for amplitude with s, c and t meaning sine, cos and tan. This leaves d. d should actually be written as δ as it stands for delta. Therefore, s nu is the sine amplitude of the elliptic integral of the first kind.

The evaluation of RD and RF is performed by a loop with the governing condition the x << xmax. On entry, the x, y and z parts of the equations for RF and RD are provided by the values c n2u, d n2u and 1. Each have the conditions that none are negative with x and y being non zero.

Due to the nature of programming, it is necessary to initialise a number of extra variables. These need not be discussed, suffice to say, their only real purpose is to make the program simpler to understand.

Both sets of loops follow the conditions

equation

a3c-11

where

equation equation equation equation equation equation equation

(the same treatment for defining rootx and rooty as well as xndev and yndev can be performed. x, y and zndev are the deviations from the initial values of xn, yn or zn).

At the end of each loop, xn, yn and zn are incremented by (xn + γ x 0.25) (where xn can be either yn or zn). The loop then returns to the initial definition of μ. When the condition ε < the error limit (defined in the program as around 1 x 10-25), the loop is exited (the integration has reach the computers mathematical calculation error tolerance, this can be counted as the approx. value). Count is incremented by taking the current value of count and multiplying 0.25

In standard notation, we can express the range of values for xndev, yndev or zndev as below :

>equation

By defining a number of smaller variables, the final calculations for RD (a3c-12a) and RF (a3c-12b) become far simpler to express.

equation equation equation equation equation equation equation equation

a3c-12a

For RF, the variables used for RD are not used, but simpler ones are used.

equation equation equation equation

a3c-12b

While all this maths is all well and good, it is of very little use unless it can be outputted and displayed in a form which can be used.

By running the program via a loop in the main calling routine (going from 0.5 to RCMAX) and storing each successive value of FAW, FAL, FVL and SM (bridge distance max.) with the counter as a reference and outputting this as a simple to use spreadsheet file (a CSV file is accepted by all spreadsheet or data plotting packages), it is possible to see how the isotherms are produced for the varied RCMAX. A typical output will look like this.

Graph of fraction liquid vs. radius of capillary.

Graph of fraction liquid vs. radius of capillary.