You are on page 1of 12

Identification of the heat transfer coefficient

in the two-dimensional model of binary


alloy solidification

Edyta Hetmaniok, Jordan Hristov,


Damian Sota & Adam Zielonka

Heat and Mass Transfer


Wrme- und Stoffbertragung

ISSN 0947-7411
Volume 53
Number 5

Heat Mass Transfer (2017) 53:1657-1666


DOI 10.1007/s00231-016-1923-1

1 23
Your article is protected by copyright and
all rights are held exclusively by Springer-
Verlag Berlin Heidelberg. This e-offprint is
for personal use only and shall not be self-
archived in electronic repositories. If you wish
to self-archive your article, please use the
accepted manuscript version for posting on
your own website. You may further deposit
the accepted manuscript version in any
repository, provided it is only made publicly
available 12 months after official publication
or later and provided acknowledgement is
given to the original source of publication
and a link is inserted to the published article
on Springer's website. The link must be
accompanied by the following text: "The final
publication is available at link.springer.com.

1 23
Author's personal copy
Heat Mass Transfer (2017) 53:16571666
DOI 10.1007/s00231-016-1923-1

ORIGINAL

Identification ofthe heat transfer coefficient inthe


twodimensional model ofbinary alloy solidification
EdytaHetmaniok1 JordanHristov2 DamianSota1 AdamZielonka1

Received: 7 November 2015 / Accepted: 4 October 2016 / Published online: 14 October 2016
Springer-Verlag Berlin Heidelberg 2016

Abstract The paper presents the procedure for solving the 1Introduction
inverse problem for the binary alloy solidification in a two-
dimensional space. This is a continuation of some previous In technical modeling many identification, control or
works of the authors investigating a similar problem but in design problems take the form of the inverse problems
the one-dimensional domain. Goal of the problem consists characterized by the incomplete conditions defining them
in identification of the heat transfer coefficient on boundary [13]. From engineering point of view the inverse problems
of the region and in reconstruction of the temperature dis- are of great importance since they give possibilities to con-
tribution inside the considered region in case when the tem- trol various processes. In this paper we concentrate on the
perature measurements in selected points of the alloy are inverse problem connected with the process of binary alloy
known. Mathematical model of the problem is based on the solidification [48].
heat conduction equation with the substitute thermal capac- The process of solidification can proceed in the constant
ity and with the liquidus and solidus temperatures varying temperature or in the temperature interval. If the solidifi-
in dependance on the concentration of the alloy component. cation runs in the constant temperature, then we consider
For describing this concentration the Scheil model is used. the so called Stefan problem or the problem of solidifica-
Investigated procedure involves also the parallelized Ant tion with zero interval of solidification temperatures. In the
Colony Optimization algorithm applied for minimizing a Stefan problem the liquid phase is sharply separated from
functional expressing the error of approximate solution. the solidified phase. Both phases are in contact by creating
the solidification surface. Solidification of alloys proceeds
in the so called solidification temperature intervals. In this
case there is no sharp separation between the liquid phase
and solid phase. Both phases are separated by the two-
phase zone, called the mushy zone, in which the liquid and
* Edyta Hetmaniok solidified phases coexist. In a single component solidifica-
edyta.hetmaniok@polsl.pl tion the mushy zone can also appear if the non-equilibrium
Jordan Hristov conditions occur at the interface. Width of the two-phase
jordan.hristov@mail.bg zone depends on the chemical composition of the solidified
Damian Sota alloy and on the solidification velocity. Existence of the
damian.slota@polsl.pl two-phase zone influences certainly the microstructure of
Adam Zielonka the solidified metal.
adam.zielonka@polsl.pl Solidification of the alloys is also influenced by the pro-
1
Institute ofMathematics, Silesian University ofTechnology,
cess of the alloy components segregation revealed for exam-
Kaszubska 23, 44100Gliwice, Poland ple in the dependance between the concentration of the alloy
2
Department ofChemical Engineering, University
component and the values of liquidus and solidus tempera-
ofChemical Technology andMetallurgy, 8 Kliment Ohridsky tures. There are developed the following mathematical mod-
blvd, Sofia1756, Bulgaria els, the most often used for describing the concentration: the

13
Author's personal copy

1658 Heat Mass Transfer (2017) 53:16571666

