0% found this document useful (0 votes)
215 views

CFD Assignment 1

This document discusses solving several problems related to temperature distribution and convection using numerical methods like the BTCS and FTCS schemes. The problems involve Dirichlet, Neumann, and mixed boundary conditions on rods and walls. Accuracy of the numerical solutions is evaluated by comparing to analytical solutions and plotting error.

Uploaded by

Nitish Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
215 views

CFD Assignment 1

This document discusses solving several problems related to temperature distribution and convection using numerical methods like the BTCS and FTCS schemes. The problems involve Dirichlet, Neumann, and mixed boundary conditions on rods and walls. Accuracy of the numerical solutions is evaluated by comparing to analytical solutions and plotting error.

Uploaded by

Nitish Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

CFD Assignment 1

Problem 1 :- Temperature distribution in one dimensional rod Problem is solved using BTCS scheme by using TDMA algorithm (a) Dirichlet boundary condition on both ends

Nitish Kumar SC08B086

Comment :- (a) As we are increasing number of grid points, error increases at each grid points . This may be due to error accumulation for large grid points. (b) We observe from graph that at N=12 we get minimum error and we are not getting any advantage by increasing number of grid points, so for this problem N=12 is best grid resolution .

Analytical and numerical solution are plotted and linear variation of temperature is observed as expected with an error shown above.

(b) Dirichlet and Neumann boundary condition on left and right ends respectively Comment :- (a) As we are increasing number of grid points, maximum error increases. (b) Error for each N changes randomly.

Analytical and numerical solution are plotted and linear variation of temperature is observed as expected with an error shown above.

(c) Neumann boundary condition on both ends Since only flux value is given at the ends of rod, unique solution will not exists. Our solution will depend on initial value of temperature assumed at one end. If we assume temperature at starting end to be 283K, solution will be same as case(b).

Problem 2 :- Solution of 2nd order ODE (a) 1st order approximation of flux We observe that we get a large error whose variation is linear.

(a) 2nd order approximation of flux When we use 2nd order approximation, we observe that error reduces drastically and its variation is almost linear. Also analytical and numerical solution are plotted

Problem 3 :- Wall Temperature distribution (a) Diffusion Number d=0.4 (I) FTCS Scheme At time t=0.1hr to 0.5 hr, analytical and numerical solutions are plotted at an interval of 0.1hr. Also error for each time step is plotted.

(II) BTCS Scheme

(b) Diffusion Number d=0.6 (I) FTCS

(II) BTCS

Problem 4 :-Convection of Triangular wave comment

You might also like