source: src/main/java/agents/anac/y2015/agentBuyogV2/flanagan/physprop/Pva.java

Last change on this file was 127, checked in by Wouter Pasman, 6 years ago

#41 ROLL BACK of rev.126 . So this version is equal to rev. 125

File size: 4.7 KB
Line 
1/*
2* Pva Class
3*
4* Methods for returning the physical properties of
5* aqueous polyvinylalcohol (pva) solutions:
6* viscosity, density, refractive index,
7* diffusion coefficient and specific volume.
8*
9* Reference: Pritchard, J. G., Poly(vinyl alcohol) : basic properties and
10* uses, Macdonald & Co, London, 1970.
11* UCL DMS Watson Library location: CHEMISTRY D 297 PRI.
12*
13* Author: Dr Michael Thomas Flanagan.
14*
15* Created: July 2003
16* Updated: 1 July 2003 and 2 May 2004
17*
18* DOCUMENTATION:
19* See Michael Thomas Flanagan's Java library on-line web page:
20* http://www.ee.ucl.ac.uk/~mflanaga/java/Pva.html
21* http://www.ee.ucl.ac.uk/~mflanaga/java/
22*
23* Copyright (c) May 2004 Michael Thomas Flanagan
24*
25* PERMISSION TO COPY:
26* Permission to use, copy and modify this software and its documentation for
27* NON-COMMERCIAL purposes is granted, without fee, provided that an acknowledgement
28* to the author, Michael Thomas Flanagan at www.ee.ucl.ac.uk/~mflanaga, appears in all copies.
29*
30* Dr Michael Thomas Flanagan makes no representations about the suitability
31* or fitness of the software for any or for a particular purpose.
32* Michael Thomas Flanagan shall not be liable for any damages suffered
33* as a result of using, modifying or distributing this software or its derivatives.
34*
35***************************************************************************************/
36
37package agents.anac.y2015.agentBuyogV2.flanagan.physprop;
38
39import agents.anac.y2015.agentBuyogV2.flanagan.math.Fmath;
40
41public class Pva{
42
43 // METHODS
44 // Returns the viscosity (Pa s) of aqueous pva solutions as a function of the
45 // g/l pva concentration (concn), the temperature [Celsius](temp) and the
46 // molecualr weight of the pva (molwt).
47 // Empirical equation from Poly(vinyl alcohol): basic properties and uses by J G Pritchard (1970)
48 public static double viscosity(double concn, double molwt, double temp){
49
50 double intVisc30, intVisc20, intViscT, spViscT, waterViscT, viscosity, concndlpg;
51
52 intVisc30 = 4.53e-4*Math.pow(molwt, 0.64);
53 intVisc20 = intVisc30*1.07;
54 intViscT = intVisc20*Math.pow(1.07, -(temp-20)/10);
55 concndlpg = concn/10.0;
56 spViscT = concndlpg*(intViscT + 0.201*concndlpg*Math.pow(intViscT, 2.28));
57 waterViscT = Water.viscosity(temp);
58 viscosity = (spViscT + 1.0)*waterViscT;
59
60 return viscosity;
61 }
62
63 // Returns the density (kg/m^3) of aqueous pva solutions, at 30 C, as a function of
64 // g/l pva concentration (concn) and the molecular weight
65 // Empirical equation from Poly(vinyl alcohol): basic properties and uses by J G Pritchard (1970)
66 public static double density(double concn, double molwt){
67
68 double density;
69
70 concn=concn/10.0;
71 density = 1000*(0.99565 +(0.00248 - 1.09/molwt)*concn + (0.000064 - 0.39/molwt)*concn*concn);
72
73 return density;
74 }
75
76 // Returns the specific volume (kg/m^3) of pva in aqueous solution
77 // Data Poly(vinyl alcohol): basic properties and uses by J G Pritchard (1970)
78 public static double specificVolume(){
79 return 0.000765;
80 }
81
82 // returns the diffusion coefficient (m^2 s^-1) of pva in aqueous solution
83 // as a function of the g/l pva concentration (concn), pva molecular weight (molwt)
84 // and temperature (temp) [Celsius].
85 public static double diffCoeff(double concn, double molwt, double temp){
86
87 double diffcoef, f, viscosity, specvol, vol, radius, tempa;
88
89 tempa = temp-Fmath.T_ABS;
90
91 viscosity = Pva.viscosity(concn, molwt, temp);
92 specvol = Pva.specificVolume();
93 vol = molwt*specvol/(Fmath.N_AVAGADRO*1000);
94 radius=Math.pow(3.0*vol/(4.0*Math.PI),1.0/3.0);
95
96 f=6.0*Math.PI*viscosity*radius;
97 diffcoef=Fmath.K_BOLTZMANN*tempa/f;
98
99 return diffcoef;
100 }
101
102 // Returns the refractive index of pva solutions as a function of g/l pva concentration
103 // Data Poly(vinyl alcohol): basic properties and uses by J G Pritchard (1970)
104 // pva refractive index increment fitted to modified Cauchy equation:
105 // dn = 1 + a1*(1 + b1/(lambda*lambda))
106 // concn g/l concentration of pva
107 // temp temperature (degree Celsius) (t = 30C for original pva increment calculation)
108 // wavl wavelength in metres
109 public static double refractIndex(double concn, double wavl, double temp)
110 {
111 double refind, rfwater, rfincr;
112 double a1=-0.998419, b1=-1.87778e-17;
113
114 rfwater = Water.refractIndex(wavl, temp);
115 rfincr = 1.0 + a1*(1.0 + b1/Math.pow(wavl, 2));
116 refind = rfwater + rfincr*concn/10.0;
117
118 return refind;
119 }
120
121}
Note: See TracBrowser for help on using the repository browser.