model based on the lever arm rule and the Scheil model. In optimization algorithm belonging to the group of swarm
the first model the immediate equalization of chemical com- intelligence algorithms inspired by the observations of
position of the alloy in the liquid phase and solid phase is creatures living in nature. The ACO algorithm imitates the
assumed [911], whereas the second one is based on the fact behavior of ants looking for the food around the ant-hill
that diffusion coefficient in the solid phase is significantly and communicating between the swarm members with the
lower than in the liquid phase. This leads to the assumption aid of chemical substance left on the traversed paths [25
that the diffusion in the solid phase does not occur [9, 12 28]. ACO algorithm has found many applications in solv-
15]. In this paper for describing the concentration we apply ing a number of optimisation tasks because of its simplicity
the Scheil model, whereas in paper [16] the similar prob- and relatively short time of working.
lem was solved with the aid of the lever arm model. Thus, The second essential method, the used approach is
the current paper is a discussion with the results obtained in based on, is the generalized alternating phase truncation
paper [16] and a trial of answering the question whether any method dedicated for determining the approximate values
of these two models can be judged as a better one for solv- of temperature. This method serves for solving the multi-
ing the problem of considered kind. phase direct heat conduction problems and its idea lies in
Mathematical model used for describing the solidifica- the proper transformation of multi-phase domain such that
tion in temperature interval is based on the heat conduc- each step of the procedure requires few solutions of one-
tion equation with the source element added, in which the phase direct problems - so many as many phases we con-
latent heat of fusion and the volume contribution of solid sider [2932].
phase are included. By assuming the function describing
the solid mass fraction in some special form, we transform
the heat conduction equation into the equation with the so 2Twodimensional problem formulation
called substitute thermal capacity and with the liquidus and
solidus temperatures varying in dependance on the concen- Let us consider the solidifying material occupying region
tration of alloy component [1719]. Such transformed dif- = [0, b] [0, d] and varying in time. Simplified version
ferential equation defines the heat conduction in the entire of this region for the selected moment of time t is shown in
domain (in solid phase, in two-phase zone (mushy zone) Fig.1. In this figure two subregions taken by the liquid and
and in liquid phase). solid phase, respectively, are separated by the intermediate
Aim of the paper is to solve the inverse problem of two-phase zone, that is the mushy zone.
binary alloy solidification consisted in identification of the According to the figure, boundary of region
heat transfer coefficient occurring in the boundary condi- = [0, t ] is divided into the following parts
tion defined on one of the boundaries and in reconstruction 0 = {(x, y, 0); x [0, b], y [0, d]},
of the temperature distribution in the entire two-dimen-
1 = (0, y, t); y [0, d], t [0, t ] ,
 
sional domain. Additional information, needed to solve
2 = (x, 0, t); x [0, b], t [0, t ] ,
 
such task, in our case is given by the measurements of tem- (1)
perature read in selected points of the domain. The current 3 = (b, y, t); y [0, d], t [0, t ] ,
 
paper is a continuation of research undertaken in papers
4 = (x, d, t); x [0, b], t [0, t ] .
 
[2022] where the similar problem was solved, but in one
dimensional domain. Transformation of the discussed In region the distribution of temperature, described by
inverse problem to the two-dimensional space significantly means of function T, is modeled with the aid of heat con-
increased the computational complexity of the proce- duction equation [1719, 29]:
dure which resulted in a great extension of the computing
T (x, y, t) fs (x, y, t)
time. To execute the calculations in a reasonable time, we c =  2 T (x, y, t), +L (2)
decided to parallelize the solving procedure. Similarly as in t t
the previous papers made by the authors (see for example where c, and  are the specific heat, mass density and
[2024]), the essential part of the procedure is based on the thermal conductivity coefficient, respectively, L denotes
artificial intelligence optimization algorithm used for mini- the latent heat of solidification, fs describes the volumet-
mizing a functional expressing the differences between the ric solid state fraction, T is the temperature, t means the
calculated and measured values of temperature. Therefore time and finally x and y refer to the spatial coordinates. The
we needed to choose an algorithm giving the possibility to volumetric solid state fraction depends on the temperature,
parallelize the computations and we selected the Ant Col- thus we present it in the form
ony Optimization algorithm, whereas, for example in [20
fs fs T
22], the Artificial Bee Colony algorithm was used. The Ant = . (3)
Colony Optimisation (ACO) algorithm is the non-classical t T t

13
Author's personal copy
Heat Mass Transfer (2017) 53:16571666 1659

y Finally, on boundaries 3 and 4 condition of the third kind


has to be fulfilled
4
d
 T (x, y, t) = (x, y, t) (T (x, y, t) T ), (9)
n
where denotes the heat transfer coefficient and T
solid phase expresses the ambient temperature.
The substitute thermal capacity is variable in depend-
ence on temperature and is defined as

mushy zone c T > TL (ZL ),



1 3 l

L
C = cmz + T [TS (ZL ), TL (ZL )],
TL (ZL ) TS (ZL )
solidus


cs T < TS (ZL ), (10)
where cl, cmz and cs denote, respectively, the specific heat
of liquid phase, mushy zone and solid phase(value cmz is
calculated as the arithmetic average of values cl and cs), L
liquidus
describes the latent heat of fusion and finally TL (ZL ) and
TS (ZL ) refer to the liquidus and solidus temperatures vary-
liquid phase ing while the concentration of the alloy component ZL is
changing. Definition (10) has been obtained by assuming
the linear dependence of the solid state fraction on the tem-
x perature in the mushy zone [17, 18, 29]. In consequence,
2 b the following form of function fs can be given
TL T
Fig.1Domain of the problem for the selected moment of time fs (T ) = for T [TS (ZL ), TL (ZL )] (11)
t (i = i {t })
TL T S
which leads to (10). It should be noticed that the above
assumption about the dependance of the solid state fraction
Substituting relation (3) to equation(2), after some trans-
only on temperature is valid for low concentration of the
formations we get
dissolved species.
Values of density and the thermal conductivity coef-
 
