User:Navneetyadav28

Finite volume method (FVM) is a numerical method. FVM in cfd is used to solve partial differential equation which arises from the physical conservation law by using discretisation. Convection is always followed by diffusion and hence where convection is considered we have to consider combine effect of convection and diffusion. But in places where fluid flow plays a non-considerable role we can neglect the convective effect of the flow. In this case we have to consider more simplistic case of only diffusion. The general equation for steady convection-diffusion can be easily derived from the general transport equation for property $$\phi$$ by deleting transient.

General transport equation is defined as:

$$\frac{\partial \rho \phi }{\partial t} + \operatorname{div}(\rho \phi \upsilon) = \operatorname{div}(\Gamma \operatorname{grad} \phi) + S_\phi$$ …………………………………………….1

Where, $$\phi$$ is a conservative form of all fluid flow,

$$\rho$$ is density,

$$\operatorname{div}(\rho \phi \upsilon)$$ is a net rate of flow of $$\phi$$ out of fluid element represents convective term,

$$\frac{\partial \rho \phi }{\partial t} $$ is a transient term,

$$\operatorname{div}(\Gamma \operatorname{grad} \phi) $$ is a rate of change $$\phi$$  of due to diffusion,

$$ S_\phi$$ is a rate of increase of $$\phi$$ due to source.

Due to steady state condition transient term becomes zero and due to absence of convection convective term becomes zero, therefore steady state three- dimensional convection and diffusion equation becomes: $$\operatorname{div}(\Gamma \operatorname{grad} \phi) + S_\phi = 0 $$………………………………………………………….2

Therefore,

$$\frac{\partial}{\partial x}\left (\Gamma \frac{\partial \phi}{\partial x}\right )+\frac{\partial}{\partial y}\left (\Gamma \frac{\partial \phi}{\partial y}\right )+\frac{\partial}{\partial z}\left (\Gamma \frac{\partial \phi}{\partial z}\right )+S_\phi = 0 $$…………………………………………………………………….3

Flow should also satisfy continuity equation therefore,

$$\nabla \cdot (\rho \mathbf{u}) = 0$$ ………………………………………………………………………………………………………4

To solve the problem we will follow following general steps:

Grid formation: (shown in figure 1)

1. Divide the domain into discrete control volume.

2. Place the nodal point between end points defining the physical boundaries. Boundaries/ faces of the control volume are created mid- way between adjacent nodes.

3. Set up the control volume near the edge of domain such that physical as well as control volume boundaries will coincide with each other.

4. Considering a general nodal point P accompanied by six neighboring nodal point ‘E’ (which represent east), ‘W’ (which represent west), ‘N’ (which represent north), ‘S’ (which represent south), ‘T’ (which represent Top), ‘B’ (which represent bottom). In the considered control volume east side face is referred by ‘e’, west side face is referred by ‘w’, north side face is referred by ‘n’, south side face is referred by ‘s’, top side face is referred by ‘t’, bottom side face is referred by ‘b’.