[MAP Logo]

Materials Algorithms Project
Program Library



Subroutine MAP_STEEL_TOPOLOGY2

  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 source code.
  14. Links.

Provenance of Source Code

JaeYong Chae
Computational Metallurgy Laboratory,
Graduate Institute of Ferrous Technology (GIFT), POSTECH, Korea

E-mail: exfeel@postech.ac.kr

Rongshan Qin
Computational Metallurgy Laboratory,
Graduate Institute of Ferrous Technology (GIFT), POSTECH, Korea

E-mail: rsqin@postech.ac.kr

Top | Next

Purpose

To generate the non-uniform grain structure and to calculate the change in grain surface area per unit volume and grain edge length per unit volume as a function of various deformations.

Top | Next | Prev

Specification

Language : C++
Product form : Executables and complete source codes


Top | Next | Prev

Description

Non-uniform grain structures are generated in the form of vertex coordinates. The degree of distribution in grain sizes can be regulated at eight different levels. The generated grains are then deformed using one of the five deformation methods. The five deformation types that this program can support are as follows:

  1. Plane strain deformation
  2. Axisymmetric tension
  3. Axisymmetric compression
  4. Simple shear
  5. Any user-inputted deformation which is homogeneous

The degree of distribution and the deformation type are selected in compile level, and then the program runs a corresponding routine. The final to initial values of grain surface area per unit volume and grain edge length per unit volume are calculated and printed out for each case.

The program runs best on Microsoft Visual C++ compiler.
All the files are compressed into a file called

Visual_metal.tar

The file contains the following files:

Random.h, Tetrakaidecahedra.h - Header files for variables

Main.cpp - Main module. Degree of the distribution in grain sizes, deformation type, and other values needed are selected here.

Random.cpp - Module to generate a random value

Tetrakaidecahedra.cpp - Generate, deform and print out all data

*.dat - Output files which contain the calculation results. File names are determined by the deformation type and grain generating degree.

Tetra100.dat - Output file wich contains the vertex coordinates of non-uniform grains

Visualmetal.exe - Executive file

Top | Next | Prev

References

Top | Next | Prev

Parameters

caseNumber - Input variables. Weight in RRVM

deformCase - Input variables. Deformation mode.

All the output parameters are calculated directly and printed out in the following form :

strain, theoryEdge, edgeRatio, 2ndaryEdge, primaryEdge, theorySurface, areaRatio

Top | Next | Prev

Error Indicators

None.

Top | Next | Prev

Accuracy

No information.

Top | Next | Prev

Further Comments

None.

Top | Next | Prev

Example

1. Set caseNumber and deformCase in main.cpp. Case 1 in RRVM and plane strain deformation are selected here.

 int caseNumber= 1;
	int deformCase = 1;
	/*  DeformCase: 
	          1. Plane deformation
	     2. Axisymmetric tension
	     3. Axisymmetric Compression
	     4. Simple shear
	     5. Complex deformation
	*/


2. Program compile

3. Run "VisualMetal.exe"

4. "tetra100.dat" and "plainDeformCase1.dat" are generated

Tetra100.dat
12.5 4 4 3 1200 5 2.5 3.75 0 1.25 2.5 0 2.5 1.25 0 3.75 2.5 0 2.5 0 1.25 1.25 0 2.5 2.5 0 3.75 3.75 0 2.5 0 3.75 
2.5 0 2.5 3.75 0 1.25 2.5 0 2.5 1.25 2.5 3.75 5 1.25 2.5 5 2.5 1.25 5 3.75 2.5 5 2.5 0 6.25 1.25 0 7.5 2.5 0 8.75
3.75 0 7.5 0 3.75 7.5 0 2.5 8.75 0 1.25 7.5 0 2.5 6.25 2.5 3.75 10 1.25 2.5 10 2.5 1.25 10 3.75 2.5 10 2.5 0 11.25
1.25 0 12.5 2.5 0 13.75 3.75 0 12.5 0 3.75 12.5 0 2.5 13.75 0 1.25 12.5 0 2.5 11.25 2.5 3.75 15 1.25 2.5 15 2.5 1.25
15 3.75 2.5 ¡¦
PlainDeformCase1.dat
strain theoryEdge edgeRatio 2ndaryEdge primaryEdge theorySurface areaRatio
0 1 1 582866 264741 1 1
0.800377 1.28174 1.24217 727004 325869 1.29131 1.25315
1.26857 1.73241 1.65835 974892 430739 1.75855 1.68068
1.60075 2.21275 2.11114 1.24504e+006 544380 2.25745 2.14383
1.85842 2.70229 2.57736 1.52339e+006 661202 2.76686 2.61987
2.06895 3.19578 3.0501 1.80571e+006 779569 3.28105 3.10206
2.24694 3.69132 3.52656 2.09032e+006 898826 3.79782 3.58769
2.40113 4.18807 4.0054 2.37636e+006 1.01865e+006 4.31615 4.07546
2.53714 4.68558 4.48586 2.66338e+006 1.13887e+006 4.83549 4.56464
2.6588 5.18362 4.96749 2.9511e+006 1.25938e+006 5.35552 5.05483
2.76885 5.68204 5.44999 3.23934e+006 1.38011e+006 5.87605 5.54576
2.86932 6.18072 5.93316 3.52798e+006 1.50101e+006 6.39696 6.03724
fluct=0 Lvo= 847607 Svo= 508057 V= 701889
0 1 1 585359 264900 1 1
0.800377 1.28174 1.24093 729040 326076 1.29131 1.25307
1.26857 1.73241 1.6561 977031 431081 1.75855 1.68045
1.60075 2.21275 2.108 1.24743e+006 544910 2.25745 2.14352
1.85842 2.70229 2.57339 1.5261e+006 661953 2.76686 2.61953
2.06895 3.19578 3.04535 1.80877e+006 780566 3.28105 3.10171
2.24694 3.69132 3.52107 2.09374e+006 900086 3.79782 3.58736
2.40113 4.18807 3.99919 2.38016e+006 1.02019e+006 4.31615 4.07515
2.53714 4.68558 4.47895 2.66756e+006 1.1407e+006 4.83549 4.56438
2.6588 5.18362 4.95988 2.95568e+006 1.26151e+006 5.35552 5.05462
2.76885 5.68204 5.4417 3.24431e+006 1.38255e+006 5.87605 5.54561
2.86932 6.18072 5.92421 3.53335e+006 1.50376e+006 6.39696 6.03715
fluct=0.5 Lvo= 850260 Svo= 508406 V= 701862


Top | Next | Prev

Auxiliary Routines

No auxiliary routines

Top | Next | Prev

Keywords

topology, metallography, deformation, non-uniform grain, 3d

Top | Next | Prev

Download

Download source code

Top | Prev


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

Top | MAP Homepage