fs T (x, y, t)
cL =  2 T (x, y, t). (4)
T t ficient in equation(6) vary as well in dependence on
temperature
Defining the so called substitute thermal capacity
l T > TL (ZL ),
fs
C =cL , (5) = mz T [TS (ZL ), TL (ZL )], (12)
T
s T < TS (ZL ),
equation (4) can be written in the form
l T > TL (ZL ),

C T (x, y, t) =  2 T (x, y, t). (6)  = mz T [TS (ZL ), TL (ZL )], (13)
t
s T < TS (ZL ).
The above equation must be completed by the initial
In the above equations the values of density and the thermal
and boundary conditions defined on the respective parts of
conductivity coefficient for the mushy zone are calculated
boundary described by sets (1). Thus, on boundary 0 the
as the arithmetic averages of the values of these parameters
following initial condition must be satisfied
for the liquid and solid phases.
T (x, y, 0) = T0 , (7) While creating the model of considered process we take
into account one more phenomenon affecting the solidifi-
where T0 denotes the initial temperature.
cation, that is the macrosegregation referring to the varia-
On boundaries 1 and 2 the homogeneous condition of
tions in composition of the cast. For describing this phe-
the second kind is defined
nomenon we decided to use the Scheil model [9, 1215].

(8) In this approach, with respect to the fact that the diffusion
 T (x, y, t) = 0.
n coefficient in the solid phase is significantly lower than in

13
Author's personal copy

1660 Heat Mass Transfer (2017) 53:16571666

the liquid phase, we assume that Ds = 0. It means that the 3Solving procedure
diffusion in the solid phase does not occur. From the other
side, the convection in the liquid phase causes the equaliza- Investigated problem is the inverse problem, therefore for
tion of the alloy fraction concentration in the liquid phase, solving it we need some additional information. In the dis-
thus, in this connection, we assume that Dl . cussed case this information is given in the form of temper-
Let us discretize interval [0, t ] with nodes ti, ature measurements in selected points of the domain, that is
i = 0, 1, . . . , p , and assume that the values of concentra- in the form of values
tion in moments ti, for i = 1, 2, . . . , p, are known. By
applying the mass balance of the alloy component in region
T (xi , yi , tj ) = Uij , i = 1, . . . , N1 , j = 1, . . . , N2 , (19)
of the cast for the moment of time tp+1, we receive equation where N1 denotes the number of sensors and N2 means the
number of measurements taken from each sensor. On the
p+1
 basis of these data we intend to identify the values of heat
m0 Z0 = mL (tp+1 ) ZL (tp+1 ) + mS (ti ) ZS (ti ), (14)
transfer coefficient on boundaries 3 and 4 as well as the
i=1
distribution of temperature in region .
where m0 means the mass of alloy, Z0 denotes the ini- If we assume the fixed form of function , then prob-
tial concentration of the alloy component, ZL (tp+1 ) and lem(6)(9) can be considered as the direct solidification
ZS (tp+1 ) are the concentrations of the alloy in liquid phase problem. By solving the direct problem we may determine
and solid phase in moment tp+1, respectively, whereas the values of temperature Tij = T (xi , yi , tj ) corresponding
mL (tp+1 ) and mS (tp+1 ) describe mass of the alloy in liquid with the assumed form of function . By using the calcu-
state and solid state in moment tp+1. By introducing the lated values of temperature Tij and the given values Uij we
partition coefficient k = ZZLS (t)
(t), we get formulate the functional
p N1 
N2
m0 Z0 i=1 mS (ti ) ZS (ti )   2
ZL (tp+1 ) = . (15) J() = Tij Uij (20)
k mS (tp+1 ) + mL (tp+1 )
i=1 j=1

Considered region of the alloy is divided into the con- expressing the error of approximate solution.
trol volumes Vj based on the area rj, j = 0, . . . , n, result- While solving the inverse tasks, the problem with stabil-
ing from the mesh assumed in the two-dimensional region ity of the solution often occurs. For avoiding this problem
of the problem. If the solid mass fraction in volume Vj in the regularization procedures are frequently used, like for
moment t is denoted by fj (t), then the masses of metal in example the Tikhonov regularization or the regularization by
the solid state and in the liquid state contained in volume Vj means of the sensitivity coefficients. However, in functional
in moment t are represented by relations (20) we do not use any regularization term. It is our inten-
tion since, according to our experiences, in the problems of
mS,j (t) =Vj s fj (t), (16)
considered kind the addition of any regularization techniques
makes the computations longer without any significant
mL,j (t) =Vj l (1 fj (t)). (17)
improvement of the results. Instead, in the investigated case
By using the above relations equation(15) is transformed the ill-posed problem is regularized by reducing the problem
to the form to the determination of a small number of parameters [33].
Perhaps, if we increase the number of determined param-
ZL (tp+1 )
  eters, it may appear necessary to apply some regularization
 
techniques. In future we plan to execute the suitable analysis
p n 
b d l Z0 s i=1 ZS (ti ) j=0 rj fj (ti ) fj (ti1 )
=  ,
k s nj=0 rj fj (tp+1 ) fj (tp ) + l nj=0 rj 1 fj (tp+1 ) in order to investigate this issue more carefully.
      

