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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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