Title: Thermodynamic Modelling at NPL
1Thermodynamic Modelling
Thermodynamic modelling at the National Physical
Laboratory
Hugh Davies
8 March 2002
2Content
- National Physical Laboratory
- NPL Materials Centre
- Materials Processing Team
- Thermodynamics and Process Modelling Group
- MTDATA and the calculation of phase equilibria
- Models, Materials and Databases
- Tour of Modules
- Data assessment
- Conclusion
3What We Are
- NPL is the UKsNational Standards Laboratory
- for physical measurements
4Organisation - Scientific
Mechanical Acoustical
CMAM
NPL Materials centre
CLM
MATC
Length
CISE
CIRM
CS
Information Systems Engineering
Ionising Radiation
CEM
CBTM
Corporate Services
Electromagnetic
Basic Thermal
CTM
COAM
Optical Environmental
Time
5Who are we?
- NPL Materials Centre (MATC) is one of the worlds
leading materials research laboratories - We are the largest scientific centre at the
National Physical Laboratory in Teddington - We employ over 90 scientists working on a wide
range of materials measurement areas. Currently,
work is divided into four areas - Measurements for materials processing
manufacturing - Characterisation performance of materials
- Surface properties engineering
- Materials systems components, design, modelling
and databases
6(No Transcript)
7Thermodynamic Modelling MTDATAAlan Dinsdale
Hugh Davies John Gisby Susan Martin Jim
Robinson
The prediction of phase equilibria using
thermodynamic data
- Wide range of applications eg
- Alloy Development, Materials processing
- Energy conversion, Joining
- Corrosion and deposition, Environmental control
- Extraction and recycling
- Electronic and magnetic materials
- Comprehensive set of databases eg oxides alloys
aqueous, semiconductors . - Robust algorithms for reliability
- Available for a wide range of computers
- Assessment module
8Thermodynamic Modelling Engineering
ToolkitsAlan Dinsdale Hugh Davies John Gisby
Susan Martin Jim Robinson
The use of predictive materials chemistry for
process simulation and control
- Provides link to third party commercial packages
eg CFx, Fluent, Physica, MAGMASoft - Custom built engineering toolkits for specific
industries eg lighting applications, casting of
alloys
- MTDATA Application Programming Interface for user
written software - Api is self documenting for easy maintenance
9Heat Flow Properties for Metals and OxidesRob
Brooks Lindsay Chapman Alan Dinsdale Peter
Quested Jim Robinson
Development of methods for the measurement and
prediction of thermal conductivity and enthalpy
for modelling.
- DSC
- Drop calorimetry
- Single pan calorimetry
- Laser flash
- Prediction of properties
Virtual measurement system Software to predict
property values
Comparison of DSC, drop calorimeter and
calculated data
10Thermodynamic modelling using MTDATA
MTDATA This software/data package is used to
predict the complex chemistry in multicomponent
multiphase systems, using critically assessed
thermodynamic data. It is used by companies and
universities worldwide for such diverse
applications as continuous casting of steel, lamp
chemistry, pollution control and
pyrometallurgical extraction.
11What is MTDATA ?
- Designed to calculate phase/chemical equilibria
with maximum ease and reliability - Interactive
- User application programming
- Despite reports to the contrary MTDATA does not
work like other comparable programs - A true Gibbs energy minimisation
- A non-linear optimisation problem with linear
constraints - NPL Numerical Optimisation Software Library
- No initial guess required
- Mathematical guarantee that G reduces each time
it is evaluated - Result can be proven to be a solution to the
posed problem - Very high reliability
12Typical graphical outputs
- Phase diagrams
- Thermodynamic properties
- Phase compositions
- Assessment monitoring
13Example of convergence testing
- ISO 9001 release acceptance criterion is gt 99.99
- No initial guess
- Aggressive random testing for 12 system/model
types - 10000 equilibria in each routine test
- Up to 5000000 in additional tests
- Self testing facility is built into every MTDATA
14Too good to be true ?
- What can go wrong - not much
- near 100 likelihood of convergence
- slow convergence could be a problem
- Miscibility gaps and systems with ordering
- in some dimension the Gibbs energy appears to
have multiple minima - heuristic methods give good reliability
- MTDATA is very strong on calculations in systems
with miscibility gaps and phases whose Gibbs
energy is not an explicit function of system
composition
15Models and Materials
- Data for a phase consists of
- Unary G as f(T,P) possibly magnetic with one or
more sublattices - Gex as f(T,P,x), typical models
- Redlich Kister
- Quasi chemical
- Modified Wagner dilute
- Modified Pitzer
- ternary or reciprocal interactions
- To model a wide range of mostly inorganic
materials - Alloys
- Semi-conductors
- Oxides
- Salts
- Aqueous solution
- Gas phase and stoichiometric solids
- Others (eg Polymer solutions, Organic vapours and
Bio systems)
16Databases availability (1)
17Databases availability (2)
18Databases availability (3)
19Typical output from UNARY database
20Typical output from P_UN database (1)
21Typical output from P_UN database (2)
22Typical output from TCFE database
23Typical output from MTSOLDERS databaseAg-Cu-Pb-Sn
system
24Typical output from MTSOL database
25Typical output from MTAL database
26Typical output from SGSUB database
27Typical output from NPLOX2 database
28MTDATA family structure
MTDATA for Windows v4.X
Core MTDATA
MTDATA for PC
MTDATA for UNIX
User application
Binding to 3rd party application
Application Support Environment
MTDATA for Windows v5.X
NPL Engineer's Tool Kits
NPL Virtual Measurement systems
29NPL Virtual Measurement Systems
- Designed to be used by non specialists
- Simple interface
- Reliability of MTDATA
- Integration with MS Excel
30NPL Engineer's Tool Kits
- Bespoke software for compact fluorescent lamp
design - Materials selection built in
- Industry specific outputs, integrated with MS
Excel
31Relative Light Output results
32EHECATL General MTDATA/Fluent binding
33Aqueous Chemistry(1) U-H2O system
34Aqueous Chemistry(2) H2O-Am(NO3)3-EDTA
35Ag to Pb0.5Zn0.5 isopleth including gas phase
36Ag to Pb0.5Zn0.5 isopleth including gas phase
37Ag to Pb0.5Zn0.5 P-x diagram at 800 K
38LM25 equilibrium solidification
39LM25 Scheil solidification (1)
40LM25 Scheil solidification (2)
41Metal metal halide phase equilibria
42Modules - UNARY
- Property calculation for individual phases in a
unary system
43Modules - UNARY
- Property calculation for individual phases in a
unary system
44Modules - UNARY
- Property calculation for individual phases in a
unary system
45Modules - GPLOT
- Property calculation for individual phases in a
binary system
46Modules - GPLOT
- Property calculation for individual phases in a
binary system
47Modules - BINARY
- Very simple calculation of binary phase diagram
- No initial guesses
- 30 phases considered from NPL Alloy database
48Modules - BINARY
- Very simple calculation of binary phase diagram
- No initial guesses
- 30 phases considered from NPL Alloy database
49Modules - BINARY
50Modules - TERNARY
- Very simple calculation of isothermal ternary or
reciprocal phase diagrams - No initial guesses
- Interactive labelling
- 24 phases considered from NPL Oxide database
51Modules - TERNARY
- Very simple calculation of isothermal ternary or
reciprocal phase diagrams - No initial guesses
- Interactive labelling
52Modules - TERNARY
53Modules - MULTIPHASE
- Interactive interface to the core equilibrium
algorithm - Fixed T,P(V),x or variable in many ways
- Open systems
- Activity, composition, enthalpy constraints and
Para equilibrium
54Modules - MULTIPHASE
Cp of 9-component alloy
Adiabatic combustion of carbon
55Modules - MULTIPHASE
56Modules - APPLICATION
- A platform for user written application code
embedded into MTDATA - NPL provided built in applications
- Isopleths, T-P, P-x, liquidus projections, fixed
T sections and solidification simulations
57Modules - COPLOT
- Predominance area calculations
- Log Activity diagrams
- Pourbaix diagram with pH and EH on axes
58Modules - THERMOTAB
- Thermodynamic functions for chemical reactions
- Automatic equation balancing
- Direct two way database interface
59Data Assessment
- Completely general framework for data assessment
- MTDATA command language allows virtually any
experimental information to be included - No practical limit to the size of system being
assessed - Any thermodynamic model parameter can be included
in the assessment process - Real-time graphical monitoring of objective
function and parameter values - Extensive graphical results reporting
- Integration with the rest of MTDATA
60Typical experimental data input
-
- Water activity data at 298.15
-
- Macro T/K molality act(H2O)
uncert reference - "actH2O.mac" 298.15 0.1 0.998004
0.0001 "actH2O-29874PIT/MAY" - "actH2O.mac" 298.15 0.2 0.99639
0.0001 "actH2O-29874PIT/MAY" - "actH2O.mac" 298.15 0.3 0.994889
0.0001 "actH2O-29874PIT/MAY" - "actH2O.mac" 298.15 0.4 0.993443
0.0001 "actH2O-29874PIT/MAY" - "actH2O.mac" 298.15 0.5 0.99202
0.0001 "actH2O-29874PIT/MAY" -
- NiSO4 enthalpy of formation at various
concentrations (82WAG/EVA) -
- Macro n(H2O) DfHsol uncert
reference - "DfHdil.mac" 200.0 -958505 500
"DfH-29882WAG/EVA" - "DfHdil.mac" 300.0 -958672 500
"DfH-29882WAG/EVA" - "DfHdil.mac" 400.0 -958797 500
"DfH-29882WAG/EVA" - "DfHdil.mac" 500.0 -958906 200
"DfH-29882WAG/EVA" - "DfHdil.mac" 800.0 -959169 200
"DfH-29882WAG/EVA
61Data Assessment monitoring
- Real time monitoring of objective function
- Display of changes in parameter values
62Post Assessment Reports
- Residual scatter plot or bar chars
- Correlation plots
- Property plots
- Full Integration within MTDATA
63Conclusions
- MTDATA is a very general tool for calculating
phase and chemical equilibria with very high
reliability and no need for initial guesses at
the system/phase composition - A wide range of models and databases allow
application to a large number of different types
of problem - Complex user applications can be built using
calls to MTDATA routines from users code or 3rd
party applications - Produced by NPL the UK National Standards
Laboratory - Thanks to Alan Dinsdale, John Gisby, Jim
Robinson, Susan Martin and Malcolm Rand - Funding in part from DTI EID and all commercial
users of MTDATA
64(No Transcript)