The Thermochemistry Library THERMOCHIMICA Markus H.A. Piro, April 2014.

Slides:



Advertisements
Similar presentations
JET A VAPORIZATION IN A SIMULATED AIRCRAFT FUEL TANK (INCLUDING SUB-ATMOSPHERIC PRESSURES AND LOW TEMPERATURES) C. E. Polymeropoulos, and Robert Ochs Department.
Advertisements

ME 525: Combustion Lecture 3
Thermodynamics, Systems, Equilibrium & Energy
Learning Objectives and Fundamental Questions What is thermodynamics and how are its concepts used in petrology? How can heat and mass flux be predicted.
The theoretical background of
Jeff Jenneman James Phan Quang Nguyen Miguel Bagajewicz.
CHEMICAL AND PHASE EQUILIBRIUM (1)
Review of Chemical Thermodynamics Combustion MECH 6191 Department of Mechanical and Industrial Engineering Concordia University Lecture #1 Textbook: Introduction.
DICTRA Mobility Database for Zr alloys C. Toffolon-Masclet, C. Desgranges and J.C. Brachet CEA Saclay, France C. Toffolon-Masclet et al., CALPHAD XLI,
Aug 9-10, 2011 Nuclear Energy University Programs Materials: NEAMS Perspective James Peltz, Program Manager, NEAMS Crosscutting Methods and Tools.
Dr. R. Nagarajan Professor Dept of Chemical Engineering IIT Madras Advanced Transport Phenomena Module 2 Lecture 5 Conservation Principles: Momentum &
Heat of Reaction 1st Law Analysis of Combustion Systems
Introduction of phase diagram Hongqun Dong Introduction of phase diagram.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 3.
Thermodynamic relations for dielectrics in an electric field Section 10.
MSEG 803 Equilibria in Material Systems 4: Formal Structure of TD Prof. Juejun (JJ) Hu
1. 2 Ludwig Boltzmann (1844 – 1906) who spent much of his life studying statistical mechanics died by his own hand. Paul Ehrenfest (1880 – 1933), carrying.
Thermodynamics can be defined as the science of energy. Although everybody has a feeling of what energy is, it is difficult to give a precise definition.
The Advanced Chemical Engineering Thermodynamics The retrospect of the science and the thermodynamics Q&A -1- 9/16/2005(1) Ji-Sheng Chang.
DFG Priority Programme SPP 1473, WeNDeLIB:
Oxygen Diffusion Model in LWR Fuel using Thermochimica in MOOSE/BISON Theodore M. Besmann.
An Integrated Educational Thermodynamics Software Program
Introduction to API Process Simulation
Chapter 21 Basic Concepts of Thermodynamics Thermodynamics is the study of transformations of energy System and surroundings –the system is the part of.
ESS 材料熱力學 3 Units (Thermodynamics of Materials)
The Thermochemistry Library THERMOCHIMICA Markus H.A. Piro, April 2014.
Chapter Outline: Phase Diagrams
Advanced Thermodynamics Note 12 Chemical-Reaction Equilibria
In Engineering --- Designing a Pneumatic Pump Introduction System characterization Model development –Models 1, 2, 3, 4, 5 & 6 Model analysis –Time domain.
Chemical Thermodynamics II Phase Equilibria
1 Lecture 2 Summary Summary 1) The Zeroth Law: Systems that have no tendency to transfer heat are at the same temperature. 2) Work: A process which transfers.
Matter and Measurements  Atom  Element  Law Of Definite Proportions.
Thermodynamics Basic Review of Byeong-Joo Lee Microstructure Evolution
Physical Chemistry content Physical Chemistry 1 (BSC) Thermodynamics Terms The thermodynamic system First law of thermodynamics Work, heat, internal energy,
The Third Law, Absolute Entropy and Free Energy Lecture 4.
The Thermodynamic Potentials Four Fundamental Thermodynamic Potentials dU = TdS - pdV dH = TdS + Vdp dG = Vdp - SdT dA = -pdV - SdT The appropriate thermodynamic.
Chapter 8 Thermochemistry. Thermodynamics  Study of the changes in energy and transfers of energy that accompany chemical and physical processes.  address.
CT – 3: Equilibrium calculations: Minimizing of Gibbs energy, equilibrium conditions as a set of equations, global minimization of Gibbs energy, driving.
The Ideal Monatomic Gas. Canonical ensemble: N, V, T 2.
Partial Molar Quantities and the Chemical Potential Lecture 6.
Dr. R. Nagarajan Professor Dept of Chemical Engineering IIT Madras
IASFPWG – Seattle, WA Jet-A Vaporization Computer Model A Fortran Code Written by Prof. Polymeropolous of Rutgers University International Aircraft.
Thermodynamics Thermodynamics Thermodynamics Way to calculate if a reaction will occur Way to calculate if a reaction will occur Kinetics Kinetics Way.
Chapter 8: The Thermodynamics of Multicomponent Mixtures
M. J. Welland, W. T. Thompson, B. J. Lewis
Development of EKINOX Model for the Prediction of Microstructural Evolutions in Zr Alloys during Oxydation L. Anagonou, C. Desgranges, C. Toffolon-Masclet,
Chapter 2 Modeling Approaches  Physical/chemical (fundamental, global) Model structure by theoretical analysis  Material/energy balances  Heat, mass,
Application of Generic Constraint Solving Techniques for Insightful Engineering Design Hiroyuki Sawada Digital Manufacturing Research Center (DMRC) National.
CHEE 311J.S. Parent1 4. Chemical Potential in Mixtures When we add dn moles of a component to n moles of itself, we will observe (?) a change in Gibbs.
Thermochemistry Model Development MS-16OR ORNL Thermochimica Update S. Simunovic, T. M. Besmann, B. Gaston, M. H. A. Piro December 1-4, 2015.
Thermochemistry. Thermodynamics  Study of the changes in energy and transfers of energy that accompany chemical and physical processes.  address 3 fundamental.
Thermodynamics and the Phase Rule
Modeling Hydrogen Transport and Precipitation of Hydrides in Zircalloy using Thermo-Chemistry Solver in BISON Theodore M. Besmann (Principal Investigator)
Oxygen Potential in High Burnup LWR Fuel using Themochimica in MOOSE/BISON Theodore M. Besmann.
Chapter 7: Equilibrium and Stability in One-Component Systems
MULTI-COMPONENT FUEL VAPORIZATION IN A SIMULATED AIRCRAFT FUEL TANK C. E. Polymeropoulos Department of Mechanical and Aerospace Engineering, Rutgers University.
Dr. Owen Clarkin School of Mechanical & Manufacturing Engineering Summary of Energy Topics Chapter 1: Thermodynamics / Energy Introduction Chapter 2: Systems.
Modeling Hydrogen Transport and Precipitation of Hydrides in Zircalloy using Thermo-Chemistry Solver in BISON Theodore M. Besmann (Principal Investigator)
Chapter 5 Thermochemistry. Thermodynamics  Study of the changes in energy and transfers of energy that accompany chemical and physical processes.  address.
Thermodynamics Thermodynamics Thermodynamics Way to calculate if a reaction will occur Way to calculate if a reaction will occur Kinetics Kinetics Way.
Panel Discussion: Discussion on Trends in Multi-Physics Simulation
ME 475/675 Introduction to Combustion
Solution of Thermodynamics: Theory and applications
On calibration of micro-crack model of thermally induced cracks through inverse analysis Dr Vladimir Buljak University of Belgrade, Faculty of Mechanical.
Engineering Thermodynamics
Combustor Model Simulation
Don’t be in a such a hurry to condemn a person because he doesn’t do what you do, or think as you think. There was a time when you didn’t know what you.
Phase diagrams by thermodynamic calculations
Modeling Approaches Chapter 2 Physical/chemical (fundamental, global)
Presentation transcript:

