Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Could you please offer a python programming? ME 412 NUMERICAL THERMO-FLUID MECHANICS Python Project #1 Develop a computer program to determine the two-dimensional unsteady temperature
Could you please offer a python programming?
ME 412 NUMERICAL THERMO-FLUID MECHANICS Python Project #1 Develop a computer program to determine the two-dimensional unsteady temperature distribution in a complex domain of your choice (circle, ellipse, peanut shape, etc.) by solving the following partial- differential equation on a Cartesian grid: aT at where I is the temperature, / is the time, x and y are spatial coordinates. a is the thermal diffusivity and can be taken to be 1. The initial conditions are 100" temperature everywhere in the complex shape, and 300 outside the domain. Use a domain of 1 x 1 units, and a body dimension of 0.8 in the longest direction. Use an explicit finite difference equation with second-order central differencing of the spatial derivatives. Integrate the discrete equations in time until steady state is reached. Use a grid of 81 x 81 nodes and a time step (4/) equal or smaller than the following: At = 20 Axz Write a report describing the method, results and key conclusions. The report should include the following: A) The explicit finite difference equation with second-order central differencing of the spatial derivatives. B) Temperature contour plots at six time instances. ") Repeat part (A) with 41 x 41 and 21 x 21 grids and show the change in the solution as a function of grid spacing D) Temperature profiles along the vertical and horizontal centerlines at the same time instances as Part (A). E) Use a time step (41) slightly larger than the value from part (A) and repeat part (C)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started