What are the boundary conditions for this system

Assignment Help Computer Engineering
Reference no: EM131097998

E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 12

1. Solving the steady-state heat equation

The steadystate_heat.py code on the course website solves the steady-state heat equation with given boundary conditions that we defined in class.

a. Please add comments to the program to summarize how it works. In particular:

  • What are the BOUNDARY_* variables doing?
  • How are they related to the boundaries array?
  • What does scipy.sparse.lil_matrix do?
  • What are the neighbor_deltas for?
  • How the heck does the vectorized building code work?
  • What does the line A = A.tocsr() do?

b. For what values of n is it advantageous to compute the 'dense' solution as opposed to the 'sparse' one? Is there any problem size for which the 'loop' building method outperforms the 'vectorized' one? Why is the sparse solver so much faster for large n?

2. Transient heat equation

The transient_heat.py code on the course website solves the transient (time-varying) heat equation.

a. Based upon the code, what are the boundary conditions for this system? What temperature are we assuming (either implicitly or explicitly) lies along the border of the plate?

b. Play with the simulation. At which value of α does the forward Euler solver blow up with the default value of n = 64?

c. Can you make the backward solver blow up?

d. Explain how modifying n (by editing the code) affects the behavior of the forward solver. Does the it get more or less stable (in terms of the maxmimum allowable value of α) as n increases?

Attachment:- Assignment.rar

Reference no: EM131097998

Questions Cloud

Social networking users create the life : Read the following article: Opinion: Farewell to Facebook's false reality by Jessa Haines. Thanks to social networking, much of a person's life is now scripted and manufactured. Many social networking users create the life they wish they had, not ..
Denominator of the standard error formula : The quantity of the sample size has a significant influence on the standard error. Since n is the denominator of the standard error formula, as n increases, the standard error increases. The more data that you have, the more accurate you can be.
Analyze how your thinking has changed : Analyze how your thinking has changed with regard to ethical practice - Which ethical or professional situations did you encounter in which your original viewpoint changed?
Evidence to support the shop claim : A repair shop believes that people travel more than 3500 miles between oil changes. A random sample of 8 cars getting an oil change has a mean distance of 3375 miles since having an oil change with a standard deviation of 225 miles. At alpha = 0.0..
What are the boundary conditions for this system : E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 12. Based upon the code, what are the boundary conditions for this system? What temperature are we assuming (either implicitly or explicitly) lies along the border of the pl..
Commenting on the validity of the reasoning : Consider the following scenarios, commenting on the validity of the reasoning that is being used. After an unusually dry autumn, a radio announcer is heard to say, "Watch out! We'll pay for these sunny days later on this winter." A batter who had ..
Produce female puppies : A geneticist conducts her survey and calculates hat p = 0.512. Which of the following is the most correct interpretation of this statistic? a) There is a 51.2% chance that a randomly selected gamete cell will have the male chromosome.
Four model of relationship between religion and science : Four Philosophy question that I need to be answered in paragraph style. I need them in 4 Hours
Demands in excess of initial stock : What is the expected shortfall at the end of the week? That is, what is the expected number of demands in excess of the initial stock?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Scripts_new directory and dir.txt file

Write down the following folder structure on C: drive of your computer: Scripts_New, Networking, User.

  Find out what tasks are assigned to each phase

A project includes Analysis, Definition, Design, Implementation, Maintenance, and Support phases. How do we determine what tasks are assigned to each phase.

  Define the ietf approach achieved ascendancy

express advantages/disadvantages of open vs. proprietary approaches to developing Internet protocol standards.

  Why this is basically a disaster recovery plan

How would you approach a backup and administration plan for the hypothetical situation described below. contain  any network administration systems that should be installed for remote access in the event of a network emergency. This is basically a..

  Access time and cache miss

Explain the access time when there is a cache miss? Suppose that the cache waits till the line has been fetched from the main memory and then re-executes for a hit.

  1 express the following numbers in cartesian rectangular

1. express the following numbers in cartesian rectangular form.2. express the following numbers in polar form. describe

  Describe the readability and usefulness of the online user

question 1 discuss the readability and usefulness of the online user manual that you have researched. identify its

  Comprise an assessment of how the internet or any other

write a 1400- to 1750-word paper that discusses future trends in health care.include an assessment of how the internet

  Given a line segment with endpoints 2 5 and 9 15 provide

given a line segment with endpoints 2. 5 and 9 15 provide the equation for that line segment using a parameterized

  Create a patient class for the wrightstown hospital billing

Create a Patient class for the Wrightstown Hospital Billing Department. Include a patient ID number, name, age, and amount due to the hospital. Include properties and any other methods you need. Override the ToString() method to return all the det..

  Based on the textbooks summary of timothys philosophy of

write a four to six page paper in which youbased on the textbooks summary of timothys philosophy of continually

  Overview of company and client business case

What is your companys expertise and Ensure that the expertise matches the skill sets required for the business case you have chosen - Overview of Company and Client Business Case

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd