[MAP Logo]

Materials Algorithms Project
Program Library



Program MAP_UTIL_READLEN

  1. Provenance of code.
  2. Purpose of code.
  3. Specification.
  4. Description of subroutine's operation.
  5. References.
  6. Parameter descriptions.
  7. Error indicators.
  8. Accuracy estimate.
  9. Any additional information.
  10. Example of code
  11. Auxiliary subroutines required.
  12. Keywords.
  13. Download.
  14. Links.

Provenance of Source Code

Naomi Chester,
Phase Transformations Group,
Department of Materials Science and Metallurgy,
University of Cambridge,
Cambridge, U.K.

28th November 1995.

Added to MAP: March 1999.
Modified: July 1999.

Top | Next

Purpose

This program produces the input lines required for the MAP_STEEL_DILAT program (commonly known as len3.for) [1] from converted (tsm.out) thermec data and the knowledge of the minimum diliataion time.

Top | Next | Prev

Specification

Language:FORTRAN
Product form:Source code and sample data files;
Compiled program for Solaris 2.5, 2.5.1 and 2.6 O.S. on a Sun Sparc computer.

Complete Program

Top | Next | Prev

Description

This program uses the information in a thermec data file to calculate the change in dilatation value, with respect to the initial dilatation, at any specified times after the specified start time (This should correspond to the start time of the transformation.). An average over 3 data points is used for the dilatation values to compensate for fluctuations in the readings. The name of the thermec data file must be supplied as input data to the program. The times (in seconds), after the start time, at which the calculations are to be made, are read by the program from a separate file, called timestep.

Top | Next | Prev

References

  1. Bhadeshia, H.K.D.H., David, S.A., Vitek, J.M. and Reed, R.W., Materials Science and Technology, 7, (August 1991), 686-698.

Top | Next | Prev

Parameters

Input parameters

THERM - character string
THERM is the inputted name of the thermec data file.

ST - real
ST is the time (seconds) from which the calculations are to take place. This should correspond to the start of the transformation.

TEMP(I) - real array
TEMP(I) is an array of the temperature values in the thermec data file in deg. C.

DIL(I) - real array
DIL(I) is an array of the dilatation values in the thermec data file.

TIME(I) - real array
TIME(I) is an array of the time values, in s, in the thermec data file.

DT(I) - real array
DT(I) is an array of times (seconds), after the start time, at which the dilatation change is to be measured. These are read in from a separate file called timestep.

Output parameters

in.len - file
in.len is a file containing the following values for each of the DT time values.

DDIL - real
DDIL is the dilatation at this time minus the dilatation at the starting time. The dilatations used are averaged over 3 values to compensate for fluctuations in the measurements.

TEMP - real
TEMP is the temperature, in deg. C, of the sample at this time.

IT - real
IT is the actual time, in s, since the starting time.

Top | Next | Prev

Error Indicators

None.

Top | Next | Prev

Accuracy

No information supplied.

Top | Next | Prev

Further Comments

None.

Top | Next | Prev

Example

1. Program text

       N/A - complete program

2. Program data

THERM = thermec.dat (thermec file, too big to put here)
ST = 398.0

3. Program results


file in.len:

dilatation  temp C  time s
 0.0000384  385.0    2.0
 0.0013275  359.0    4.0
 0.0034885  332.0    6.1
 0.0043111  312.0    8.0
 0.0043605  293.0   10.0
 0.0042948  274.0   12.1
 0.0041688  255.0   14.0
 0.0038398  234.0   16.0
 0.0035268  213.0   18.1
 0.0032418  195.0   20.0
 0.0030001  174.0   22.0
 0.0026168  154.0   24.0
 0.0023368  135.0   26.0
 0.0020405  115.0   28.0
 0.0018378   98.0   30.0
 0.0016075   88.0   32.1
 0.0015305   80.0   34.0
 0.0013548   73.0   36.0
 0.0013655   68.0   38.1
 0.0013218   63.0   40.0

Top | Next | Prev

Auxiliary Routines

None.

Top | Next | Prev

Keywords

dilatation, thermec, len3

Top | Next | Prev

Download

Download source code
Download compiled program

Top | Prev


MAP originated from a joint project of the National Physical Laboratory and the University of Cambridge.

MAP Website administration / map@msm.cam.ac.uk

Top | Index | MAP Homepage Valid HTML 3.2!