(18) Presented method of solution is based on two tech-


niques. The first one is needed for solving the direct prob-
where b and d refer to the length and width of two- lem obtained for the assumed form of the sought heat trans-
dimensional region. Values ZS (ti ) of concentration of fer coefficient. Solution of the direct problem is determined
the alloy component in the solid phase in moments ti , for on the way of solving equation(6) accompanied with initial
i = 1, . . . , p, appearing in the above equation, are calcu- condition (7) and boundary conditions (8)(9). Next, by
lated from the relation k = ZZLS (t(tii )) for the known value of k using formula (18) the concentration of alloy component in
and already calculated ZL (ti ). the liquid phase is calculated which enables to determine

13
Author's personal copy
Heat Mass Transfer (2017) 53:16571666 1661

the new values of the liquidus and solidus temperatures TL 1. Updating of the ant locations:
and TS. For solving the direct problem we use the finite-
difference method combined with the generalized alter- random selection of vector x such that
nating phase truncation method. Idea of connecting these
i x j i , j = 1, . . . , n,
two methods lies in introducing the enthalpy in place of
the temperature. Next, the calculations are performed in where i denotes the number of current iteration;
three stages associated with three statesat first the entire creation of the new ant population:
domain is reduced to the liquid phase, next to the mushy
zone and at the end to the solid phase. In this way, each xk = xbest + x , k = 1, 2, . . . , m.
step of calculations consists of three stages, but each one is
reduced to the solution of one-phase direct heat conduction 2. Determination of the best located ant xbest in the cur-
problem. More detailed description of the basic and gener- rent ant population.
alized alternating phase truncation method can be found in 3. Points 1 and 2 are repeated I 2 times.
papers [2932]. 4. Narrowing of the ant dislocations rangeevaporation
The second procedure is needed for minimizing func- of the pheromone trailaccording to relation
tional(20) and is realized with the aid of Ant Colony Opti-
i+1 = 0.1i .
mization (ACO) algorithmthe algorithm of artificial
intelligence imitating the behavior of natural ants. Detailed 5. Points 14 are repeated I times.
description of ACO algorithm can be found in papers [25,
26] and the mathematical foundations of this algorithm, Presented list of steps is designed such that the ants are
together with some results concerning its convergence, forced to gather more and more densely around the best
have been presented in works [27, 28]. solution. The process is terminated after the assumed num-
The Ant Colony Optimization is an heuristic optimiza- ber of iterations and the obtained solution is the best, but the
tion technique based on the collective behavior of simple best obtained in the given run of the algorithm. Every other
individuals composing the self-organized system. The ants execution of the procedure can give slightly different result
are almost or totally blind. Therefore the only chances for which characterises the algorithms of heuristic nature.
communication between the swarm members lie in some Therefore, to avoid the mistake and to ensure the best solu-
chemicals, called pheromones, left on the ground by mov- tion, the procedure based on the heuristic algorithm sup-
ing ants to mark the traversed trail. The bigger number of pose to be repeated some number of times. Another thing,
ants use a trail, the more intense is the pheromone smell which should be mentioned here, is that in our case each
of this trail. Thus, by using this mechanism the swarm of execution of the ACO algorithm requires to solve for many
ants is able to find the best way leading from the ant-hill to times the direct heat conduction problem (which is neces-
the source of food, that is the way which is the shortest and sary to calculate the value of functional[20]). Therefore,
omits the possible obstacles. thanks to the way of generating the new population of ants
Below we present the general description of the proce- such that each new ant is created independently, it is pos-
dure imitating the behavior of ants and serving for minimiz- sible to parallelize the procedure. Since for each found
ing any function J : D R, where D Rn . Let the vectors solution we need to solve the associated direct problem, we
x = (x1 , . . . , xn ) D, dispersed in domain D, be consid- may execute the calculations independently for each tested
ered as the ants and let the value of minimized function, solution which significantly decreases the working time of
denoted by J(x), be interpreted as the distance between ant the procedure.
x and the desired location of the food source (for which
the value of minimized function is minimal). To initialize
the procedure we need to fix the number m of individuals 4Numerical verification
in one population, the number I of iterations and the value
of narrowing parameter (which serves for simulating the The numerical calculations verifying the discussed pro-
evaporation of pheromone trace). Next, we randomly select cedure will be carried out for the following values of
the initial population of ants xk = (x1k , . . . , xnk ), where parameters:
xk D, k = 1, 2, . . . , m, and we determine the best located b = d = 0.08 [m], t = 250 [s], l = 104 [W/(mK)],
ant xbest, that is the ant for which the value of minimized s = 162 [W/(mK)], cl = 1275 [J/(kgK)], cs = 1077
function is the lowest. The main part of the ACO algorithm [J/(kgK)], l = 2498 [kg/m3], s = 2824 [kg/m3],
is composed of the following steps. L = 390000 [J/kg], T = 300 [K] and T0 = 940 [K],

13
Author's personal copy

1662 Heat Mass Transfer (2017) 53:16571666

