


PROBLEM Description
=======================================================================================================
/* This program works for one dimensional heat conduction problem with constant thermal conductivity*/
=======================================================================================================
# The length of the domain = 0.1 meter 
# Thermal conductivity = 0.1 watts per meter centigrade 
# cross sectional area of domain = 0.25 meter^2
Boundary Conditions:
# Temperature at extreme left = 100 centigrade
# Temperature at extreme right = 20  centigrade
# The Gauss-Jaccobi solver is the implemented solver to calculate the temperatures at the required number of nodes. The maximum number of iterations is defned to 100000 and the tolerance for Gauss-Jaccobi solver is 0.000001
========================================================================================================

Input:
-------------------------------------------------------------------------------------------
Input the number of nodes - (N) required for analysis (where N is any positive integer)
Input the number of threads -(ThreadNumber) to set the number of threads for compiling omp_1d_heat_diffussion.c OpenMP program
--------------------------------------------------------------------------------------------
Note: Minimum number of threads=2 and Maximum number of threads=16

===========================================================
 How to compile and run the program in linux platform:
===========================================================
 If its a GNU compiler:
$ gcc -lm -o omp1d -fopenmp omp_1d_heat_diffussion.c
 $ ./omp1d
------------------------------------------------------------------------
If its an intel compiler:
$ icc  -o omp1d -openmp omp_1d_heat_diffussion.c
 $ ./omp1d
 ========================================================================

Output:
On execution the results will be printed in "output1.dat" file
wherein all the temperature values are written along the length.
It prints the number of threads,number of iterations and the time 
taken for execution.This results in output1.dat file are validated
 with the standard Open source CFD s/w OpenFOAM temperature values in "Heat_1D.txt" file.
============================================================================




   



	   
