How to create tdb files Alan Dinsdale, Sandy Khvan “Thermochemistry of Materials” SRC NUST, MISiS, Moscow, Russia.

Slides:



Advertisements
Similar presentations
Results Table of contents Table of contents Table of contents Section 1 Table of contentsTable of contents OpeningThe Results module the.
Advertisements

Spontaneous Processes
Computational Thermodynamics 1. Outline Theoretical background: thermodynamics of substitional solutions Introduction to thermodynamic database: element,
Chapter 6. 2 Objectives You should be able to describe: Function and Parameter Declarations Returning a Single Value Pass by Reference Variable Scope.
Introduction to C Programming
Group practice in problem design and problem solving
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
Computer Science 1000 Spreadsheets II Permission to redistribute these slides is strictly prohibited without permission.
Isotopes Mass Defect E = mc2
MGI: Putting an End to Alloy Oops:* NEED DATA C. E. Campbell, U.R. Kattner, E. Lass, Metallurgy Division, NIST And Laura Bartolo, Kent State University.
Matter ~anything that takes up space and has mass ~it normally comes in 3 phases Solid Liquid Gas Definite shape, Definite volume lowest energy No definite.
IS 320 Notes for Chapter 8. ClassX Problems: Low-Tech Fix Use last year's videos on ClassX  Select "Semesters" tab  Select IS 320  Select the week/lecture.
Fortran 1- Basics Chapters 1-2 in your Fortran book.
Lecture 6 Data Flow Modeling
Java Language and SW Dev’t
The Java Programming Language
1 University of Palestine Topics In CIS ITBS 3202 Ms. Eman Alajrami 2 nd Semester
USING FREE GEOCHEMICAL SOFTWARE FROM THE U.S. GEOLOGICAL SURVEY DEVIN CASTENDYK STATE UNIVERSITY OF NEW YORK, ONEONTA
Thermodynamic data A tutorial course Session 4: Modelling of data for solutions (part 4) Alan Dinsdale “Thermochemistry of Materials” SRC.
View Data The View Data module Use View Data to examine stored compound data (H, S, C p (T), G, etc.) in Compound type databases and list.
Thermodynamic data A tutorial course Session 5: More complicated solution phases Alan Dinsdale “Thermochemistry of Materials” SRC.
New Perspectives on XML, 2nd Edition
Phase diagram calculation based on cluster expansion and Monte Carlo methods Wei LI 05/07/2007.
Lesson 2 Topic - Reading in data Chapter 2 (Little SAS Book)
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Thermodynamic data A tutorial course Session 1: Introduction and unary data (part 1) Alan Dinsdale “Thermochemistry of Materials” SRC.
Sept. 18, 2003CS WPI1 CS 509 Design of Software Systems Lecture #3 Thursday, Sept. 18, 2003.
Oxidation and Reduction Lecture 9. Law of Mass Action Important to remember our equation describes the equilibrium condition. At non-equilibrium conditions.
Managing the Impacts of Change on Archiving Research Data A Presentation for “International Workshop on Strategies for Preservation of and Open Access.
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
Software Documentation Section 5.5 ALBING’s Section JIA’s Appendix B JIA’s.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
An Introduction to XML Sandeep Bhattaram
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
Chemistry1: The Science of Matter Matter takes up space and has mass Mass is the amount of matter Properties of matter describe the characteristics and.
Outline: THERMOCALC program – various versions (other programes: MTDATA, FACTSAGE, PANDAT..) Database – pure metals, metalic solutions, intermetalics Macros.
Slide 1 CS 310 Ch 6: Software Requirements Requirements engineering: establishing the services that the customer requires from a system and the constraints.
5.0 View Data 1. The View Data program. 5.0 View Data 2.View Data of a Compound Database Pressure and Energy units Compound Database Possibility to add.
>> x = [ ]; y = 2*x y = Arrays x and y are one dimensional arrays called vectors. In MATLAB all variables are arrays. They allow functions.
Today’s agenda: Electric Current. You must know the definition of current, and be able to use it in solving problems. Current Density. You must understand.
(Winter 2016) Instructor: Craig Duckett Lecture 13: Thursday, February 18 th Mere Mortals: Chap. 9 Summary, Team Work 1.
Thermodynamic data A tutorial course Session 2: unary data (part 2) Alan Dinsdale “Thermochemistry of Materials” SRC.
Restrictions Objectives of the Lecture : To consider the algebraic Restrict operator; To consider the Restrict operator and its comparators in SQL.
 The amount of matter in the object  How much an object weighs.