The Thermochemistry Library THERMOCHIMICA Markus H.A. Piro, April 2014

Outline Introduction Background Applications and capabilities Example problem Numerical methods and algorithms Accessing software Future plans Summary

Introduction THERMOCHIMICA is an open-source software library for computing thermodynamic equilibria with the primary purpose of direct integration into multi-physics codes. The software is written in Fortran and it can be called from a Fortran, C, or C++ Application Programming Interfaces (API) on a desktop workstation or high performance computing environment. Software development began during PhD at RMC*, it evolved during a Post- Doctoral fellowship at ORNL and it is currently being maintained by M.H.A. Piro. * M.H.A. Piro, “Computation of Thermodynamic Equilibria Pertinent to Nuclear Materials in Multi-Physics Codes,” PhD Thesis, Royal Military College of Canada (2011).

Brief Background Conditions for thermodynamic equilibrium: – Gibbs’ Phase rule, – Conservation of mass, and – Gibbs energy of a closed system at constant T & P is a global minimum (derived from first and second laws of thermodynamics). Thermodynamic equilibrium is assumed (i.e., time dependency is not considered). – The appropriateness of this assumption is problem specific. This is generally a good assumption when temperature is high and time scale is long. * M.H.A. Piro, “Computation of Thermodynamic Equilibria Pertinent to Nuclear Materials in Multi-Physics Codes,” PhD Thesis, Royal Military College of Canada (2011).