initial concentration of the alloy component Z0 = 0.02 and 0.1 at the beginning (see Step 4 of the ACO algorithm)
partition coefficient k = 0.125, describing the solidification and with coefficient 0.2 starting from the second iteration.
process defined by Eqs. (6)(9). Dependance of the liqui- We decided to this change for better concentration of the
dus and solidus temperatures TL and TS on the concentra- solutions around the best one. Thanks to this modification
tion of alloy component in the liquid phase ZL is taken in and thanks to the concept of parallelizing the ACO algo-
the following form rithm we were able to achieve the quite reasonable time of
calculations. Each execution of the procedure took about
TL (ZL ) =933.37 259.32 ZL ,
2weeks, since for computations we used the system of
TS (ZL ) =933.37 18076.32 ZL , ordinary PC computers with processor Intel Core i7. Addi-
derived on the basis of [34]. tionally, because of the heuristic nature of the ACO algo-
The unknown element is the value of heat transfer coef- rithm, in each considered case of initial data perturbation
ficient appearing in the formulation of boundary condi- and the number of measurements the procedure was run for
tion(9) defined on boundaries 3 and 4. Thus, goal of the several times to avoid uncertainty of the obtained results.
task is to reconstruct function describing this coefficient For solving the direct problem, with the aid of finite dif-
in the following form ference method combined with the generalized alternating
phase truncation method, we used the discretization grid
1 for t t1 x [0, b] y = d,
of steps t = 0.001, x = b/100 and y = d/100 (by
3 for t (t1 , t2 ] x [0, b] y = d,

the way we have observed that a reasonable change of the


5 for t > t2 x [0, b] y = d,

(x, y, t) = grid density does not influence significantly the obtained
2 for t t1 y [0, d] x = b,
results). For verifying the proposed approach we performed


4 for t (t1 , t2 ] y [0, d] x = b,


a numerical experiment, in which the initial data were not


6 for t > t2 y [0, d] x = b,

the real measurements, only the values simulating them.
where t1 = 70, t2 = 140 [s], on the basis of temperature For generating the values treated as the measurements we
measurements taken from four thermocouples (N1 = 4) solved the direct problem for the known exact values of the
located 4mm away from boundary of the region, in sought i, but for the grid of different density. In this way
points of coordinates (0.0076,0.0068), (0.0076,0.0072), we avoided the inverse crime [35, 36].
(0.0068,0.0076) and (0.0072,0.0076) [m]. From each sen- The certain way for verifying correctness of elaborated
sor we have 250 and 50 values of temperature, since the algorithm is to investigate its behavior in case of the exact
temperatures were measured in two rounds, at every 1 and input data, that is for the data simulating the values of tem-
5s, respectively. perature in the measurement points obtained directly from
The elaborated procedure will be investigated with the solution of the proper direct problem, not perturbed
respect to the precision of the obtain results and their sta- with any random error. Obviously, the errors of results
bility. Therefore we know the exact values of the sought i should be close to zero in that case. In Fig.2 there is pre-
[W/(m2K)]: sented the distribution of objective functional(20) values
changing in dependence on the number of iterations exe-
1 = 800, 3 = 600, 5 = 250,
cuted in the ACO algorithm. As expected, the values visibly
2 = 600, 4 = 400, 6 = 200, converge to zero (a little bit faster than in case of approach
and the computations were executed for exact values of using the lever arm model presented in paper [16]). Conse-
temperature as well as for the values burdened by pseudor- quence of this is the decrease of the mean and maximal rel-
andom 1 and 2% error of normal distribution. ative errors in reconstruction of values i calculated accord-
Functional(20) was minimized with the aid of ACO ing to the formulas
algorithm performed for 18 ants in one population and 6
6
external iterations (within each iteration there is executed 1
mean = i , max = max i ,
36 internal iterationssee the algorithm description). The 6 i{1,...,6}
i=1
initial values of the sought coefficients i , i = 1, . . . , 6,  approx exact 

were selected from the intervals adequate for the expected where i =  i exact i , which is the goal of our task and

i
values, that is from the intervals: [500,2000], [300,2000],
can be observed in the same figure. Presented results are
[300,1500], [100,1000], [100,1000] and [100,600],
obtained for measurements taken at every 1s. Similar col-
respectively. The initial value of the narrowing parameter
lection of results, for the same frequency of measurements
was also adjusted to the expected value of the retrieved
but burdened with 2% error, is displayed in Fig.3. Val-
coefficient i. Thus, for the respective i the value of 0 was
ues of minimized functional, as well as the reconstruction
equal to 800, 900, 600, 500, 500, 300. Next, during the run
errors, significantly decrease, however not to zero which
of the procedure the value of decreased with coefficient

13
Author's personal copy
Heat Mass Transfer (2017) 53:16571666 1663

250 28 500
28 450

objective function
200
28 400
objective function

28 350
150
28 300
100 28 250
28 200
50
28 150
150 160 170 180 190 200 210
0
150 160 170 180 190 200 210 iterations
iterations
100
80

80 max
60
60
max mean

error
40 40
error