Extra Recitations Wednesday 19:40-22:30 FENS L055 (tomorrow!) Friday 13:40-16:30 FENS L063 Friday 17: :30 FENS L045 Friday 19:40-22:30 FENS G032.
Results Table of contents Table of contents Table of contents Section 1 Table of contentsTable of contents Opening the Results module.
Midterm Review Tami Meredith. Primitive Data Types byte, short, int, long Values without a decimal point,..., -1, 0, 1, 2,... float, double Values with.
2. C FUNDAMENTALS. Example: Printing a Message /* Illustrates comments, strings, and the printf function */ #include int main(void) { printf("To C, or.
Chapter 19 Chemical Thermodynamics Entropy, Enthalpy, and Free Energy.
Energy Changes in Chemical Reactions -- Chapter First Law of Thermodynamics (Conservation of energy)  E = q + w where, q = heat absorbed by system.
OPERATORS IN C CHAPTER 3. Expressions can be built up from literals, variables and operators. The operators define how the variables and literals in the.
1 Lecture 8 Shell Programming – Control Constructs COP 3353 Introduction to UNIX.
Challenges with simultaneous equilibrium Speciation programs (MINEQL)
(Winter 2017) Instructor: Craig Duckett
1. Initiating the Solution Program
CS170 – Week 1 Lecture 3: Foundation Ismail abumuhfouz.
View Data 1. The View Data program.
Objectives Importance of Requirement Engineering
Programming in COBOL.
IDEF1X Standard IDEF1X (Integrated Definition 1, Extended) was announced as a national standard in 1993 It defines entities, relationships, and attributes.
Variables In programming, we often need to have places to store data. These receptacles are called variables. They are called that because they can change.
Phase diagrams by thermodynamic calculations
Entity Relationship Diagrams
Chemical reactions Chemical reactions involve the formation or breaking of chemical bonds Atoms shift from one molecule to another without any change in.
Introduction to the Phase Diagrams MME 293: Lecture 05
Unit 1-2 Test Guide Matter Review Density
Presentation transcript:

How to create tdb files Alan Dinsdale, Sandy Khvan “Thermochemistry of Materials” SRC NUST, MISiS, Moscow, Russia

What are tdb files ? TDB files contain thermodynamic data necessary for calculating phase diagrams They can contain data for a single or multiple systems Generally they are used in conjunction with ThermoCalc although other software may be able to read them (with some restrictions)

General comments Always try to document your tdb files – Date – Author – Source of the data – Uncertainties about parameters or choice of models Remember that you may want to look at tdb files you created 5 years ago, or someone else may want to use them

Resources ThermoCalc User Guide has a very comprehensive description Other tdb files Unary.tdb has data for the elements

Structure The tdb format is very flexible – Can be very confusing and difficult to understand – ThermoCalc will assume missing parameters are zero – Length of lines limited to 80 characters Good practice: – Keep data for a phase or a system together – Do include parameters which have a zero value – Avoid default values for minimum and maximum temperatures