Applications The software is intended to provide input to material properties and boundary conditions for continuum mechanics and phase field simulations. THERMOCHIMICA can be used for various applications: – Combustion – Metallurgy – Geochemistry – Batteries – Nuclear materials

Applications of Thermochimica to Nuclear Engineering Applications Fuel performance and safety analysis: – Fuel chemistry (akin to previous slides), – Fuel melting, – Fission gas retention (predicting fission product speciation), – Iodine-induced stress corrosion cracking (I-SCC) / Pellet-cladding interaction (PCI), and – Zirconium hydriding. Potential applications (more development needed): – Aqueous chemistry: CRUD formation, fuel storage, fuel transportation.

Species mole fraction Chemical Potential Element Mass Database Gibbs energy Moles of Phases Enthalpy Heat capacity Pressure THERMOCHIMICA Temper- ature Input Output I/O

Capabilities Parse ChemSage data-files as input. Data-files containing a maximum of 48 chemical elements, 1500 chemical species and 24 solution phases. Thermodynamic models: – Pure condensed phases, – Ideal solution phases, – Substitutional Kohler-Toop model with regular polynomials, – Substitutional Redlich-Kister-Muggiano model with Legendre polynomials, and – Compound energy formalism with Legendre polynomials (up to 5 sublattices).

Compound Energy Formalism – UO 2 Fluorite Crystal Structure M.H.A. Piro, PhD Thesis, Royal Military College, Reproduced from D.R. Olander, U.S. Dept. of Commerce, 1976.

Compound Energy Formalism – UO 2 Fluorite Crystal Structure M.H.A. Piro, PhD Thesis, Royal Military College, Reproduced from D.R. Olander, U.S. Dept. of Commerce, Non-stoichiometric UO 2±x (U 3+, U 4+, U 5+, O 2- ) Modelled with three sublattices by C. Gueneau et al, J. Nucl. Mater., 419 (2011) This treatment is being expanded to represent irradiated fuel by T.M. Besmann et al, to be published.

Example – Nuclear Fuel Thermochemistry Engineering motivation: – Extend PWR fuel to very high burnup (i.e., ~ 100 GWd/t(U)). Maximize performance and safety. – Experiments are extremely time-consuming (i.e., 10 years in reactor), expensive and dangerous. Simulations may help guide/minimize experiments. Description of problem: – Fuel irradiated in European PWR to 100 GWd/t(U). – Oxidation and compositional measurements performed at ITU. – Numerical simulations predict fuel behaviour (chemistry, isotopic evolution and heat transfer). – Coupled: AMP, Origen-S and Thermochimica. M.H.A. Piro, J. Banfield, K.T. Clarno, S. Simunovic, T.M. Besmann, B.J. Lewis and W.T. Thompson, J. Nucl. Mater., in press.

