#### Abstract

Modeling the multiagents cooperative systems inspired from biological self-organized systems in the context of swarm model has been under great considerations especially in the field of the cooperation of multi robots. These models are trying to optimize the behavior of artificial multiagent systems by introducing a consensus, which is a mathematical model between the agents as an intelligence property for each member of the swarm set. The application of this novel approach in the modeling of nonintelligent multi agents systems in the field of cohesion and cluster formation of nanoparticles in nanofluids has been investigated in this study. This goal can be obtained by applying the basic swarm model for agents that are more mechanistic by considering their physical properties such as their mass, diameter, as well as the physical properties of the flow. Clustering in nanofluids is one of the major issues in the study of its effects on heat transfer. Study of the cluster formation dynamics in nanofluids using the swarm model can be useful in controlling the size and formation time of the clusters as well as designing appropriate microchannels, which the nanoparticles are plunged into.

#### 1. Introduction

Swarming, as a novel approach in modeling the dynamics of multiagent systems, inspires from the behavior of biological self-organized and decentralized systems that cooperate to do a special task. Decentralization means that the swarm has no central leader or boss and each member does its work with a kind of imitation. First attempts to describe the behavior of such biological systems from the mathematical points of view belong to Breder [1] who developed the motion equation of schools of fish and claimed that the motion of each member is the resultant of a long-range attraction and short-range repulsion components. Gazi and Passino [2, 3] described the stability of swarm systems.

Many efforts have been investigated to introduce the behavior of multiagent systems whose members have mechanical interaction with each other. It means they may collide to one another and exchange some momentum or arrange in special configurations that can be seen in cluster formations from multiphase and granular flows to nanofluids. A particle dynamic description of solid particles in multiphase flows is one of the aspects of multiagent mechanical systems. Therefore, many attempts were dedicated to describe the behavior of particles in multiphase flows (see Hase [4], Li and Kuipers [5]).

Dorigo et al. [6] introduced an optimization method based on the dynamics of the swarm of ant colonies. The essence of the swarm model is to introduce a consensus between the agents in the form of the summation of attraction and repulsion components between the agents. There have been some efforts to introduce the interactions between the particles as an algebraic summation of the attraction and repulsion coefficients. Sadus [7] proposed an experimental correlation as a potential field for nonpolar particles comprises of attraction and repulsion terms. Zohdi [8] proposed the idea of breaking all of the interactions between particles in a multiphase flow into four major forces, for example, thermal force, drag force, inter particle contact force, and near field force. He modeled the near field force with a linear combination of an attraction and repulsion components just as what is considered in the swarm model.

Nanofluids are used in many applications because of their specific characteristics. Their capability to enhance the heat transfer is one of those most obvious characteristics. Various kinds of nanoparticles used for these applications such as Al_{2}O_{3}, Fe_{3}O_{4}, and CuO. Increasing the heat transfer depends on the shape and the size of the particles and their volume fraction. Decreasing the size of the nanoparticles causes the conducting heat transfer coefficient to increase [9–13]. Maïga et al. [14] and Chandrasekar et al. [15] also investigated the effect of the host liquid on the heat transfer by comparing water-Al_{2}O_{3} and the Glycol-Al_{2}O_{3} nanofluids. Brownian motion of the particles and cluster formation in nanofluids are the major issues in the studies of nanofluids according to the important effect of their size on the heat transfer rate. Cluster formation causes the viscosity of nano fluid and thermal conductivity to change [16–19]. Although there have been some efforts in modeling the behavior of nanoparticles in nanofluids, no special research has been done to describe the cohesion and cluster formations of these particles analytically, and most of these works were numerical or experimental approach to this point.

This study proposes a model for cluster formation of the nanoparticles in nanofluids and discusses about their size according to the interparticle forces. Model is based on the swarm model, which enables us to make a better control on the cluster formation phenomenon by knowing the control variables of the system. In addition, this model can be used for analyzing the cohesiveness of nanorobot probes, as nanoparticles injected into the blood vessels [20]. By knowing the cluster size of the swarm set as well as the diameter of the vessel, one can easily compute the number of nano robot probes participating in the cohesion task.

#### 2. Swarm Model

A swarm system consists of members, with mass for each individual, who are placed in an -dimensional Euclidean space. The motion equation of each member of the swarm in the general form can be written as In this equation, denotes the attraction between member with member , and represents the repulsion between the pair and . Thus the dynamics of member depend on the resultant of attraction and repulsion forces between th and other members in the system. Since the attraction and repulsion forces behave like a spring, they are called spring shape forces. Therefore, (1) recalls some generalized form of a mass, spring, and damper oscillator. Coefficient can be assumed as a damper constant for such a system and is necessary for the stability of the system.