mean
20
20
0
80 100 120 140 160 180 200
iterations
0
80 100 120 140 160 180 200
iterations Fig.3Values of the objective function(20) of the ACO algorithm
(upper figure) together with the mean and maximal relative errors in
reconstructing all values i, i = 1, . . . , 6, (lower figure) in dependance
Fig.2Values of the objective function(20) of the ACO algorithm on the iteration number obtained for measurements taken at every 1s
(upper figure) together with the mean and maximal relative errors in and 2% perturbation of input data
reconstructing all values i, i = 1, . . . , 6, (lower figure) in dependance
on the iteration number obtained for measurements taken at every 1s
and exact input data
5 1 noise 0
2 noise 1
3 noise 2
cannot be expected because of the input data perturbation. 4 every 1 s
3
The decrease of objective function value is here a little bit every 5 s
slower than in case considered in [16], but the variation of 3
error

3
errors presented in the current paper is smaller. 2
Comparison of all mean errors of the heat transfer coef- 2
ficient reconstruction, for all cases of perturbations on both
sets of measurements, are shown in Fig.4. It may be sur- 1
1 2
prising that for more frequently taken measurements the 1
reconstruction errors are higher in some cases, but this is 0
exactly the specificity of heuristic algorithm. Some runs of
this algorithm can give sometimes slightly better or slightly Fig.4Mean relative errors in reconstructing all values i,
i = 1, . . . , 6, for various noises of input data and various frequencies
worse results. The most important is that all the mean
of measurements
errors are comparable with input errors, or even lower in
some cases. By comparing the obtained results with the
same collection of results shown in paper [16] one may The last statement is confirmed by the results collected in
observe that for 1% input data error the results presented Table1 presenting the reconstructed values of the heat trans-
in the current paper are better, however for 2% input data fer coefficient, relative percentage errors of these recon-
error the current results are worse. But still, the differences structions and standard deviations of results obtained in all
are not much significant. runnings of the procedure. Most reconstruction errors are

13
Author's personal copy

1664 Heat Mass Transfer (2017) 53:16571666

Table1Results of the calculations for measurements taken at every Table2Relative and absolute errors of the temperature reconstruc-
1 and 5s and for various noises of input data (i reconstructed val- tion in all four points of the sensor locations, for measurements taken
ues of the heat transfer coefficient, irelative percentage error, si at every 1 s and for various noises of input data
standard deviation)
Noise Sensor max (%) mean (%) max [K] mean [K]
Measurements Noise i i i [%] si
0% 1 0.0183 0.0059 0.1404 0.0471
Every 1 s 0% 1 800.70 0.087 0.792 2 0.0128 0.0042 0.0977 0.0328
2 602.86 0.477 0.775 3 0.0069 0.0025 0.0506 0.0193
3 249.12 0.353 0.850 4 0.0127 0.0050 0.0967 0.0390
4 599.48 0.087 0.591 1% 1 0.037 0.0160 0.2863 0.1249
5 397.48 0.631 0.771 2 0.0441 0.0158 0.3313 0.1218
6 201.09 0.545 0.755 3 0.0567 0.0183 0.4262 0.1428
1% 1 802.56 0.319 0.767 4 0.0578 0.0193 0.4410 0.1535
2 598.83 0.195 1.051 2% 1 0.0943 0.0381 0.8256 0.3057
3 250.34 0.134 0.778 2 0.0737 0.0217 0.6478 0.1743
4 597.36 0.440 0.617 3 0.0883 0.0389 0.6423 0.2997
5 404.51 1.126 0.885 4 0.1364 0.0574 0.9988 0.4476
6 198.56 0.722 0.727
2% 1 788.14 1.483 1.815
2 608.87 1.478 5.245
Table3Relative and absolute errors of the temperature reconstruc-
3 235.91 5.636 1.447 tion in all four points of the sensor locations, for measurements taken
4 611.35 1.891 1.948 at every 5s and for various noises of input data
5 392.83 1.792 5.403
Noise Sensor max (%) mean (%) max [K] mean [K]
6 215.23 7.614 1.633
Every 5 s 0% 1 800.38 0.048 0.344 0% 1 0.0071 0.0015 0.0577 0.0122
2 599.62 0.063 1.581 2 0.0073 0.0015 0.0581 0.0122
3 249.90 0.039 1.198 3 0.0066 0.0014 0.0526 0.0113
4 600.12 0.020 0.343 4 0.0057 0.0013 0.0467 0.0108
5 399.98 0.006 1.499 1% 1 0.1584 0.0656 1.1949 0.5055
6 200.06 0.028 1.276 2 0.1274 0.0639 0.9517 0.4889
1% 1 804.07 0.509 2.244 3 0.1262 0.0615 0.9179 0.4785
2 621.79 3.632 8.210 4 0.1363 0.0693 0.9978 0.5478
3 248.46 0.615 3.311 2% 1 0.1406 0.0663 1.1393 0.5245
4 590.74 1.543 2.324 2 0.1417 0.0603 1.0674 0.4722
5 386.70 3.325 7.900 3 0.1562 0.0703 1.1353 0.5459
6 205.52 2.761 2.967 4 0.1662 0.0760 1.2163 0.5935
2% 1 789.66 1.292 0.096
2 625.17 4.196 0.519
3 250.87 0.346 0.366 Relative and absolute errors of the temperature recon-
4 602.20 0.367 0.795 struction, for measurements taken at every 1 s and for vari-
5 378.56 5.360 0.183 ous noises of input data received for all four points of the
6 207.33 3.667 0.354 sensors locations, are compiled in Table2. All the presented
errors, minimal and maximal, relative and absolute as well,
are very small which shows that the reconstruction of tem-
comparable with the input data errors. The worst obtained perature is very good. Next, Table3 presents the similar set
value is about 7.6% and was received for 2% input data of results but for measurements read at every 5s and in this
error and 250 measurements (the worst reconstruction case the reconstruction of temperature is also very good.
error received by using the approach from paper [16] was Moreover, the distributions of relative error of the tempera-
higherit was about 13.4% obtained for 2% input data ture reconstruction in all four control points for the case of
error and 50 measurements). It is quite high value, however measurements read at every 1s and 2% perturbation of input
not enough high to disqualify the procedure. Especially data, displayed in Fig.5, confirm the above statements. Simi-
since the small values of standard deviations of the results larly, very good reconstruction of temperature was obtained
are small which indicates stability of the procedure. by applying the approach described in paper [16].

