Please do number 2 only. I don't understand the deference between 2 and 3 code.
Posted: Thu Jul 14, 2022 2:44 pm
Please do number 2 only. I don't understand the deferencebetween 2 and 3 code.
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.
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.