Solving 2d heat problem using meshgrid
Mostra commenti meno recenti
I need guidance to solve a two-dimensional heat transfer problem, as it is clear in the figure, it is necessary to solve the temperature between the outer circle and the inner square using the meshgrid method in both steady state and transients. The desired number of mesh points is 10 points in both x and y directions. The side of the square is 8 cm long and the diameter of the circle is 10 cm. And I also want to use the meshgrid as a square and that the result will be a 3D plot. Can anyone guide me in this matter?

8 Commenti
William Rose
il 4 Feb 2024
An 8x8 square will not fit inside a diam=10 circle.
Please explain what have you tried so far. I assume you have received some guidance on what appears to be a homework problem.
One thing you will want to do is write a difference equation for how the temperature at each point evolves over time. Another thing you need to think about (which must have been speciffied in the homework) is boundary conditions in space and time (time meaning initial conditions).
Ali
il 4 Feb 2024
Torsten
il 4 Feb 2024
Regarding finding the temperature of each point, I was told that the temperature of each point of the mesh is the result of the average temperature of four points around it.
This is only true for a steady state calculation.
Ali
il 4 Feb 2024
Ali
il 4 Feb 2024
Torsten
il 4 Feb 2024
Sorry, but I've always solved such problems in a way that the grid matched with the domain boundaries. Maybe you were taught such an approximate method, but I don't know of such.
Ali
il 4 Feb 2024
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Heat Transfer in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
