I ask this question before. Now giving the updates on the question about discretization problem

maggiegold

New member
Joined
Jan 23, 2021
Messages
5
Older post reference:


I am given this question- I'm stuck with using programming to solve discretion problems

For Question 1a), I am given that

The governing equation for the temperature distribution with time on a 2D square plate measuring 1 unit by1 unit is

∂T/∂t = ∂2T/∂x2 + ∂2T/∂y2 ,

subjected to the Dirichlet boundary conditions for T provided in Fig.1.

I am supposed to obtain the temperature contour plot on the square plate with time, say at t=0.01, 0.1 and at steady state.

For Question 1b), I am given that

∂2T/∂x2 + ∂2T/∂y2 = 0,


Question Requirement:

Question 1a) Express Tij @ t+1 = F(Ti+1,j, Ti-1,j, Ti,j+1, Ti,j-1 at t explicitly, then advance in time

Question 1b)

Suppose, there is no t variable, now what? Make a guess!

Ideally: F(Ti,j, Ti+1,j , Ti-1,j, Ti,j+1, Ti,j-1)=0

With guessed values: F(Ti,j, Ti+1,j , Ti-1,j, Ti,j+1, Ti,j-1)= err(/=0)

Objective is to reduce error as much as possible

Requirements

Write down discretized equations(interior, boundary)- explicit, implicit?

Specify what algorithms are used and how to program?

1612455080912.png
 

Attachments

  • 1612455059774.png
    1612455059774.png
    116.3 KB · Views: 0
Last edited by a moderator:
I am given this question- I'm stuck with using programming to solve discretion problems

For Question 1a), I am given that

The governing equation for the temperature distribution with time on a 2D square plate measuring 1 unit by1 unit is

∂T/∂t = ∂2T/∂x2 + ∂2T/∂y2 ,

subjected to the Dirichlet boundary conditions for T provided in Fig.1.

I am supposed to obtain the temperature contour plot on the square plate with time, say at t=0.01, 0.1 and at steady state.

For Question 1b), I am given that

∂2T/∂x2 + ∂2T/∂y2 = 0,


Question Requirement:

Question 1a) Express Tij @ t+1 = F(Ti+1,j, Ti-1,j, Ti,j+1, Ti,j-1 at t explicitly, then advance in time

Question 1b)

Suppose, there is no t variable, now what? Make a guess!

Ideally: F(Ti,j, Ti+1,j , Ti-1,j, Ti,j+1, Ti,j-1)=0

With guessed values: F(Ti,j, Ti+1,j , Ti-1,j, Ti,j+1, Ti,j-1)= err(/=0)

Objective is to reduce error as much as possible

Requirements

Write down discretized equations(interior, boundary)- explicit, implicit?

Specify what algorithms are used and how to program?

View attachment 24899
Please show us what you have tried and exactly where you are stuck.

Please follow the rules of posting in this forum, as enunciated at:


Please share your work/thoughts about this problem.
 
I am stuck at the first step. Don't know where to start. We are supposed to write the code to derive the temperature contour plot. I need some pointers to start.
 
I am stuck at the first step. Don't know where to start. We are supposed to write the code to derive the temperature contour plot. I need some pointers to start.
Since you are stuck at the beginning and do not know where to begin, let us make sure - we have common understanding about definitions.

Please define for us - Dirichlet boundary conditions?

How is that mathematically expressed for the given problem?
 
Top