Example – Nuclear Fuel Thermochemistry Cont… Oxygen partial pressure predictions with Thermochimica are in very good agreement with experimental measurements. Most codes that account for fuel chemistry assume “fresh fuel.” M.H.A. Piro, J. Banfield, K.T. Clarno, S. Simunovic, T.M. Besmann, B.J. Lewis and W.T. Thompson, J. Nucl. Mater., in press.

Example – Nuclear Fuel Thermochemistry Cont… O/M cannot be measured directly. Experimentally inferred values for O/M were derived by ICP-MS, EPMA and assumptions regarding phase equilibria. M.H.A. Piro, J. Banfield, K.T. Clarno, S. Simunovic, T.M. Besmann, B.J. Lewis and W.T. Thompson, J. Nucl. Mater., in press.

Example – Nuclear Fuel Thermochemistry Cont… SEM in high burnup structure [~75 GWd/t(U)] Noble metal HCP “white phase” Figure kindly provided by T. Wiss and V.V. Rondinella (ITU) M.H.A. Piro, J. Banfield, K.T. Clarno, S. Simunovic, T.M. Besmann, B.J. Lewis and W.T. Thompson, J. Nucl. Mater., in press.

Numerical Methods From a mathematical point of view, this is a numerical optimization problem of a non-convex function with linear and non-linear equality and inequality constraints. Also, the active set of constraints change throughout the iteration process. The overall objective is to minimize the integral Gibbs energy of the system subject to the mass balance constraints and Gibbs’ Phase Rule. Numerical methods employed by THERMOCHIMICA are described in the literature (1-4). 1. M.H.A. Piro and S. Simunovic, CALPHAD, 39 (2012) M.H.A. Piro, S. Simunovic, T.M. Besmann, B.J. Lewis and W.T. Thompson, Comp. Mater. Sci., 67 (2013) M.H.A. Piro, T.M. Besmann, S. Simunovic, B.J. Lewis and W.T. Thompson, J. Nucl. Mater., 414 (2011) M.H.A. Piro and B. Sundman, to be published.

Numerical Methods – Local Minimization Minimize the integral Gibbs energy of the system (i.e., 1 st and 2 nd law of thermodynamics): Subject to the following linear equality constraints (i.e., conservation of mass): and inequality constraints (i.e., non-negative mass and Gibbs’ Phase Rule): M.H.A. Piro, S. Simunovic, T.M. Besmann, B.J. Lewis and W.T. Thompson, Comp. Mater. Sci., 67 (2013)

Numerical Methods – Global Minimization At thermodynamic equilibrium, the following linear equality constraints must be satisfied for all stables phases: and the following non-linear inequality constraints must hold true for all other phases in the system (i.e., the system is not metastable. Equivalently, a global minimum has been reached and not a local minima): A modified branch and bound approach has been adopted for the non-linear inequality constraints. This is tested when a local minima has been reached. M.H.A. Piro and B. Sundman, to be published.

Accessing the code The software is maintained on a Subversion (SVN) repository and can be accessed online: – Prerequisites: – BLAS / LAPACK linear algebra libraries – Fortran compiler (gfortran/Intel) Operating system: – Intended for Linux/Mac OS-X

Current and Future plans (Piro) A database conversion tool is under development to convert between various established formats (i.e., TDB, DAT). A thermodynamic model optimization tool is being developed to facilitate model development.

Summary THERMOCHIMICA is an open-source thermodynamic equilibrium solver for integration into multi-physics codes to provide material properties and boundary conditions. THERMOCHIMICA can be used for a multitude of applications, including combustion, metallurgy, geochemistry, nuclear materials and batteries. Please feel free to contact me should you have any