$ Comments $ Use this area to indicate where the data come from $ Elements used ELEMENT AG FCC_A E E E+01 ! $ Species if your data are expressed in non elemental entities SPECIES AL2O3 AL2O3 ! $ Phases – the number of sublattices PHASE HALITE % ! $ Constituents – which elements or species are on which sublattices PHASE FCC_A1 ( ! CONSTITUENT FCC_A1 : AG,CU,GE : C,VA : ! $ Functions – useful but not strictly necessary FUNCTION GHSERGE *T *T*LN(T) E-3*T** E-6*T** *T**(-1); 900 Y *T *T*LN(T) E-3*T**2; Y *T *T*LN(T) E26*T**(-9); 3200 N ! $ Data PARAMETER G(BCC_A2,FE:VA;0) GHSERFE; 6000 N ! PARAMETER L(LIQUID,AG,MG;0) *T; 3000 N !

Comments Comment lines begin with $ Use them ! Best to start non comment lines with a space

Elements Need to include these lines if you want to do mass based calculations ELEMENT /- ELECTRON_GAS E E E+00 ! ELEMENT VA VACUUM E E E+00 ! ELEMENT AG FCC_A E E E+01 ! ELEMENT AL FCC_A E E E+01 ! ELEMENT AM DHCP E E E+00 ! ELEMENT AS RHOMBOHEDRAL_A E E E+00 ! ELEMENT AU FCC_A E E E+01 ! ELEMENT B BETA_RHOMBO_B E E E+00 ! Standard Element Reference Phase Relative Atomic Mass (Atomic Weight) H 298 -H 0 S 298 You can also copy the relevant lines from the unary database Most statements are terminated with !

Species You need to identify SPECIES if your models involve non-elemental constitutents eg CaO, SiO2, O2, SO2, H2 SPECIES AL2O3 AL2O3 ! SPECIES Silica SI1O2 ! SPECIES FE+2 FE/+2 ! SPECIES SB-3 SB/-3 ! Species nameFormula in terms of the defined elements. Note /+ and /- for charge

Phases These lines define which phases you want to use, describe the number of sublattices and how many sites there are on each sublattice PHASE BCT_A5 % 1 1 ! PHASE GAS % 1 1 ! PHASE HALITE % ! PHASE SIGMA % ! Phase name Special set of characters Number of sublattices Number of sites on each sublattice

Type definition Extra information about the phase – Magnetic information – Chemical ordering – Makes use of this special symbol in PHASE definition PHASE BCC_A2 B ! PHASE FCC_A1 A ! PHASE FCC_L12 AY ! TYPE_DEF C GES COMP_SETS 2,,,,,,,, ! TYPE_DEF A GES MAGNETIC , ! TYPE_DEF Y GES AM_PH_DES FCC_L12 DISORD FCC_A1,,, ! TYPE_DEF B GES MAGNETIC , !

Constituents Indicates which species go on which sublattices PHASE FCC_A1 ( ! CONSTITUENT FCC_A1 : AG,CU,GE : C,VA : ! PHASE SIGMA % ! CONSTITUENT SIGMA : AL,CO,FE : MO,TI: AL,CO,FE,MO,TI : !

Functions Can be used to – refer to standard data eg for the elements GHSERFE, GLIQGE or – Data which you might want to manipulate The format is: FUNCTION GHSERGE *T *T*LN(T) E-3*T** E-6*T** *T**(-1); Y *T *T*LN(T) E-3*T**2; Y *T *T*LN(T) E26*T**(-9); N ! Function name Upper temperature limit, yes there is another range Upper temperature limit, no more ranges Lower temperature limit ; ends each range of data

Syntax of data lines is very simple Negative powers of T within brackets eg T**(-9) LOG and LN are the same Functions can call other functions

Parameters Similar to functions Used for Gibbs energy (G), Interactions (G or L), Curie temperature (TC) and the magnetic moment (BMAGN or BM) FUNCTION GHSERFE *T *T*LN(T) E-3*T** E-6*T** *T**(-1); 1811 Y *T-46*T*LN(T) E28*T**(-9); N ! PARAMETER G(BCC_A2,FE:VA;0) GHSERFE; 6000 N ! PARAMETER TC(BCC_A2,FE:VA;0) ; 6000 N ! PARAMETER BM(BCC_A2,FE:VA;0) ; 6000 N ! PARAMETER G(SIGMA,FE:CR:CR;0) *GFCCFE+22*GHSERCR *T; 6000 N !

Interactions PARAMETER L(LIQUID,AG,MG;0) *T; 3000 N ! PARAMETER L(LIQUID,AG,MG;1) *T; 3000 N ! PARAMETER L(LIQUID,AG,MG;2) *T; 3000 N ! PARAMETER L(LIQUID,AG,MG;3) *T; 3000 N ! Best if these are in alphabetical order

Phase with sublattices The parameter description used a colon to separate the sublattices – PARAMETER G(BCC_A2,FE:VA;0) GHSERFE; 6000 N ! – PARAMETER L(AL8MN5_D810,SI:MN:AL,MN;0) ; 6000 N !