Reference no: EM1378923
Consider a fluid bounded by two parallel plates extended to infinity such that no end effects are encountered. The walls and the fluid are initially at rest. The lower wall is suddenly accelerated in the x-direction. The coordinate system is such that the lower wall coincides with the xz-plane to which the y-axis is perpendicular. The spacing between the two plates is denoted by h.
The equation for this problem is
Wheren is the kinematic viscosity of the fluid. It is required to compute the velocity profile u = u(y,t). The problem has the following initial and boundary conditions
Initial Condition:
Boundary Condition:
The fluid has a kinematic viscosity of 0.000217 m2/s and h = 40 mm. Your solution should be run until t = 1.08 seconds. Various time steps are to be used to investigate the numerical schemes and the effect of the time step on stability and accuracy.
Write a code (or multiple codes) to solve this problem for the following schemes and conditions.
a) FTCS Explicit with time steps 0.002 and 0.00233 sec
c) FTCS Implicit with time steps 0.002 and 0.01 sec
If j = 1 at the lower surface and a step size of Dy = 0.001 m is used, then j at the upper surface will be 41. Note that n = 1 corresponds to t = 0.
For each case of each method, plot the velocity profile for four difference times on the same graph: 0.27 sec, 0.54 sec, 0.81sec and 1.08 sec. (You will have 4 plots in all, each with four curves.) Remember to use proper plotting techniques, including title, axis labels, units, legend, and legibility. Submit your plots in hardcopy, and a copy of your code both in hardcopy and electronically on Canvas.
Finding error in code sequence
: This code prints all elements of the array geo for, Describe what the problems are and how to fix them.
|
Explain and fix java code errors
: The code compiles properly, but when you run, you get the following output, Exception in thread "main" java.land.IndexoutBoundsException:
|
Fixing errors for java code
: The code compiles properly and runs, but result is not what you expected; output is similar to the following, Describe what the problem is how to fix it.
|
Programming frameworks besides asp.net
: Name three other web programming frameworks besides ASP.NET. Explain the ways that ASP.NET is different than other web programming frameworks.
|
Effect of the time step on stability and accuracy
: For each case of each method, plot the velocity profile for four difference times on the same graph - Write a code to solve this problem for the schemes and conditions.
|
Complete life cycle data management
: MS Excel is one of the most comprehensive environments for the compilation and interpretation of information. With its information structuring, analysis, and graphing capabilities.
|
Example of a business related report
: Recognize an example of a business related report created with MS Excel. Attach a sample of the report in an Microsoft Excel file.
|
Determine the output of the code sequenc
: Determine the output of this code sequence? The user successively enters 3, 5, and -1.
|
Calculation of the hypotenuse
: Construct a C# console application that calculate the hypotenuse of a right triangle. The calculation of the hypotenuse of a right triangle is based on the Pythagorean Theorem:
|