Materials Algorithms Project
Program Library
Program ELONGATION_IRRADIATED_STEEL
- Provenance of code.
- Purpose of code.
- Specification.
- Description of subroutine's operation.
- References.
- Parameter descriptions.
- Error indicators.
- Accuracy estimate.
- Any additional information.
- Example of code
- Auxiliary subroutines required.
- Keywords.
- Download source code.
- Links.
Provenance of Source Code
Stéphane Forsik,
Phase Transformations Group,
Department of Materials Science and Metallurgy,
University of Cambridge,
Cambridge, U.K.
The neural network program was produced by:
David MacKay,
Cavendish Laboratory,
University of Cambridge,
Madingley Road,
Cambridge, CB3 0HE, U.K.
Added to MAP: November 2008
Top | Next
Purpose
This package allows prediction of the elongation of irradiated steels, as a function of the chemical composition, heat treatment and irradiation and test parameters.
Top | Next | Prev
Specification
Language: |
FORTRAN / C |
Product form: |
Source code / Executable files |
Operating Selntem: |
Linux & Windows 95/98/200/XP/Vista |
Top | Next | Prev
Description
ELONGATION_IRRADIATED_STEEL contains a suite of programs which enable the user to estimate the elongation of irradiated steels, as a function of the chemical composition, heat treatment and irradiation and test parameters. It makes use of a neural network program called generate44, which was developed by David MacKay and is part of the bigback5 program. The network was trained using a large database of experimental results [1]. 20 different models are provided, which differ from each other by the number of hidden units and by the value of the seed used when training the network. It was found that a more accurate result could be obtained by averaging the results from all the models [1]. This suite of programs calculates the results of each model and then combines them, by averaging, to produce a committee result and error estimate, as described by MacKay [page 387 of reference 2]. The source code for the neural network program can be downloaded from David MacKay's website; the executable files only are available from MAP. Also provided are FORTRAN programs (as source code) for normalising the input data, averaging the results from the neural network program and unnormalising the final output file, along with other files necessary for running the program.
Programs are available which run on a Linux, and on a PC under Windows 95/98/2000/XP. A set of program and data files are provided for the model, which calculate the elongation of irradiated steels in NN. The files for unix and Linux are included in a directory called NN. This directory contains the following files and subdirectories:
- README
- A text file containing step-by-step instructions for running the program, including a list of input variables.
- MINMAX
- A text file containing the minimum and maximum limits of each input and output variable. This file is used to normalise and unnormalise the input and output data.
- test.dat
- An input text file containing the input variables used for predictions.
- model.gen
- This is a unix shell file containing the command steps required to run the module. It can be executed by typing csh model.gen at the command prompt. This shell file compiles and runs all the programs necessary for normalising the input data, executing the network for each model, unnormalising the output data and combining the results of each model to produce the final committee result.
- RET_AUST.exe
- This executable program for the PC correspond to the unix command file model.gen.
- no_of_lines.ex
- This executable file reads the information of number of data from keyboard input and creates no_of_rows.dat file, this file is used by spec.ex/spec.exe to create spec.t1.
- spec.ex/spec.exe
- This executable file reads the information in no_of_rows.dat and creates a file called spec.t1.
- spec.t1
- A dynamic file, created by spec.ex/spec.exe, which contains information about the module and the number of data items being supplied. It is read by the program generate44/generate55.exe.
- norm_test.in
- This is a text file which contains the normalised input variables. It is generated by the program normtest.for in subdirectory s.
- generate44 / generate55
- This is the executable file for the neural network program. generate44 runs on unix selntems and generate55 on the PC. It reads the normalised input data file, norm_test.in, and uses the weight files in subdirectory c. The results are written to the temporary output file _out.
- _ot, _out, _res, _sen
- These files are created by generate44 and can be deleted.
- Result
- Contains the final un-normalised committee results for the predicted percentage retained austenite.
- SUBDIRECTORY s
- no_of_lines.c
- The source code for program no_of_lines.ex.
- spec.c
- The source code for program spec.ex.
- normtest.for
- Program to normalise the data in test.dat and produce the normalised input file norm_test.in. It makes use of information read in from no_of_rows.dat and committee.dat.
- gencom.for
- This program uses the information in committee.dat and combines the predictions from the individual models, in subdirectory outprdt, to obtain an averaged value (committee prediction). The output (in normalised form) is written to com.dat.
- treatout.for
- Program to un-normalise the committee results in com.dat and write the output predictions to unnorm_com. This file is then renamed Result.
- committee.dat
- A text file containing the number of models to be used to form the committee result and the number of input variables. It is read by gencom.for, normtest.for and treatout.for.
- SUBDIRECTORY c
- _w*f
- The weights files for the different models.
- *.lu
- Files containing information for calculating the size of the error bars for the different models.
- _c*
- Files containing information about the perceived significance value [1] for each model.
- _R*
- Files containing values for the noise, test error and log predictive error [1] for each model.
- SUBDIRECTORY d
- outran.x
- A normalised output file which was created during the building of the model. It is accessed by generate44 via spec.t1.
- SUBDIRECTORY outprdt
- out1, out2 etc.
- The normalised output files for each model.
- com.dat
- The normalised output file containing the committee results. It is generated by gencom.for.
Detailed instructions on the use of the program are given in the README files. Further information about this suite of programs can be obtained from reference 1.
Top | Next | Prev
References
- S. Forsik and H.K.D.H. Bhadeshia. Elongation of irradiated steels, Materials and Manufacturing Processes, 24 (2009) 130-137.
- D.J.C. MacKay, 1997, Mathematical Modelling of Weld Phenomena 3, eds. H. Cerjak & H.K.D.H. Bhadeshia, Inst. of Materials, London, pp 359.
- D.J.C MacKay's website at https://wol.inference.phy.cam.ac.uk/mackay/README.html#Source_code
Top | Next | Prev
Parameters
Input parameters
The input variables for the model are listed in the README file. The maximum and minimum values for each variable are given in the file MINMAX.
Output parameters
These program gives the elongation of irradiated steels. The corresponding output files is called Result.dat or Result.
Top | Next | Prev
Error Indicators
None.
Top | Next | Prev
Accuracy
A full calculation of the error bars is presented in reference 1.
Top | Next | Prev
Further Comments
None.
Top | Next | Prev
Example
1. Program text
Complete program.
2. Program data
See sample data file: test.dat.
3. Program results
See sample output file: Result or Result.dat.
Top | Next | Prev
Auxiliary Routines
None
Top | Next | Prev
Keywords
neural network, elongation, irradiation,
Top | Next | Prev
Download
- Linux:
- Download ELONGATION_IRRADIATED_STEEL (gzip tar file)
- PC Software:
- Download ELONGATION_IRRADIATED_STEEL (zip file)
- Top | Prev
MAP originated from a joint project of the National Physical Laboratory and the University of Cambridge.
Top | Index | MAP Homepage 