




	   

PROBLEM Description
=======================================================================================================
/* This is a serial program which solves three dimensional heat equation using  Alternating Direction Implicit (ADI) */
/* The domain is a cube and length, width and height is to put by the user on prompt and the grid is generated by dividing it along X Y and Z direction, 
which the user should put on prompt*/ 

=======================================================================================================




# Input the length of the domain along X direction 
# Input the length of the domain along Y direction  
# Input the length of the domain along Z direction 

To form the grid :
#Input the division between two consecutive points along  X direction 
#then  Input the division between two consecutive points in Y direction 
#Input the division between wo consecutive points in Z direction



# alpha = 0.00001165

Initial Temperature =0 centigrade
Boundary Condition:
# Temperature at left =  80 Degree Centigrade
# Temperature at Rightt =  20 Degree Centigrade
# Temperature at Bottom =  30 Degree Centigrade
# Temperature at Top =  60 Degree Centigrade
# Temperature at Rear =  20 Degree Centigrade
# Temperature at front =  70 Degree Centigrade

 

========================================================================================================



 How to compile and run the program:
========================================
There are two ways to execute the code:

On a linux platform of Red Hat the following command needs to be typed on the terminal:

 If its a GNU compiler:
$ gcc  -o adi adi3d.c

 $ ./adi

--------------------------------------
If its a Intel compiler:
$ icc  -o adi adi3d.c


 $ ./adi
 
========================================================================

Output:

On execution the temperatures at all the nodal points in the grid. 

============================================================================


   



	   