13
Author's personal copy
Heat Mass Transfer (2017) 53:16571666 1665

Fig.5Errors of the temperature reconstruction in all four points of


the sensors locations, for the case of measurements read at every 1 s
and 2% perturbation of input data 0.08

0.06
5Conclusions

error
0.04
Scope of the paper was the procedure elaborated for solv-
ing the inverse solidification problem for binary alloy in the 0.02
two-dimensional space. Aim of the task was to identify the
values of heat transfer coefficient, representing the bound- 0.00
ary condition on one of the boundaries, together with the 0 50 100 150 200 250
temperature distribution in the entire domain. The task was t s
possible to solve thanks to the measurements of tempera-
ture taken in two periods of time from four thermocouples 0.07
located 4mm away from boundary of the region. The val-
0.06
ues of sought coefficient were selected so that the differ-
ences between the measured and the reconstructed values 0.05
of temperature are as small as possible. For obtaining this 0.04

error
we minimized the appropriate functional representing the 0.03
error of approximate solution.
0.02
From mathematical point of view, for describing the pro-
cess we used the heat conduction equation with the substi- 0.01
tute thermal capacity completed by the appropriate initial 0.00
and boundary conditions, for describing the macrosegre- 0 50 100 150 200 250
gation we applied the Sheil model, for solving the direct t s
problem we involved the finite difference method com-
bined with the generalized phase truncation method and
0.08
for solving the optimisation task we choose the Ant Colony
Optimisation algorithm.
0.06
Numerical verification of the approach showed that the
elaborated procedure can be found as the effective tool for
error

0.04
solving the inverse problem of considered kind. In most of
investigated cases of input data the reconstruction errors
were comparable with the input errors, the worst recon- 0.02
struction error were obtained at the level of about 7.6%
which can be still accepted, especially in view of the sat- 0.00
0 50 100 150 200 250
isfactorily small errors of temperature reconstruction. Also
the standard deviations of the results, received in several t s
executions of the algorithm, were low which indicates the
desired stability of the procedure. Number of iterations and
0.12
number of ants in the ACO algorithm, needed for obtain-
ing the satisfactory results, were not big, 6 and 18, respec- 0.10
tively. The calculations for the respective individuals were 0.08
performed parallel, even so the computations within one
error

execution of the procedure took about 2weeks. The long 0.06


time of working is the only disadvantage of the elaborated 0.04
procedure. In future we plan to shorten this time by test-
0.02
ing the compilation of the heuristic algorithm with some
known analytical algorithm. The analytical algorithms 0.00
0 50 100 150 200 250
work fast, but they need a good starting point, which can be
determined exactly with the aid of an heuristic algorithm. t s

13
Author's personal copy

1666 Heat Mass Transfer (2017) 53:16571666

And finally, the comparison of results delivered in the 15. Hetmaniok E, Sota D (2012) Experimental verification of the
current paper by using the Scheil model with the results procedure of reconstructing the boundary condition in the prob-
lem of binary alloy solidification. Steel Res Int, special edition
obtained by applying the approach based on the lever arm Metal Forming:10431046
model led us to the conclusion that both models are com- 16. Hetmaniok E (2015) Solution of the two-dimensional inverse
paratively good for approximating the macrosegregation problem of the binary alloy solidification by applying the Ant
process taking place in the solidifying alloys. With both Colony Optimization algorithm. Int Commun Heat Mass Transf
67:3945
approaches we obtained similarly good results (maybe with 17. Majchrzak E, Mochnacki B (1995) Application of the BEM in
the tiny advantage of the Scheil model) in solving the prob- the thermal theory of foundry. Eng Anal Bound Elem 16:99121
lem of considered kind. However, to improve the math- 18. Mochnacki B (2011) Numerical modeling of solidification pro-
ematical model of the binary alloy solidification, we plan cess. In: Zhu J (ed) Computational Simulations and Applica-
tions. InTech, Rijeka, pp 513542
for the future to use the diffusion equation to determine the 19. Santos CA, Quaresma JMV, Garcia A (2001) Determination of
concentration of the alloy component. transient interfacial heat transfer coefficients in chill mold cast-
ings. J Alloys Compd 319:174186
AcknowledgmentsThis project has been financed from the funds 20. Hetmaniok E (2016) Artificial bee colony algorithm in the solu-
of the National Science Centre granted on the basis of decision tion of selected inverse problem of the binary alloy solidification.
DEC-2011/03/B/ST8/06004. Thermal Sci. doi:10.2298/TSCI140715136H
The Authors would like to thank the Reviewers for their valuable 21. Hetmaniok E (2015) Numerical procedure for the heat transfer
remarks and comments. coefficient identification in solidification of the binary alloy and
its experimental verification. Numer Heat Transf B 68:93114
22. Hetmaniok E (2016) Inverse problem for the solidification of
binary alloy in the casting mould solved by using the bee optimi-
References zation algorithm. Heat Mass Transf 52:13691379
23. Grzymkowski R, Hetmaniok E, Sota D, Zielonka A (2012)