Now define a special class of such attraction and repulsion functions to convert (1) into Here and are the attraction and repulsion coefficients, respectively. and are some positive real numbers, and their values depend on the physics of the system which will be described in the following sections. In order to apply this equation for more real mechanical agents such as nanoparticles in nano fluid flows, it is necessary to define some appropriate attraction and repulsion functions well matched with the physics of the problem.

##### 2.1. Adding Diameter to Each Member

In order to induce dimension, or diameter, to the point-shaped members, we must conduct a strategy to inhibit particles to obtain same coordinates in space. In other words, they should not be overlap on each other. Therefore, it is necessary to define a repulsion function that prohibits the distance to be zero or even approaches to zero. Such a repulsion function is called unbounded repulsion [3]. Thus the degree of the repulsion function’s denominator, or pole, should be greater than one. Such a function can be defined as This condition inhibits particles to reduce their distance to zero. It can be extended to more general that we can introduce a function that inhibits members to be closer than a particular distance like . This is obtainable with just a modification in the above limit into the following limit: is the distance between the centers of two members or their diameter if they are spherical shaped particles. Therefore, the repulsion function is defined as follows: Thus, the value of in (2) will be equal to 2.

A long-range attraction function should be defined as well. Since the effects of long-rage attraction function are considerable through the long distances, this function should have direct ratio with the distance between each couple. On the other hand, in realistic swarm systems when two members become too far apart from one another, they lose and forget their effects. Therefore, a relative long-range attraction function should satisfy what follows: The infinity in above equation is a mathematical infinity. In other words, the physical infinity can be determined according to the application. For example, it can be assumed 100 times longer than the particle's diameter. By defining in which is the agent's diameter, so For obtaining this in mind, the basic model that indicates each agent should interact with all other agents. It will be modified into the case; each agent interacts with some agents in its neighborhood, which is according to the sensitivity of the agent for receiving the long-range attraction signals.

Therefore, the attraction function can be defined as and the value of in (2) will be equal to 1.

It is worth to mention that this attraction function is called relative attraction function for long-range relative to the repulsion function. According to (8), it not only has direct ratio with distance, but also has an inverse ratio with it. Nevertheless, this inverse ratio is in the first power. Thus, it can be concluded this attraction function is long range relative to the repulsion that has an inverse ratio with the second power of distance.

##### 2.2. Adding Environmental Effects

In common swarm models, the environmental effects are considered as well. These effects are modeled as a profile that can attract or repel members. In fact, this profile is considered as a simulation of nutrient that attracts member to itself or as a model of toxin, which repels members far apart. However, it can be interpreted in a more general case as a potential field exerting on each member from the environment. The motion of individuals will be through the opposite direction of the profile’s gradient.

In order to add this effect into our model, we considered a potential function like and rewrite (1) as follows: The ambient profile function can be interpreted in many kinds. In this paper, we use the plane profile as Then the equation of motion regarding the environmental effect will be Two simulation examples are provided in Figures 1 and 2. Consider the effect of the attraction and the repulsion coefficients in the convergence radius of the particles. In both cases the plane profile with is assumed.

#### 3. Dimensional Analysis

In order to analyze (1) and apply it for our special case, it is necessary to make a physical sense about each term in that equation. For simplicity and without losing the generality, assume the swarm system consists of just two members. Therefore, the sigma sign in (1) disappears, and we have Equation (12) is a nonlinear ordinary differential equation. Constants and can be determined according to our desire in choosing any kind of attraction and repulsion components.

It is time to apply physical properties of the system of nanoparticles in the nano fluid, which can be considered as nanorobot probes in the blood. The viscosity of blood is ten times higher than water, and we can claim that the effect of mass of each robot is negligible. To prove this claim, refer to experimental and more realistic approaches. Cavalcanti et al. [20] investigated in an experiment 10^{12} nanorobots with the total mass of just 0.2 gram in 5 lit bloods of a typical adult [21, 22].

Since, the ratio of inertia force to the viscous force is a dimensionless number called the Reynolds number, which is Here , , , and are the diameter of the particle, the density of the fluid, the average velocity of the flow, and the dynamic viscosity of the flow, respectively.

The velocity of the flow in a small blood vessel is assumed about 1 mm/s. The value for the density and viscosity of blood plasma is
According to the above values, the Reynolds number for a nanorobot with the diameter of 1 *μ*m is
For the case of water-Al_{2}O_{3}, nanofluids the Reynold’s number value is about . This Reynolds number indicates that the viscosity of the host liquid is at least higher than the mass of the particles.

