Please do number 2 only. I don't understand the deference between 2 and 3 code.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Please do number 2 only. I don't understand the deference between 2 and 3 code.

Post by answerhappygod »

Please do number 2 only. I don't understand the deferencebetween 2 and 3 code.
Please Do Number 2 Only I Don T Understand The Deference Between 2 And 3 Code 1
Please Do Number 2 Only I Don T Understand The Deference Between 2 And 3 Code 1 (81.67 KiB) Viewed 38 times
Model a 2D steady state square plate with a thermal conductivity of k=50mKW​ and a height and width of 10 cm. The wall boundary conditions are all prescribed temperature boundary conditions. Top Wall - 800K Prescribed Temperature Left Wall - 500x Prescribed Temperature Right Wall - 500K Prescribed Temperature Bottom Wall - 500K Prescribed Temperature 1) Use the 2D steady state analytical solution in equation 4.19 of your textbook and plot the temperature distribution for the plate. Title this plot "Analytical Solution". Use a contour plot and label your contour lines. 2) Then create a 4×4 grid and use the Finite Difference Method (FDM) to plot the temperature distribution for th plate. Title this plot "4x4 Grid Finite Difference Solution". Use a contour plot and label your contour lines. 3) Then create a 100×100 grid and use the Finite Difference Method (FDM) to plot the temperature distribution for the plate. Title this plot "100x100 Grid Finite Difference Solution". Use a contour plot and label your contour lines. 4) In addition to providing the three plots, submit the code that was used for each. 5) Do your two solutions match? Choose 3 points on your grid and compare. Put the temp values in the table shown below: And compare your FDM temps with corresponding analytical solution temperatures. L.e. determine error as a percentage using analytical as the true solution: Error %= Analytical ∣Analytical−FDM∣​ Is there a difference in the FDM errors based on grid size? Explain why or why not.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply