You are on page 1of 3

Experimenting, Numerical Modeling, and Programming

3.3.6 Computer Working

3.3.6.1 Time-Step
The time-step can either be defined by the user, or calculated by the Euler stability law.
The time-step used in program is (0.05 sec), and the total steps are (12000) steps, that
means the total time of program is (600) seconds.

3.3.6.2 Programming
Using the Fortran Language (FORTRAN POWER STATION 1995) the
program was made to use in this work to apply analytical solutions for each mesh
in the system (mold and cast) to solve equations which are related to the case.
The program deals with each mesh as is it sand or cast? Then with the cast as is it
liquid, solid, or mushy? Then gives each case its specified properties but with
mushy state it calculates the solid fraction and adds the latent heat of
solidification to heat transfer equation with respect to solid fraction. Finally the
program print results at all time steps. Figure (3.9) shows the flow chart of the
program.

34
F

Figure 3.8. Casting sectioned to six layers

35
Star
t
Enter properties of mold and cast

t= t+t

x =x+x
y = y+y
z = z+z

Cast Mushy
Check Check
Calculate
the region the state
solid fraction
, latent heat
Mold and specified
Solid properties

Use specified Use specified Liquid


properties properties

Use specified
properties

Solve heat transfer equation (without latent Solve heat transfer equation (with latent
heat) by F.D.M with explicit heat) by F.D.M with explicit

Print results

No
Complete
Dimensions

Yes

No
Complete
time

Yes

End

Figure 3.9 the flow chart of the program.

36

You might also like