1. Tikhonov AN (1977) Solutions of Ill-posed problems. Halsted Application of the ant colony optimization algorithm in solving
Press, Washington the inverse Stefan problem. Steel Res Int (special edition Metal
2. Murio DA (1993) The mollification method and the numerical Forming):12871290
solution of ill-posed problems. Wiley, New York 24. Hetmaniok E, Sota D, Zielonka A (2015) Using the swarm intel-
3. Beck JV, Blackwell B, St. Clair CR (1985) Inverse heat conduc- ligence algorithms in solution of the two-dimensional inverse
tion, Ill-posed problems. Wiley- Interscience, New York Stefan problem. Comput Math Appl 69:347361
4. Zabaras N, Ruan Y, Richmond O (1992) On the design of 25. Dorigo M, Sttzle T (2004) Ant colony optimization. MIT Press,
two-dimensional Stefan processes with desired freezing front Cambridge
motions. Numer Heat Transf B 21:307 26. Toksari MD (2006) Ant colony optimization for finding the

5. Ang DD, Pham Ngoc Dinh A, Thanh DN (1996) An inverse Ste- global minimum. Appl Math Comput 176:308316
fan problem: idenification of boundary value. J Comput Appl 27. Dorigo M, Blumb Ch (2005) Ant colony optimization theory: a
Math 66:7584 survey. Theor Comput Sci 344:243278
6. Zabaras N, Kang S (1994) On the solution of an ill-posed inverse 28. Duan H (2011) Ant colony optimization: principle, convergence
design solidification problem using minimization techniques in and application. Adapt Learn Optim 8:373388
finite and infinite dimensional spaces. Int J Numer Methods Eng 29. Mochnacki B, Suchy JS (1995) Numerical methods in computa-
36:3973 tions of foundry processes. PFTA, Cracow
7. Kang S, Zabaras N (1995) Control of the freezing interface 30. Rogers JCW, Berger AE, Ciment M (1979) The alternating phase
motion in two-dimensional solidification processes using the truncation method for numerical solution of a Stefan problem.
adjoint method. Int J Numer Methods Eng 38:63 SIAM J Numer Anal 16:563587
8. Ren H-S (2007) Application of the heat-balance integral to an 31. Sota D (2008) Solving the inverse Stefan design problem using
inverse Stefan problem. Int J Therm Sci 46:118127 genetic algorithms. Inverse Probl Sci Eng 16:829846
9. Mochnacki B, Majchrzak E, Szopa R (2008) Simulation of heat 32. Sota D (2011) Restoring boundary conditions in the solidifica-
and mass transfer in domain of casting made from binary alloy. tion of pure metals. Comput Struct 89:4854
Arch Foundry Eng 8(4):121126 33. Mera NS, Elliott L, Ingham DB (2004) Numerical solution of a
10. Sota D (2011) Solution of the inverse solidification problems by boundary detection problem using genetic algorithms. Eng Anal
using the genetic algorithms. Silesian University of Technology Bound Elem 28:405411
Press, Gliwice (in Polish) 34. Xu D, Li Q (1991) Numerical method for solution of strongly
11. Hetmaniok E, Sota D (2012) Numerical procedure of solving coupled binary alloy solidification problems. Numer Heat Transf
some inverse problem in solidification of the binary alloy. Com- B 20:181201
put Assisted Meth Eng Sci 19:393402 35. Fadale T, Nenarokomov A, Emery A (1995) Uncertainties in
12. Mochnacki B, Suchy JS, Prazmowski M (2000) Modelling of parameter estimation: the inverse problem. Int J Heat Mass
segregation in the process of AlSi alloy solidification. Soldifica- Transfer 38:511518
tion Metals Alloys 2(44):229234 36. Ryfa A, Biaecki R, Facchini B, Tarchi L (2009) Application
13. Mochnacki B, Suchy JS (2006) Simplified models of macroseg- of the inverse analysis for boundary condition retrieval. Inverse
regation. J Theor Appl Mech 44:367379 Probl Sci Eng 17:829853
14. Sota D (2011) Reconstruction of the boundary condition in the
problem of the binary alloy solidification. Arch Metall Mater
56(2):279285

13

You might also like