Why a little detergent changes a large water surface
A drop of water often beads on plastic, whereas the same volume spreads farther after a little surfactant is added. A different interfacial problem appears when a protein formulation is shaken: newly created air–liquid interfaces can adsorb protein and influence its conformation and aggregation. Uniform coatings, fine emulsion droplets and persistent foams all depend on interfaces. Surface-tension measurements connect these observations through a precise question. At specified temperature, composition and interface age, how much free energy is required to create additional liquid surface? A force instrument asks an equivalent practical question: how strongly does the interface pull along a line of contact with a probe?
Molecules inside a liquid are surrounded mainly by similar neighbours. Molecules near a boundary experience a different environment, so creating additional interface generally requires work. A small drop therefore tends toward a compact shape; a sphere has the smallest area for a given volume. Imagining a contracting film helps establish the direction of interfacial forces, provided the analogy is used carefully. A liquid interface flows and exchanges molecules with its surroundings, whereas an elastic rubber sheet has identifiable material points and a different mechanical response. Surface tension is expressed in newtons per metre, commonly millinewtons per metre. Its energetic description uses joules per square metre. These units are equivalent because work is force times distance, while the new area generated by moving a straight boundary is boundary length times distance.
The term surface tension usually refers to a liquid–gas interface. An oil–water boundary also has interfacial tension, with two liquids on opposite sides; its pendant-drop calculation uses their density difference. Viscosity describes resistance to flow inside the fluid. Honey flows slowly mainly because of its viscosity, whereas the energetic cost of enlarging its boundary is described by interfacial tension. Both properties influence drop formation, but they are different measured quantities. Similarly, low surface tension does not automatically produce complete spreading on every solid: solid–liquid and solid–gas contributions also enter the contact angle. This chapter follows two ways of reading interfacial tension, through force and through shape, before adding time and concentration to the experiment.
Making surface cleanliness an experimental variable
In a letter published in Nature in 1891, Agnes Pockels described a rectangular trough approximately 70 centimetres long, 5 centimetres wide and 2 centimetres deep. It was filled to the rim, and a movable strip divided the water surface into separate regions. Moving the strip changed the area available to material at the surface. She also investigated surface forces using a small disk and a sensitive balance. The value of this arrangement was experimental control: a vague observation that one water surface behaved differently from another became a comparison of area, surface material and measuring conditions. The historical apparatus diagram reconstructs this experimental idea rather than reproducing a photograph or claiming exact mechanical dimensions for every part.
The connection with modern measurements is direct. Residues on a vessel, organic material acquired from air and traces of cleaning agent on a pipette can alter the interface that actually reaches the instrument. Pockels also revisited the relationship between cleaning and some earlier interpretations in later correspondence. A stable numerical display is therefore one part of a controlled measurement. When trace material continues to adsorb, surface tension can change with time even though the bulk solution appears unchanged. Proteins, lipids and polymers may additionally rearrange at the boundary. An experiment specifies preparation, the moment at which an interface is formed, its waiting time and the contact history of the probe or drop.
A modern Wilhelmy instrument suspends a thin plate from a sensitive balance. When the lower end contacts and enters the liquid, a meniscus forms around the plate. The vertical component of the force along that contact line changes the balance reading. Pendant-drop analysis observes a complementary consequence: gravity stretches a hanging drop, while interfacial tension favours a compact shape. These methods encode interface properties into different observables. Plate measurements require particular attention to wetted perimeter, contact angle and buoyancy. Shape measurements require accurate image scale, density difference and contour extraction. Understanding that distinction makes it easier to select a method for a solution that adsorbs strongly to solid probes or evolves rapidly after a fresh interface is created.
Separating capillary force from buoyancy
The dry plate is weighed in air, and that weight is subtracted from subsequent readings. This operation is called taring. The remaining reading contains capillary force at the contact line and buoyancy acting on the submerged part of the plate. Here downward force is positive. Complete wetting produces a downward capillary contribution, while buoyancy acts upward. Consider a plate 10 millimetres wide and 0.1 millimetres thick. Its wetted perimeter includes both broad faces and both narrow edges, giving 20.2 millimetres. Using the width alone would omit most of the contact line. The narrow-edge contribution becomes small for a thin plate, but remains a defined part of the geometry.
| Symbol | Meaning and units |
|---|---|
| Vertical force after dry-weight tare, N; downward positive. | |
| Liquid interfacial tension, N/m. | |
| Wetted perimeter, m. | |
| Contact angle through the liquid. | |
| Liquid–air density contrast, kg/m³; 1000 here. | |
| Gravitational acceleration, 9.81 m/s². | |
| Plate width, m; 0.010 here. | |
| Plate thickness, m; 0.0001 here. | |
| Immersion depth, m. |
For a static plate with regular cross section and fixed contact angle, subtract buoyancy from vertical capillary force. γ=0.050 N/m, θ=0 and z=0 give 0.00101 N; z=0.005 m gives 0.00096095 N.
For a surface tension of 50 millinewtons per metre and zero contact angle, the capillary force at zero immersion is 1.01 millinewtons. Immersing the plate by 5 millimetres displaces liquid with volume equal to width times thickness times depth. With the stated density and gravity, buoyancy becomes 0.04905 millinewtons, leaving a downward tared force of 0.96095 millinewtons. Directly dividing that deeper reading by perimeter underestimates tension. A useful experiment records several depths and fits force against depth. Extrapolating the line to zero depth removes the volume-dependent buoyancy contribution. Its slope describes that contribution, while its intercept gives capillary force under the assumed wetting conditions. The noisy example yields an intercept near 1.01048 millinewtons and a tension of 50.02385 millinewtons per metre.
Contact angle determines the fraction of interfacial force projected vertically. If the actual angle is 30 degrees but the analysis assumes complete wetting, a true tension of 50 millinewtons per metre appears as about 43.30. The balance measures force; the angle assumption comes from the interaction between probe and liquid. Platinum plates are often used to establish favourable wetting, together with cleaning and temperature control appropriate to the instrument and solution. A protein layer adsorbing onto the plate may change its wetting during a sequence. Time-dependent force can then contain both evolution of the liquid surface and evolution of the probe surface. Independent probes or an optical shape measurement help distinguish those contributions when the research question requires it.
Preserve force, depth, time and temperature alongside the final tension. An attached bubble changes displaced volume, nearby vessel walls can disturb the meniscus, and drifting liquid level changes actual immersion. At low surfactant concentration, adsorption to the vessel and probe may also consume an appreciable fraction of dissolved material. Matching container size, liquid volume and waiting procedure makes comparisons more interpretable. Examine residuals from the force–depth line as well. A systematic curve suggests checking assumptions such as constant contact angle, stable contact line and constant plate cross section. Repeatedly obtaining the same intercept is useful precision information, while a shared error in perimeter or wetting can shift every replicate together.
Reading interfacial tension from a drop contour
A camera initially records a contrast boundary around a hanging drop. Turning that boundary into tension requires understanding pressure across a curved interface. Tension pulls along the surface, and force directions at neighbouring positions are not parallel on a curved surface. Their combined effect is balanced by a pressure difference. The Young–Laplace relation expresses this balance using curvature in two perpendicular directions. A sphere has the same curvature radius in both directions, whereas a cylindrical surface is straight along one direction. A single visible cross-sectional radius is consequently enough only when the geometry tells us how the second curvature behaves.
| Symbol | Meaning and units |
|---|---|
| Pressure difference across interface, Pa; inside minus outside for a spherical drop. | |
| Interfacial tension, N/m. | |
| First principal curvature radius, m. | |
| Second principal curvature radius in the perpendicular direction, m. |
At mechanical equilibrium the two principal curvatures contribute additively. One spherical interface with γ=0.050 N/m and both radii 0.001 m gives 100 Pa. A pendant drop also satisfies the hydrostatic pressure variation with height.
A spherical interface with radius 1 millimetre and tension 50 millinewtons per metre has a pressure difference of 100 pascals. This example contains one liquid–gas interface. A soap film encloses a gas with two interfaces and requires accounting for both. Within a pendant drop, hydrostatic pressure decreases upward from the bottom apex. Local curvature changes accordingly. The program integrates along the surface from the nearly circular apex region, then adjusts tension and apex radius until its calculated contour matches observed coordinates. The figure shows the lower portion of the drop, where the competition between gravity and curvature is explicit; attachment near a needle introduces additional apparatus geometry.
The constructed observation uses tension 50 millinewtons per metre and bottom-apex radius 1 millimetre, with radial coordinate noise of standard deviation 3 micrometres. Fitting gives approximately 50.955 millinewtons per metre, apex radius 1.00059 millimetres and a radial root-mean-square residual of 2.56 micrometres. Tension and apex radius influence the contour in related but distinguishable ways. Apex radius controls local curvature; tension determines how strongly gravity changes shape along height. For a very small, nearly spherical drop, gravitational deformation is weak, and a wide range of tensions can be compatible with an almost circular contour. A stable drop with appreciable, well-resolved deformation generally provides more shape information than simply selecting the smallest possible drop.
Image calibration is part of the physical model. A wrong pixel size alters both curvature and the length scale over which gravity acts. A tilted camera, an inclined drop axis or continuing oscillation can disrupt the assumed static axisymmetric shape. Calibrate against a known dimension, inspect left–right consistency, wait for motion to decay and use the density difference at the measurement temperature. A water drop in oil requires water density minus oil density; a water drop in air often permits approximating the difference by water density. Read residuals as a function of height, not just as one total error. Small scattered residuals and a persistent deviation along one side motivate different checks of lighting, contour extraction and axis placement.
A scale comparison gives an additional check on shape fitting. Curvature pressure varies approximately as tension divided by radius, while the gravitational pressure change varies as density difference times gravity times height. Increasing drop size therefore strengthens gravity relative to curvature and moves the contour away from a sphere. Pixel count alone is insufficient: physical length per pixel is required. Very large drops may approach detachment and change during imaging, so the useful range balances identifiable deformation with stable suspension. Inspect clear left and right edges, a fully visible bottom apex and unobstructed contour regions before fitting. These visual conditions have a direct effect on which part of the physical shape is available to the calculation.
A fresh surface can belong to an old solution
Surfactant molecules commonly contain water-compatible and water-avoiding regions. Their arrangement at an air–water or oil–water boundary can lower interfacial free energy. Immediately after a fresh interface forms, its molecular population differs from that after prolonged exposure to the solution. Molecules must travel from the bulk, adsorb and sometimes reorient. Large molecules can also unfold or form networks of interactions. Surface tension therefore depends on surface age as well as formulation. Surface age begins when that particular interface is created. It is distinct from the age of the bottle of solution: a bubble blown from a solution stored overnight still presents a newly formed interface.
| Symbol | Meaning and units |
|---|---|
| Surface age, s. | |
| Tension at that age, mN/m. | |
| Initial tension, 72 mN/m. | |
| Long-time limit, 35 mN/m. | |
| Prescribed relaxation time, 2 s. | |
| Base of natural logarithms; dimensionless. |
A prescribed teaching relaxation: the difference falls by 1/e in each τr. At age 2 s, γ=48.61154 mN/m; a particular adsorption system determines its own kinetic time law.
The example separates this time effect with a prescribed exponential curve falling from 72 to 35 millinewtons per metre, with a relaxation time of 2 seconds. At 2 seconds the tension is about 48.61 because 36.8 percent of the initial difference from the long-time value remains. This is a teaching model of relaxation, rather than an experimentally identified adsorption constant for a particular protein or detergent. Real adsorption can involve diffusion, activation barriers, occupied surface sites and molecular rearrangement, producing several time regimes. The experimentally useful relationship remains clear: changing observation age at fixed formulation and temperature can change the measured force and the shape of a newly formed drop.
Maximum bubble-pressure measurements repeatedly generate new interfaces. Gas emerges from an immersed capillary, and the developing interface passes through an approximately hemispherical state. At that stage the curvature radius equals the capillary radius and the curvature pressure reaches the relevant maximum. The measured pressure also includes the hydrostatic contribution from capillary immersion, which must be removed before interpreting tension. Changing the formation rate accesses different interface ages. The operative age is associated with growth from interface formation to the pressure maximum, rather than automatically equalling the entire bubble-detachment cycle. Comparisons with plate and pendant-drop measurements should therefore align the ages actually sampled by each method.
This distinction is especially useful for sprays and foams. A rapidly created interface may initially behave much closer to the solvent than a slowly equilibrated surface of the same formulation. A coating operation that forms fresh area in milliseconds therefore asks a different question from a drop held for minutes. For protein formulations, molecular rearrangements can continue after adsorption begins, so the time record itself carries information. Record the definition of time zero, the acquisition interval and the range over which a plateau was observed. Those details let another experiment reproduce the physical comparison rather than merely reproduce a final number.
Time curves also influence sampling. Repeatedly lifting or compressing one interface can change its area and molecular arrangement, so the next measurement may begin from a different state. Comparisons of fresh interfaces require a defined way to recreate them; ageing experiments benefit from observations that disturb the interface as little as possible. For proteins, buffer composition, salt and temperature influence charge, molecular interactions and conformational stability. An independent replicate repeats the preparation and waiting procedure with a newly established interface. Many time points from one interface instead describe the evolution of that particular interface. Both records are useful, but they answer different questions about variability.
Connecting a concentration break to molecular aggregation
Increasing surfactant concentration often lowers surface tension through adsorption. At a certain concentration range, additional material increasingly forms aggregates such as micelles, and the tension curve may approach a flatter plateau. A micelle can be pictured as a dynamic assembly with water-avoiding portions sheltered internally and water-compatible portions exposed to water. Molecules continue exchanging between aggregates and solution. The critical micelle concentration is commonly estimated from a change in a concentration-dependent property; tension is one available property. Temperature, salt and surfactant composition influence the transition, so a concentration value belongs with its formulation and conditions.
| Symbol | Meaning and units |
|---|---|
| Tension at concentration c, mN/m. | |
| Surfactant concentration, mmol/L. | |
| Break concentration, mmol/L; one here. | |
| Plateau tension, 35 mN/m. | |
| Slope per concentration decade below the break, −18.5 mN/m here. |
Take a logarithm of the dimensionless ratio c/c*. Below the break the curve decreases; above it a plateau is specified. c=0.1 mmol/L gives 53.5 mN/m; the noisy construction fits c*≈0.98855 mmol/L.
A logarithmic concentration axis is useful because the experiment often spans several orders of magnitude. Values of 0.01, 0.1, 1 and 10 millimoles per litre are equally spaced on that axis; on a linear axis the smallest values crowd together. The constructed curve has a plateau of 35 millinewtons per metre and a break at 1 millimole per litre. Below the break, each tenfold concentration increase lowers tension by 18.5 millinewtons per metre. Thus 0.1 millimoles per litre corresponds to 53.5, while 0.01 corresponds to 72. The program tests candidate break positions, fitting the declining segment and plateau at each position. The lowest residual sum of squares gives about 0.98855 millimoles per litre for the noisy data. Plotting that fitting cost against candidate concentration reveals how strongly the data distinguish nearby choices.
Low-concentration samples are particularly sensitive to trace impurities and adsorption onto containers. Dilution errors and stock-solution uncertainty shift the concentration axis, while unequal waiting times shift the tension axis. If concentrated samples also happen to wait longer, concentration and age become entangled. Mixed surfactants and proteins may show broad transitions, multiple processes or continuing interfacial rearrangement. A segmented line usefully describes a distinct break, while molecular interpretation benefits from independent information about aggregation, such as scattering or a suitable fluorescence probe. Keep the distinction between an observed property transition and a particular proposed aggregate structure visible in the experiment design.
| Symbol | Meaning and units |
|---|---|
| Equilibrium water–water-vapour reference tension, mN/m. | |
| IAPWS coefficient, 235.8 mN/m. | |
| Dimensionless reduced temperature variable. | |
| Exponent 1.256; dimensionless. | |
| Coefficient −0.625; dimensionless. | |
| Absolute temperature, K. | |
| Critical temperature of water, 647.096 K. |
The IAPWS reference describes equilibrium water–water-vapour tension from the triple point to the critical point. Convert 20°C to 293.15 K to obtain 72.73614 mN/m. The plot spans 1–90°C.
Even a pure-water reference requires temperature. The water curve uses the IAPWS relation for equilibrium water–water-vapour surface tension, giving approximately 72.736 millinewtons per metre at 20 degrees Celsius. It is a reference calculation used to understand temperature dependence and check units. An actual water sample also has a purity, atmosphere, surface age and instrument history. The formula requires absolute temperature: 20 degrees Celsius becomes 293.15 kelvin. Substituting 20 directly into the absolute-temperature ratio describes a completely different condition. The decreasing reference curve also explains why temperature stability matters when comparing formulations separated by a small tension difference.
For a concentration series, distribute measurements around the expected transition as well as well below and above it. Several points confined to one straight segment cannot identify where another segment begins. Replicate independently prepared solutions at selected concentrations to assess preparation variability, while repeated readings from one solution assess a different component of variation. Plot individual results before averaging. A concentration-dependent drift in waiting time, probe condition or evaporation can otherwise produce an apparently persuasive transition. Matching the experimental history makes the fitted break a clearer description of how the formulation changes.
Interactive experiment: separate three causes of a changing force
The plate below has the same width, thickness and liquid density as the numerical example. Surface tension follows the prescribed age-dependent curve. The three controls change surface age, immersion depth and contact angle. Begin with complete wetting and zero immersion, then increase age to see how evolving tension changes the balance reading. Next hold age fixed and immerse the plate farther. The specified liquid tension remains unchanged, while buoyancy cancels part of the downward force. Finally change contact angle and compare direct division of force by perimeter with the value corrected using the known geometry. These operations isolate interface evolution, displaced volume and force projection.
Interactive: age, buoyancy and wetting
Change one variable and compare specified tension, force and direct division by perimeter. The plate is 10 mm wide and 0.1 mm thick.
At age 2 seconds, zero depth and zero angle, tension is approximately 48.61 millinewtons per metre and the reading is about 0.982 millinewtons. Increasing depth to 5 millimetres reduces force by 0.04905 millinewtons without changing corrected tension. Setting angle to 30 degrees additionally multiplies the capillary contribution by about 0.866. The two geometric effects can therefore coexist. The model can display a corrected value because its input conditions are known. A laboratory establishes those conditions through probe wetting, dimensional measurements and independent checks. This gives a practical order of work: determine what can be controlled and measured, then choose the relation that converts the signal into the requested interfacial property.
The plotted force–depth line also offers a useful diagnostic exercise. Compare two ages at the same angle: their intercepts change because tension changes. Compare two angles at the same age: intercepts change again, for a different reason. The buoyancy slope remains fixed because plate cross section, liquid density and gravity are unchanged. A single force reading cannot separate all of these causes. A depth series supplies additional structure, and control of wetting supplies the remaining physical interpretation. This is why an experiment with several deliberate perturbations can teach more than many repeated readings at one setting.
Complete analysis linking force, shape and concentration
The complete program generates three constructed observations: plate force against immersion, the lower contour of a pendant drop and tension against concentration. It applies linear extrapolation, Young–Laplace profile fitting and breakpoint search respectively, then exports observations, predictions and results as tables. A fixed random seed makes the teaching calculation reproducible while retaining visible measurement-like scatter. Read the analysis as a sequence of physical prediction, comparison with observation and adjustment of parameters. The scientific meaning of each fitted parameter can be understood before learning every mathematical detail of the numerical optimiser.
Complete Python: force, drop profile and concentration break
Run three independent fits, retain observations and results, and calculate the IAPWS water reference.
"""Surface-tension measurements: plate forces, pendant shape and surface age.
All measured-looking points are constructed teaching observations.
Water reference: IAPWS R1-76(2014), https://iapws.org/technical-guidance/release/Surf-H2O
Run: python main.py --output results --language en
"""
from pathlib import Path
import argparse,json
import numpy as np
from scipy.integrate import solve_ivp
from scipy.optimize import least_squares
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle,Circle
def water_tension(temperature_c):
tau=1-(np.asarray(temperature_c)+273.15)/647.096
return 235.8*tau**1.256*(1-.625*tau)
def plate(gamma_mNm,theta_deg,depth_mm):
width=.010;thickness=.0001;perimeter=2*(width+thickness)
capillary=(gamma_mNm/1000)*perimeter*np.cos(np.deg2rad(theta_deg))
buoyancy=1000*9.81*width*thickness*(np.asarray(depth_mm)/1000)
return (capillary-buoyancy)*1000
def pendant(z_mm,gamma_mNm=50.,apex_radius_mm=1.):
"""Axisymmetric pendant interface: z upward from bottom apex, arc length s.
dr/ds=cos(phi), dz/ds=sin(phi). Pressure decreases upward, giving
dphi/ds=2/b-(Delta_rho*g/gamma)*z-sin(phi)/r.
All numerical lengths here are mm; coefficient converts SI to mm^-2.
"""
b=apex_radius_mm;k=1000*9.81/(gamma_mNm/1000)*1e-6;eps=1e-5
def fun(s,y):
r,z,phi=y
return [np.cos(phi),np.sin(phi),2/b-k*z-np.sin(phi)/max(r,1e-10)]
zmax=float(np.max(z_mm))+.01
def stop(s,y):return y[1]-zmax
stop.terminal=True;stop.direction=1
sol=solve_ivp(fun,[eps,6*b],[eps,eps*eps/(2*b),eps/b],events=stop,max_step=.01,rtol=1e-8,atol=1e-10)
return np.interp(z_mm,sol.y[1],sol.y[0])
def dynamic(age_s):return 35+37*np.exp(-np.asarray(age_s)/2)
def breakpoint_fit(logc,y):
knots=np.linspace(-.5,.5,401);loss=[];coeffs=[]
for k in knots:
X=np.column_stack([np.ones(len(logc)),np.minimum(logc-k,0)])
coeff=np.linalg.lstsq(X,y,rcond=None)[0];loss.append(np.sum((X@coeff-y)**2));coeffs.append(coeff)
j=int(np.argmin(loss));return knots[j],coeffs[j],knots,np.asarray(loss)
def main():
p=argparse.ArgumentParser();p.add_argument('--output',type=Path,required=True);p.add_argument('--language',choices=['zh','en'],default='en');args=p.parse_args()
out=args.output;out.mkdir(parents=True,exist_ok=True);tr=lambda z,e:z if args.language=='zh' else e
plt.rcParams.update({'font.family':['Microsoft YaHei','DejaVu Sans'],'font.size':11,'axes.spines.top':False,'axes.spines.right':False,'svg.fonttype':'none','figure.facecolor':'#fbfcfc','savefig.facecolor':'#fbfcfc','text.color':'#18344a'})
blue='#186c94';green='#188777';orange='#d27839'
def save(f,n):f.savefig(out/f'{n}-{args.language}.svg',bbox_inches='tight');f.savefig(out/f'{n}-{args.language}.png',bbox_inches='tight',dpi=150);plt.close(f)
rng=np.random.default_rng(1804);depth=np.linspace(0,5,31);forces=plate(50,0,depth)+rng.normal(0,.003,len(depth));coeff=np.polyfit(depth,forces,1)
fitted_gamma=coeff[1]/.0202
z=np.linspace(.08,1.6,70);r=pendant(z);r_obs=r+rng.normal(0,.003,len(z))
fit=least_squares(lambda p:pendant(z,p[0],p[1])-r_obs,[48,1.02],bounds=([20,.8],[90,1.2]),xtol=1e-10,ftol=1e-10,gtol=1e-10)
gamma_fit,b_fit=fit.x;pred=pendant(z,gamma_fit,b_fit)
logc=np.linspace(-2,1,45);c=10**logc;gamma_true=35-18.5*np.minimum(logc,0);gamma_obs=gamma_true+rng.normal(0,.3,len(c));k,bc,knots,loss=breakpoint_fit(logc,gamma_obs)
noiseless_k,*_=breakpoint_fit(logc,gamma_true)
summary={'plate_gamma_fit_mNm':float(fitted_gamma),'plate_intercept_mN':float(coeff[1]),'plate_slope_mN_per_mm':float(coeff[0]),
'plate_force_50_zero_mN':float(plate(50,0,0)),'plate_force_50_5mm_mN':float(plate(50,0,5)),
'plate_30deg_naive_mNm':float(50*np.cos(np.pi/6)),
'pendant_gamma_fit_mNm':float(gamma_fit),'pendant_apex_radius_fit_mm':float(b_fit),
'pendant_residual_rms_um':float(np.sqrt(np.mean((r_obs-pred)**2))*1000),
'cmc_fit_mM':float(10**k),'cmc_noiseless_mM':float(10**noiseless_k),
'surface_age_2s_mNm':float(dynamic(2)),'water20_mNm':float(water_tension(20)),
'data_kind':'Constructed plate/drop/surfactant observations; IAPWS water reference calculation'}
(out/'summary.json').write_text(json.dumps(summary,indent=2),encoding='utf8')
np.savetxt(out/'data.csv',np.column_stack([depth,forces,np.polyval(coeff,depth)]),delimiter=',',header='depth_mm,force_mN,fit_mN',comments='')
np.savetxt(out/'pendant.csv',np.column_stack([z,r_obs,pred]),delimiter=',',header='height_above_bottom_mm,observed_radius_mm,fitted_radius_mm',comments='')
np.savetxt(out/'concentration.csv',np.column_stack([c,gamma_obs,gamma_true]),delimiter=',',header='concentration_mM,observed_tension_mNm,specified_tension_mNm',comments='')
fig,axs=plt.subplots(1,2,figsize=(12,4.7));a,b=axs
a.set_xlim(0,10);a.set_ylim(0,5);a.axis('off');a.add_patch(Rectangle((.5,.8),9,3,facecolor='#d2e9eb',edgecolor=blue,lw=2));a.add_patch(Rectangle((6,.8),.22,3,color=orange))
for x in np.linspace(1,5.5,9):a.scatter(x,2.2+.45*np.sin(x*2),s=35,color=green)
a.annotate('',xy=(4.8,4.2),xytext=(6.1,4.2),arrowprops={'arrowstyle':'->','color':orange,'lw':2});a.text(5,4.65,tr('移动隔板,压缩受限表面','Move a barrier; compress a confined surface'),ha='center',fontsize=10)
a.plot([2.5,2.5],[2.5,4.1],color='#455b6b');a.add_patch(Circle((2.5,2.5),.25,facecolor='white',edgecolor=blue));a.text(5,.3,tr('Pockels:控制面积与表面污染','Pockels: area and surface contamination'),ha='center',fontsize=10);a.set_title(tr('A 1891年的表面研究思想','A Surface experiments reported in 1891'),loc='left')
b.set_xlim(-3,3);b.set_ylim(-2.4,2.3);b.axis('off')
for sign in [-1,1]:
xx=np.linspace(.3,3,150);yy=.5*np.exp(-((xx-.3)/.35)**.5)
b.fill_between(sign*xx,-2.4,yy,color='#d2e9eb');b.plot(sign*xx,yy,color=blue)
b.add_patch(Rectangle((-.3,-1),.6,2.6,facecolor='#b0bdc5',edgecolor='#455b6b'));b.plot([0,0],[1.6,2.2],color='#455b6b')
for x in [-.3,.3]:b.annotate('',xy=(x,-.65),xytext=(x,.45),arrowprops={'arrowstyle':'->','color':orange,'lw':2})
b.annotate('',xy=(0,.15),xytext=(0,-1.5),arrowprops={'arrowstyle':'->','color':green,'lw':2});b.text(.7,-.65,tr('毛细力\n向下','Capillary force\ndownward'),fontsize=10);b.text(.4,-1.7,tr('浮力向上','Buoyancy upward'),fontsize=10);b.set_title(tr('B Wilhelmy板:读出界面力','B Wilhelmy plate: read interfacial force'),loc='left',fontsize=11);save(fig,'principle')
fig,axs=plt.subplots(1,2,figsize=(12,4.8));a,b=axs
a.scatter(depth,forces,color=blue,s=25,label=tr('构造观测','Constructed observations'));a.plot(depth,np.polyval(coeff,depth),color=orange,label=tr('线性拟合','Linear fit'));a.set_xlabel(tr('浸入深度 / mm','Immersion depth / mm'));a.set_ylabel(tr('扣除干板重量的力 / mN','Force after dry-weight tare / mN'));a.legend();a.set_title(tr('A 零深度截距分离浮力','A Zero-depth intercept separates buoyancy'),loc='left')
theta=np.linspace(0,70,200);b.plot(theta,50*np.cos(np.deg2rad(theta)),color=orange);b.axhline(50,color=green,ls='--',label=tr('规定真实张力50 mN/m','Specified true tension 50 mN/m'));b.set_xlabel(tr('实际接触角 / °','Actual contact angle / °'));b.set_ylabel(tr('假定完全润湿得到的张力 / mN/m','Tension inferred assuming complete wetting / mN/m'));b.legend(fontsize=9);b.set_title(tr('B 把接触角误当作零','B Incorrectly treating contact angle as zero'),loc='left');fig.tight_layout();save(fig,'plate')
fig,axs=plt.subplots(1,2,figsize=(11.5,5.5));a,b=axs
zfull=np.linspace(0,1.8,240);rfull=pendant(zfull,gamma_fit,b_fit)
for sign in [-1,1]:a.scatter(sign*r_obs,z,color=blue,s=13);a.plot(sign*rfull,zfull,color=orange,lw=2)
a.set_aspect('equal');a.set_xlabel(tr('径向位置 / mm','Radial position / mm'));a.set_ylabel(tr('距底端顶点的高度 / mm','Height above bottom apex / mm'));a.set_title(tr('A Young–Laplace:悬滴下段轮廓','A Young–Laplace: lower pendant profile'),loc='left',fontsize=11)
b.scatter(z,(r_obs-pred)*1000,s=20,color=blue);b.axhline(0,color='#a1abb2');b.set_xlabel(tr('距底端顶点的高度 / mm','Height above bottom apex / mm'));b.set_ylabel(tr('径向残差 / μm','Radial residual / μm'));b.set_title(tr('B 同时估计张力与顶点半径','B Fit tension and apex radius together'),loc='left');fig.tight_layout();save(fig,'pendant')
fig,axs=plt.subplots(2,2,figsize=(11.5,8.7));a,b,d,e=axs.ravel();time=np.logspace(-2,2,200)
a.semilogx(time,dynamic(time),color=blue);a.axhline(35,color=green,ls='--');a.set_xlabel(tr('表面年龄 / s','Surface age / s'));a.set_ylabel('γ / mN/m');a.set_title(tr('A 规定的动态吸附教学曲线','A Prescribed dynamic teaching curve'),loc='left')
b.semilogx(c,gamma_obs,'o',color=blue,ms=4);b.semilogx(c,bc[0]+bc[1]*np.minimum(logc-k,0),color=orange);b.axvline(10**k,color=green,ls='--');b.set_xlabel(tr('浓度 / mmol/L','Concentration / mmol/L'));b.set_ylabel('γ / mN/m');b.set_title(tr('B 转折与平台,构造数据','B Break and plateau, constructed data'),loc='left')
d.plot(10**knots,loss,color=orange);d.set_xlabel(tr('候选转折浓度 / mmol/L','Candidate break concentration / mmol/L'));d.set_ylabel(tr('残差平方和 / (mN/m)²','Residual sum of squares / (mN/m)²'));d.set_title(tr('C 检查转折选择的代价','C Inspect the cost of breakpoint choices'),loc='left')
temp=np.linspace(1,90,100);e.plot(temp,water_tension(temp),color=green);e.scatter([20],[water_tension(20)],color=orange);e.set_xlabel(tr('温度 / °C','Temperature / °C'));e.set_ylabel('γ / mN/m');e.set_title(tr('D IAPWS纯水–水蒸气参考计算','D IAPWS water–vapor reference calculation'),loc='left',fontsize=11);fig.tight_layout();save(fig,'dynamic')
print(json.dumps(summary))
if __name__=='__main__':main()
The three analyses show why defining a measurement matters. The plate intercept describes contact-line force; the drop contour describes a static balance of density contrast and curvature; the concentration break locates a change in a property under a specified formulation. For a protein solution, dynamic tension can first reveal the time required for an interface to develop, followed by formulation comparisons at matched ages. Questions about how much protein remains adsorbed, how much water accompanies it and whether the layer rearranges call for experiments that observe the interfacial layer more directly. Surface tension then provides a well-defined connection between solution composition, interface dynamics and subsequent adsorption measurements.
The exported tables keep the analysis inspectable. Refit the plate over a shorter depth interval and compare intercept with slope; examine pendant residuals by height; move candidate concentration breaks and follow the cost curve. These changes have different physical meanings and should not be treated as interchangeable fitting preferences. Retaining raw coordinates and forces allows the measurement to be reinterpreted when calibration or geometry is refined. The resulting record is more useful than an isolated tension value because it preserves how that value was obtained and which controlled comparison it answers.
Extract and follow the README; the code matches this chapter.
References and further reading
- Agnes Pockels historical correspondence archiveOriginal 1891 letters reproduced in this historical archive explain trough, barrier, disk and cleanliness control.Historical facts paraphrased; no archive figures reproduced.
- KRÜSS — Surface tensionForce, interfacial energy, temperature and surface age.
- KRÜSS — Wilhelmy plate methodWetted perimeter, contact angle and measured force.
- KRÜSS — Pendant dropDensity difference, contour and Young–Laplace analysis.
- KRÜSS — Surface ageDefinition of age of a newly formed interface.
- KRÜSS — Bubble pressure tensiometerMaximum bubble pressure and dynamic measurements.
- KRÜSS — Critical micelle concentrationMeasurement meaning of the concentration break.
- IAPWS — Revised Release on Surface Tension of Ordinary Water SubstanceWater–vapour reference relation, coefficients and temperature range.

