CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

2D diffusion equation using FVM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2020, 07:25
Post 2D diffusion equation using FVM
  #1
New Member
 
Mudit Mehta
Join Date: Mar 2020
Posts: 15
Rep Power: 6
Mudit2208 is on a distinguished road
Hey, i am working on an assignment problem:
Consider a two-dimensional rectangular plate of dimension L = 1 m in the x direction and H = 2 m in the y direction. The plate material has constant thermal conductivity. The steady-state temperature distribution within this plate is to be determined for the following imposed boundary conditions: (i) y = 0, T = 100 ̊C, (ii) x = 0, T = 0 ̊C, (iii) y = H, T = 0 ̊C, and (iv) x = L, T = 0 ̊C. Choose a uniform grid size of 0.05 m in both directions. Solve the problem using the point-by-point Gauss-Seidel iterative method. Experiment with the
initial guess and comment on the number of iterations required for convergence in each case. Clearly explain your convergence criterion for the iterations and how it is implemented. Plot the temperature contours as the output.

I have solved this question in python and i am getting following results:
When initial guess = 0, No of iterations = 350
Now when i am taking initial guess less than 10 i get less no. of iterations but when i take initial guess to be larger than 10 i get larger number of iterations.
Can anyone explain. Please it is very urgent and important.
Mudit2208 is offline   Reply With Quote

Old   March 24, 2024, 04:05
Default
  #2
New Member
 
Join Date: Mar 2024
Posts: 1
Rep Power: 0
Kunsoth Swetha is on a distinguished road
Please show the code
Kunsoth Swetha is offline   Reply With Quote

Old   March 24, 2024, 05:16
Default
  #3
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 546
Rep Power: 15
Simbelmynė is on a distinguished road
1. The initial condition dictates how close you are to your steady-state solution. A closer guess naturally leads to fewer iterations needed.

2. The number of nodes/cells dictates how fast the information propagates in the domain.

1 and 2 are directly connected to the number of iterations needed.
Simbelmynė is offline   Reply With Quote

Reply

Tags
2d diffusion equation, cfd, python


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Differencing schemes for equation with no diffusion lorbekl Main CFD Forum 3 October 12, 2018 14:29
error message cuteapathy CFX 14 March 20, 2012 06:45
Estimate convection and diffusion terms in transport equation Lance CFX 0 April 4, 2011 11:16
FVM discretization of diffusion term on crvlnr gr Michail Main CFD Forum 3 March 14, 2008 06:52
help for 2D numerical sol of diffusion equation yannoush Main CFD Forum 0 August 28, 2003 03:40


All times are GMT -4. The time now is 17:59.