Consider a dimensionless time as proposed in [23] A new derivative with respect to follows: Substituting above relations into (12) gives Dividing both sides by yields Now choose the value of in order to satisfy the following condition: An appropriate choice for can be .

So

This can be interpreted as expressing that the damping coefficient in (12), which is the viscosity of the fluid, is very strong, or the mass is very small. It exactly has the same meaning with the small Reynolds number, which was mentioned above.

In a precise sense define , such that Thus, (19) becomes The character is too small, so one can eliminate the right hand side as follows: The main question that naturally arises is that how much precise (24) can be and in what circumstances one can use it as a description of the system. To answer this question, we analyzed the behavior of (23) in the phase space. By defining a new parameter , (23) will be By defining, turns into By considering that the phase plane portraits this system and curve in this plane. This curve demonstrates the first-order system because the second equation in (26) equals to zero. We claim that the actual second-order system will converge to this curve as time progress. For proving, consider the actual curve starts from an distance bellow the curve . According to the second equation in (26), one has . Therefore, the curve suddenly jumps into , and as this region will be indistinguishable with .

From the above discussion, one can conclude that the system in (26) can behave like a first order system but after a time lag . Before this time lag, we are not allowed to eliminate the second-order derivative. In other words, the first order system behaves with a desired precision at . This is exactly what one expects from the system. Since, the desired property of this system is its convergence radius as time approaching to infinity.

Thus, according to above analysis on (26) in the phase space, we can claim that (23) can be reduced into (24) as follows: and in general form for many agents we have The convergence radius can be easily determined from (28). For example, for the repulsion and attraction functions which were introduced in (5) and (8), respectively, for the first order (28), Gazi and Passino [2] determined the maximum convergence radius is not greater than . This bound is for the swarm set whose agents have no diameter. In addition, this bound is independent to the number of the agents. To include the volume of each agent and the number of the agents participating in the cohesion task, one need to modify this bound. To yield this, consider swarm members, which are accumulating in 3-dimensional spaces. If all the agents stick together to form a cluster, the swarm volume size will be If all these agents converge to a sphere, the minimum radius of such a sphere can be determined easily by equaling the accumulated swarm volume and the volume of the sphere as follows: So the previous bound modifies to

#### 4. A Design Problem: Finding the Number of Participating Nanorobot Probes

Consider a group of nanorobots in a blood vessel cooperating for a special purpose that can be finding in some cancerous cells. According to experimental notes, 10^{12} robots are injected through the veins [20]. A typical adult has 5 lit bloods. Therefore, the density of nano robots becomes nanorobots/µm^{3}.

The maximum convergence radius for a swarm system with these attraction and repulsion functions in (5) and (8) for maintaining the density constant according to (31) is Therefore, the density of nanorobots is Equaling this formula with the experimental measured density [20] of cooperative nanorobots in blood vessels gives Considering 1 µm diameter for each agent follows Then the ratio of attraction and repulsion coefficients is One of the important aspects of maximum convergence radius in (31) is to determine the number of nanorobot agents, which can accumulate in a vessel with respect to the diameter of the vessel. For instance, suppose that the diameter of nanorobot cohesion cannot exceed a quarter of the diameter of the vein. Hence one can easily calculate the maximum number of robots participate in cohesion. Now assume the diameter of the vein is µm, then As we derived a reasonable ratio of attraction and repulsion constants for nano robots in blood, it yields It means that if the robot cohesion is forced to have a diameter less than a quarter of a vein diameter, the maximum numbers of agents that can participate in the cohesion are 1000 nanorobots.

This example could be converted into a design problem of micro channels if it asks the diameter of the vessel by giving the number of participating nanorobots.

#### 5. Conclusion

In this study we discussed about the behavior dynamics of nanoscale grains and particles moving in a host liquid. According to this model, the dynamics of each particle depend on the resultant forces between it and other particles in its neighborhood that are in the form of attraction and repulsion components. One of the most important results of this model was to derive a convergence radius for particulate clustering in nanofluids that is one of the most important phenomena in the field of the researches in micro- and nanofluids especially in the context of heat transfer.

#### Acknowledgments

The authors would like to thank Milad Rakhsha from Amirkabir University of Technology, Iran, for bringing some useful references in the field of nanofluidics. Also, thanks are to professor Michael Zavlanos from Duke University, NC, USA, for his helpful comments.